Search found 8 matches

by Justin2501
Fri Mar 18, 2016 8:54 am
Forum: Open Source Nagios Projects
Topic: Error while running plugin
Replies: 9
Views: 2993

Re: Error while running plugin

Maybe you could try running the script without any arguments? /usr/local/nagios/libexec/check-cisco.pl or /usr/local/nagios/libexec/check_cisco.pl Or if that fails try: strace /usr/local/nagios/libexec/check-cisco.pl or strace /usr/local/nagios/libexec/check_cisco.pl And post that output Run the co...
by Justin2501
Fri Mar 18, 2016 7:31 am
Forum: Open Source Nagios Projects
Topic: Error while running plugin
Replies: 9
Views: 2993

Re: Error while running plugin

rhassing wrote:And on the command line?
Both check-cisco.pl and check_cisco.pl are giving me the error ": No such file or directory" after pressing enter.
Seems like it's referring to a folder, which does not exist.
by Justin2501
Fri Mar 18, 2016 7:00 am
Forum: Open Source Nagios Projects
Topic: Error while running plugin
Replies: 9
Views: 2993

Re: Error while running plugin

On CLI the following error appears when i run "./check-cisco.pl -H xx.xx.xx.xx -C public -t fan" : No such file or directory Maybe you should try a _ instead of - "./check_cisco.pl -H xx.xx.xx.xx -C public -t fan" Tried both, because i added them with - and _ Original is - Still...
by Justin2501
Fri Mar 18, 2016 6:30 am
Forum: Open Source Nagios Projects
Topic: Error while running plugin
Replies: 9
Views: 2993

Re: Error while running plugin

rhassing wrote:What are the permissions on the file?

Code: Select all

ls -l

Code: Select all

-rwxr-xr-x  1 nagios nagios  14327 Mar 18 11:43 check_cisco.pl
by Justin2501
Fri Mar 18, 2016 6:15 am
Forum: Open Source Nagios Projects
Topic: Error while running plugin
Replies: 9
Views: 2993

Error while running plugin

Hi Guys, I'm currently having an issue with one of my plugins. Nagios states the following: (Return code of 127 is out of bounds - plugin may be missing) On CLI the following error appears when i run "./check-cisco.pl -H xx.xx.xx.xx -C public -t fan" : No such file or directory Running &qu...
by Justin2501
Wed Mar 16, 2016 8:57 am
Forum: Open Source Nagios Projects
Topic: No output on stdout
Replies: 4
Views: 5807

Re: No output on stdout

Hmm, i think i fixed it while trying out some stuff. Downloaded the newest version of check_esxi_hardware http://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.php#Download And installed the following python packages yum install pywbem python-setuptools After that i reloaded nagios and n...
by Justin2501
Wed Mar 16, 2016 2:35 am
Forum: Open Source Nagios Projects
Topic: No output on stdout
Replies: 4
Views: 5807

Re: No output on stdout

What are the permissions on these files? From the CLI, run ls -la /usr/local/nagios/libexec/check_esxi_hardware* and post back the result. I've run the command: [root@nagios ~]# ls -la /usr/local/nagios/libexec/check_esxi_hardware* -rwxr-xr-x 1 nagios nagios 30735 Mar 12 2013 /usr/local/nagios/libe...
by Justin2501
Tue Mar 15, 2016 9:05 am
Forum: Open Source Nagios Projects
Topic: No output on stdout
Replies: 4
Views: 5807

No output on stdout

Hi there, I just migrated from CentOS 5.4 with FAN (Nagios + Centreon) to CentOS 7 with Nagios Core 4.1.1 On the old version, I had a ESXI Hardware check script, but sadly enough it's not working on the new host. I keep receiving the following error in Nagios: (No output on stdout) stderr: Traceback...