Page 1 of 1

Nagios XI / Core Distributed - Some Service Checks Pending

Posted: Mon Oct 22, 2012 9:18 pm
by jhobbins
G'day,

Most service checks are appearing on Nagios XI (master) for all hosts monitored by Core (slave). NRDP working fine, using send_nrdp.sh

However, "C:\ Drive Space" and "NSClient++ Version" are showing as "Pending" on Master.

On Slave they are fine.

These 2 services are also shown as Unconfigured Objects. Obviously I configure them but they re-appear.

Question, why would these be showing as "Service check is pending..."

Attached are screen shots from master and slave to help explain what I'm trying to say.

Cheers, John Hobbins
Australia

Re: Nagios XI / Core Distributed - Some Service Checks Pendi

Posted: Tue Oct 23, 2012 7:20 pm
by scottwilkerson
Just wanted to let you know we are working on this.

The problem with , the item for "C:\ Drive Space" is a bug that should be fixed in 2012R1.1 when it comes out.

Still working on the other bug but it is related to the ++ in the service description.

Re: Nagios XI / Core Distributed - Some Service Checks Pendi

Posted: Wed Oct 24, 2012 4:31 am
by jhobbins
Legend. Thanks for that mate.

Re: Nagios XI / Core Distributed - Some Service Checks Pendi

Posted: Wed Oct 24, 2012 10:56 am
by scottwilkerson
Does the "NSClient++ Version" item continue to show in the Unconfigured Objects?

Re: Nagios XI / Core Distributed - Some Service Checks Pendi

Posted: Thu Oct 25, 2012 2:43 pm
by jhobbins
Yeah man "NSClient Version" and "C:\ Drive Space".

Re: Nagios XI / Core Distributed - Some Service Checks Pendi

Posted: Fri Oct 26, 2012 9:00 am
by scottwilkerson
I have an adhoc solution to the NSClient++ Version item for you.

In your /usr/local/nagios/libexec/eventhandlers/service_check file on the remote machine, change line 5 from

Code: Select all

srv=$2
to the following

Code: Select all

srv=${2//+/%2B}
Then remove the the current service and add the new NSClient++ Version when it shows up in unconfigured objects.

Once 2012R1.1 comes out (maybe today), you can add the "C:\ Drive Space" and it will go in correctly.