Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
Marte88
byMarte88, October 13, 2010
There is a little mistake in line 18.
You can read:
elif [ $comm -eq 0 ]; then
but it must be:
elif [ $comm -eq 2 ]; then
You have to replace 0 for 2 because the answer of snmpwalk when one ethernet interface shows down is 2 not 0.
the value 0 is only for unreachable ethernet interface.
Anyway it's a good plugin.
You can read:
elif [ $comm -eq 0 ]; then
but it must be:
elif [ $comm -eq 2 ]; then
You have to replace 0 for 2 because the answer of snmpwalk when one ethernet interface shows down is 2 not 0.
the value 0 is only for unreachable ethernet interface.
Anyway it's a good plugin.