We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d46d3 commit 9d4aeadCopy full SHA for 9d4aead
osfv_cli/monitoring/zabbix/flash_probe.sh
@@ -6,12 +6,12 @@ input_file="macros.txt"
6
7
output_pass="output_pass.txt"
8
output_fail="output_fail.txt"
9
-output_used="output_used.txt"
+#output_used="output_used.txt"
10
stolen="stolen.txt"
11
12
> "$output_pass"
13
> "$output_fail"
14
-# "$output_used" TODO, flash it again to make sure (around 5% fails for no reason)
+
15
16
check_snipeit() {
17
ip=$1
@@ -41,7 +41,7 @@ probe_flash() {
41
while IFS= read -r ip || [ -n "$ip" ]; do
42
if check_snipeit "$ip"; then
43
echo "$ip found in snipeit list_used"
44
- echo "$ip" >> "$output_used"
+# echo "$ip" >> "$output_used"
45
else
46
echo "$ip not found in snipeit list_used, probing flash..."
47
probe_flash "$ip"
0 commit comments