Page 1 of 1

check_disk_snmp.pl Problem

Posted: Tue Jun 16, 2020 5:38 pm
by Goobertek
Tried getting this to work with several combinations and syntax. Can't get it to work:

Command.cfg:

define command{
command_name check_disk_snmp
command_line $USER1$/check_disk_snmp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG$
}

The Device.cfg:

define service{
use generic-service
host_name Pi My Life Up Host
service_description Disk_Check
check_command check_disk_snmp!192.168.1.209!90!80!161!mycommunity!phys

}
I have also tried "c" instead of "phys"


Results are always the same:

(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_disk_snmp, ...) failed. errno is 2: No such file or directory


Does anyone have advice? snmp is active on the windows 10 PC I am checking and the community is set to mycommunity.

Help :-)

Rob