Nagios: Return code of 13 is out of bounds
Your check_iftraffic plugin works fine from commandline, but fails if nagios runs the check.
Surely you ran the plugin in commandline before defining a serviceobject. If you do so, a tmp file is created in /tmp/check_ifx_ip with owner root. Of course nagios can’t update this file because of bad ownerships.
Solution: Delete the /tmp/check_ifX_IP file and Nagios will check normally.
Categories: it