When I try to use check_snmp from NAGIOS it shows
sh: /usr/local/nagios/libexec/check_snmp: Nie ma takiego pliku ani katalogu
Warning: Return code of 127 for check of service 'Port 1 Link Status' on host 'pentagram' was out of bounds. Make sure the plugin you're trying to run actually exists.
But in this directory
-rwxrwxrwx 1 nagios nagios 90888 kwi 30 19:29 check_smtp
I was able to use command from console and it worked.
time /usr/local/nagios/libexec/check_snmp -H 192.168.1.1 -o DISMAN-EVENT-MIB::sysUpTimeInstance -C
So what's wrong?