BHOD - Nagios Plugin returns null
Hello, I'm lost and need some help, I stumbled upon the site, hope you can help
Running a check command for our my account app Code:
define service{ Code:
define command{ Code:
#!/usr/bin/env ruby sh-3.2$ /usr/lib64/nagios/plugins/check_myaccount ccc@yyy.none password 15 20 TIME OK - 2.43 | time=2.43 but nagios returns (null) Please help |
What OS is nagios installed on?
How did nagios get installed? Package Manager, or source code using Code:
./configure && make && make install You provided a ruby script that seems to wrap up the nagios check_ command but you aren't telling us where, or how you use it. Please let us know... |
This was installed on a CentOS 5.8 we had an original build of 3.0 but was upgraded via yum when this started.
As for the nagios versions installed: Code:
nagios-plugins-1.4.16-1.el5.rf Code:
/usr/lib64/nagios/plugins/check_myaccount <user> <password> <time warning> <time critcal> |
Checking other local plugins - appears to not be parsing local arguments - I've had debug on checking on another similar issue and noticed the following
these are both Ruby derived nagios plugins. Code:
[1352762845.038683] [2320.2] [pid=31182] Expanded Command Output: /usr/lib64/nagios/plugins/check_imem_temp -area $ARG1$ -warn $ARG2$ -critical $ARG3$ |
All times are GMT -5. The time now is 08:18 AM. |