Search found 18 matches

by pato
Tue Apr 22, 2014 8:27 pm
Forum: Open Source Nagios Projects
Topic: syncing nagios with an external downtime scheduler
Replies: 4
Views: 1561

Re: syncing nagios with an external downtime scheduler

Yep, use the SCHEDULE_HOST_DOWNTIME command to achieve this. From the docs: Command Format: SCHEDULE_HOST_DOWNTIME;<host_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> Description: Schedules downtime for a specified host. If the "fixed" argument is set to ...
by pato
Tue Apr 22, 2014 8:00 pm
Forum: Open Source Nagios Projects
Topic: check_nrpe plugin can't connect, Nagios reports service "OK"
Replies: 11
Views: 4743

Re: check_nrpe plugin can't connect, Nagios reports service

lmiltchev wrote:We will be testing this and filing a bug report if we are able to recreate the issue. If you wish to post a bug report on our bug tracker on your own, you are welcome to do so. Thanks for the feedback!
Thank you. I've submitted a report: http://tracker.nagios.org/view.php?id=602
by pato
Mon Apr 21, 2014 10:16 pm
Forum: Open Source Nagios Projects
Topic: check_nrpe plugin can't connect, Nagios reports service "OK"
Replies: 11
Views: 4743

Re: check_nrpe plugin can't connect, Nagios reports service

Dragging this thread back up to update briefly. I've since found another scenario that results in an out-of-bounds error being interpreted with "OK" status when it really ( really ) shouldn't be - when a command file is not executable by nagios user: $ whoami nagios $ /usr/local/nagios/lib...
by pato
Mon Apr 21, 2014 10:00 pm
Forum: Open Source Nagios Projects
Topic: check_nrpe plugin can't connect, Nagios reports service "OK"
Replies: 11
Views: 4743

Re: check_nrpe plugin can't connect, Nagios reports service

lmiltchev wrote:Let's clarify, when you use NRPE v2.12, and you have "Connection refused" error, running:

Code: Select all

echo $?
produces the correct output:

Code: Select all

2
but if you use NRPE v2.15, you get:

Code: Select all

255
Right?
That's correct (and sorry for the late reply on this one)
by pato
Wed Mar 26, 2014 5:18 pm
Forum: Open Source Nagios Projects
Topic: Upgrading Nagios Core 4.0.3 to 4.0.4
Replies: 6
Views: 2785

Re: Upgrading Nagios Core 4.0.3 to 4.0.4

I did this to upgrade 4.0.2 to 4.0.4, but I had a problem with the NRPE's checks stopped, the status is OK and they must be Critical. Anyone had the same problem? Yes! Glad it's not just me. http://support.nagios.com/forum/viewtopic.php?f=7&t=26293&e=0 For a short term fix, you can roll bac...
by pato
Wed Mar 26, 2014 5:00 pm
Forum: Open Source Nagios Projects
Topic: check_nrpe plugin can't connect, Nagios reports service "OK"
Replies: 11
Views: 4743

Re: check_nrpe plugin can't connect, Nagios reports service

Probably of most significance is that I've found that this error only occurs on version 2.15 of the check_nrpe plugin. I've rolled back to an earlier version, v2.12, which exits with code 2 on the same connection error, and Nagios interprets this correctly. Service config for memory check: define se...
by pato
Tue Mar 25, 2014 8:30 pm
Forum: Open Source Nagios Projects
Topic: check_nrpe plugin can't connect, Nagios reports service "OK"
Replies: 11
Views: 4743

check_nrpe plugin can't connect, Nagios reports service "OK"

Just upgraded from 3.5.1 to 4.0.4 and noticed the following when testing notifications by disabling a remote NRPE service: http://i.imgur.com/pwPKxRs.png Nagios reports the service as being in "OK" state, when it should be reporting a critical error. The 4 services in OK state are checked ...
by pato
Sun Oct 20, 2013 8:57 pm
Forum: Open Source Nagios Projects
Topic: Question about Host Groups
Replies: 1
Views: 661

Question about Host Groups

Hi there, Nagios Core 3.5.1 user here - If I have host groups "A" and "B", then through the Host Groups page on the web interface I have visibility on hosts assigned to Host Group "A" and hosts assigned to Host Group "B". What I would like to do but can't is v...