Search found 21 matches
- Tue Oct 03, 2017 3:27 am
- Forum: Open Source Nagios Projects
- Topic: The status page sometimes doesn't show any services
- Replies: 1
- Views: 850
The status page sometimes doesn't show any services
I've suddenly started seeing a strange problem with a Nagios setup that's been running fine for months. I have a Nagios 4.3.4 setup on Ubuntu 16.04 with about 50 hosts and 500 services. If I open the status page status.cgi, it usually lists all 500 services, but if I refresh that page, it will somet...
- Tue Oct 14, 2014 7:20 am
- Forum: Open Source Nagios Projects
- Topic: Using CheckCounter to get PerfMon metrics always zero
- Replies: 2
- Views: 1783
Re: Using CheckCounter to get PerfMon metrics always zero
Hmm. I just tried with NSClient++ version 0.4.2.93, and I now get an actual error: [root@localhost libexec]# ./check_nrpe -H servername -c CheckCounter -a "Counter:con=\\Web Service(_total)\\Total Method Requests/sec" ShowAll Failed to poll counter: con Failed to poll counter \Web Service(...
- Tue Oct 14, 2014 7:12 am
- Forum: Open Source Nagios Projects
- Topic: Using CheckCounter to get PerfMon metrics always zero
- Replies: 2
- Views: 1783
Using CheckCounter to get PerfMon metrics always zero
I'm trying to get Nagios to monitor some perfmon counters, and am having a problem getting non-zero values out of it in some cases. My first requirement was for IIS Current Connections, which was pretty straight forward and works as I hoped: [root@localhost libexec]# ./check_nrpe -H servername -c Ch...
- Fri Oct 10, 2014 3:10 am
- Forum: Open Source Nagios Projects
- Topic: Simple wrapper plugin gets "return code of 127" error
- Replies: 11
- Views: 10847
Re: Simple wrapper plugin gets "return code of 127" error
I did mention it was an error from an actual 'live' alert.
The CCM write and verify all report no warnings or errors.
The CCM write and verify all report no warnings or errors.
- Wed Oct 08, 2014 9:58 am
- Forum: Open Source Nagios Projects
- Topic: Simple wrapper plugin gets "return code of 127" error
- Replies: 11
- Views: 10847
Re: Simple wrapper plugin gets "return code of 127" error
Looks okay: [root@localhost libexec]# su - nagios [nagios@localhost ~]$ cd /usr/local/nagios/libexec/ [nagios@localhost libexec]$ ./check_user_lockout -w 10 -c 30 HTTP OK - HTTP/1.1 302 Found - 9.697 second response time |time=9.696582s;10.000000;30.000000;0.000000 size=960B;;;0 [nagios@localhost li...
- Wed Oct 08, 2014 4:06 am
- Forum: Open Source Nagios Projects
- Topic: Simple wrapper plugin gets "return code of 127" error
- Replies: 11
- Views: 10847
Re: Simple wrapper plugin gets "return code of 127" error
All the files in the libexec directory are root:root and permissions are -rwxr-xr-x. I have also tried nagios:nagios, as a couple of other scripts that work are owned that way. All files have a+x though, so shouldn't be a problem. Where does that return code come from? The script doesn't return 127,...
- Tue Oct 07, 2014 10:50 am
- Forum: Open Source Nagios Projects
- Topic: Simple wrapper plugin gets "return code of 127" error
- Replies: 11
- Views: 10847
Re: Simple wrapper plugin gets "return code of 127" error
Sorry, in my excitement at writing so much detail, I forgot the key bit which is that when it actually runs "live", I get an error in the Status Information.
Code: Select all
(Return code of 127 is out of bounds - plugin may be missing)- Tue Oct 07, 2014 5:28 am
- Forum: Open Source Nagios Projects
- Topic: Simple wrapper plugin gets "return code of 127" error
- Replies: 11
- Views: 10847
Simple wrapper plugin gets "return code of 127" error
Hi, folks. I have a very simple script that wraps up the check_http command, as I'm having all sorts of problems with any non-trivial URLs or check values. (The UI is escaping stuff, then it's escaped again differently before hitting the cmd, so garbage ensues) In the libexec directory, the permissi...
- Wed Aug 27, 2014 9:23 am
- Forum: Open Source Nagios Projects
- Topic: Treating Unknown as Critical
- Replies: 9
- Views: 5207
- Wed Aug 27, 2014 3:32 am
- Forum: Open Source Nagios Projects
- Topic: Treating Unknown as Critical
- Replies: 9
- Views: 5207
Re: Treating Unknown as Critical
Thanks, I've enabled "U" notifications now too. I also managed to link the failure state with an eventlog entry, so I now monitor for those too.