BIGdiff
Problem this snippet solves: This is a bash script to help when doing changes to F5 devices. The script will collect the status of the objects before and after the change, compare them and produce ...
Published Aug 16, 2018
Version 1.0Leonardo_Souza
Cirrocumulus
Joined August 01, 2012
Leonardo_Souza
Cirrocumulus
Joined August 01, 2012
jaikumar_f5
Aug 28, 2018MVP
Hi Leo,
Was testing this on couple of servers, noticed when there is no SNMP community strings configured, the error that should be captured is e_no_snmp_community(4), but the error getting capture is e_running_snmpwalk(5).
Because irrespective of get_snmp_community() success or not, run_snmpwalk() is getting always triggered. Then "Failure to run snmpwalk" error is coming up.
Would you want to update it to get "There is no SNMP community setup" when there's no SNMP community configured and stop further processing.