Skip to content

Instantly share code, notes, and snippets.

@davidc
davidc / check_mikrotik_sw_fw.patch
Created September 19, 2019 20:40
check_mikrotik_sw_fw updates
# diff -u check_mikrotik_sw_fw check_mikrotik_sw_fw.new
--- check_mikrotik_sw_fw 2019-09-05 16:12:12.843534466 +0200
+++ check_mikrotik_sw_fw.new 2019-09-19 22:38:11.560855856 +0200
@@ -24,8 +24,19 @@
;;
esac
done
-FW=$(snmpwalk -Ov -On -Oq -Cc -c $COMMUNITY -v $VERSION $HOST .1.3.6.1.4.1.14988.1.1.7.4.0)
-SW=$(snmpwalk -Ov -On -Oq -Cc -c $COMMUNITY -v $VERSION $HOST .1.3.6.1.4.1.14988.1.1.4.4.0)
+