Summary: | check_nagios plugin not working | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | yogeshbug <yogaishrs> |
Component: | Current packages | Assignee: | Lance Albertson (RETIRED) <ramereth> |
Status: | RESOLVED INVALID | ||
Severity: | critical | CC: | eldad, martin.adler |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
yogeshbug
2006-03-20 03:30:46 UTC
I have just upgraded to nagios-plugins-1.4.2-r1 and I have this in my config file and it works just fine: nagios_check_command=/usr/nagios/libexec/check_nagios /var/nagios/status.dat 5 '/usr/nagios/bin/nagios' and when I run it from the command line its all ok for me: (root)# /usr/nagios/libexec/check_nagios /var/nagios/status.dat 5 /usr/nagios/bin/nagios' Nagios problem: located 10 processes, status log updated 1143543947 seconds ago If anything, the bug should be the displaying of a unix time stamp instead of human readable time i.e. 1143543989 = Tuesday, March 28th 2006, 11:06:29 I downloaded latest nagios plugins from CVS repository , compiled it and then ran same command. # /usr/nagios/libexec/check_nagios /var/nagios/status.dat 5 '/usr/nagios/bin/nagios' I got below output. NAGIOS OK: 3 processes, status log updated 0 seconds ago This is proper ouput I am expecting in current nagios plugins-1.4.2-r1 when I run check_nagios. This has nothing to do with the plugin. Had the same issue after upgrading but it was a configuration problem. I wiped my entire config (which was not to big, I admit) and after going through a new setup, it worked fine. So I think this is just a configuration issue. Seems like it was a configuration issue. Reopen if thats not the issue. |