Code: Select all
nagios@ubuntu:/usr/local/nagios/libexec$ ./check_ping -H 172.16.96.65 -w 80,10% -c 100,20% -p 4
PING OK - Packet loss = 0%, RTA = 3.33 ms|rta=3.326000ms;80.000000;100.000000;0.000000 pl=0%;10;20;0
CRITICAL - Packet Filtered (192.168.1.65)
I can execute check_snmp on the CLI targeting machines which I've configured SNMP on and that works fine:
Code: Select all
nagios@ubuntu:/usr/local/nagios/libexec$ ./check_snmp -H 172.16.96.65 -o sysUpTime.0
SNMP OK - Timeticks: (378560625) 43 days, 19:33:26.25 |
External command error: Timeout: No Response from 192.168.1.65:161.
I have tried recreating the users and recompiling nagios since I figured this might be a user permissions issue for the nagios user. That did not help, though. I've looked all over google but could not find anyone else with the same problem. Usually, when it works on the command line interface, it works on the web browser interface. Does anyone have any ideas?