Skip to content

Commit 9d4aead

Browse files
committed
osfv_cli/monitoring/zabbix: script cleanup
Signed-off-by: Dawid Lesiak <[email protected]>
1 parent 74d46d3 commit 9d4aead

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

osfv_cli/monitoring/zabbix/flash_probe.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ input_file="macros.txt"
66

77
output_pass="output_pass.txt"
88
output_fail="output_fail.txt"
9-
output_used="output_used.txt"
9+
#output_used="output_used.txt"
1010
stolen="stolen.txt"
1111

1212
> "$output_pass"
1313
> "$output_fail"
14-
# "$output_used" TODO, flash it again to make sure (around 5% fails for no reason)
14+
1515

1616
check_snipeit() {
1717
ip=$1
@@ -41,7 +41,7 @@ probe_flash() {
4141
while IFS= read -r ip || [ -n "$ip" ]; do
4242
if check_snipeit "$ip"; then
4343
echo "$ip found in snipeit list_used"
44-
echo "$ip" >> "$output_used"
44+
# echo "$ip" >> "$output_used"
4545
else
4646
echo "$ip not found in snipeit list_used, probing flash..."
4747
probe_flash "$ip"

0 commit comments

Comments
 (0)