Plugin Issue - Cisco Switch
Posted: Tue Sep 25, 2018 7:54 am
Hi:
I am attempting to run a plugin called check_cisco_switch.pl. When I run it from the command line either as root or nagios it works without an issue:
[nagios@emssvr libexec]$ ./check_cisco_switch.pl -H <Hostname> -C <value> -t cpu
Cpu: CRIT - Cpu Load 99% 62% 50% | cpu_5s=99percent;0;0 cpu_1m=62percent cpu_5m=50percent
When run from the interface I get:
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_cisco_switch, ...) failed. errno is 2: No such file or directory
I have never seen this issue before and I haven't had my morning coffee but I am drawing a blank. Thanks!
I am attempting to run a plugin called check_cisco_switch.pl. When I run it from the command line either as root or nagios it works without an issue:
[nagios@emssvr libexec]$ ./check_cisco_switch.pl -H <Hostname> -C <value> -t cpu
Cpu: CRIT - Cpu Load 99% 62% 50% | cpu_5s=99percent;0;0 cpu_1m=62percent cpu_5m=50percent
When run from the interface I get:
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_cisco_switch, ...) failed. errno is 2: No such file or directory
I have never seen this issue before and I haven't had my morning coffee but I am drawing a blank. Thanks!