# Give the actual check result
if [ $comm -eq 1 ]; then
echo "OK - Interface $ifacename is up."
exit $STATE_OK
elif [ $comm -eq 2 ]; then
echo "CRITICAL - Interface $ifacename is down"
exit $STATE_CRITICAL
else
# Give the actual check result
if [ $comm -eq 1 ]; then
echo "OK - Interface $ifacename is up."
exit $STATE_OK
elif [ $comm -eq 2 ]; then
echo "CRITICAL - Interface $ifacename is down"
exit $STATE_CRITICAL
fi
it works fine. I hope jomann kann help a very last time .
Just verified this, and patched internally. I will check if there is anything else before a new one is put out.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.