check_snmp - Cannot create temporary filename
Posted: Tue Nov 29, 2011 8:44 pm
Recently I upgraded to nagios-plugins 1.4.15 on my test box. I wanted to do this so I could try out the new options for check_snmp --rate and --rate-multiplier.
When I execute the command from the CLI (as root) it seems to work as expected:
When I add a service that executes the same command I get an Unknown status with Cannot create temporary filename.
If I create an identical check without the --rate --rate-multiplier=60 arguments the command works fine.
When I execute the command from the CLI (as root) it seems to work as expected:
Code: Select all
[root@VAULT23 libexec]# ./check_snmp -H 192.168.105.2 -o .1.3.6.1.4.1.8741.1.3.1.3.0 -C public -P 2c -l "" -u % --rate --rate-multiplier=60
SNMP RATE OK - 120082962.6 % | =120082962.6If I create an identical check without the --rate --rate-multiplier=60 arguments the command works fine.