Page 1 of 1

Performance Data from Passive Checks pt II

Posted: Wed Apr 25, 2012 4:19 am
by spcinternational
Hi, I have a problem where none of my passive checks display any performance data. All the passive checks are coming from another Nagios via NSCA so I would imagine there is no problem with the format of the data. So, the hosts show up as unconfigured objects, I run the wizard, I can then see them after that and I have status information etc, everything except graphs ? I was starting to think this was maybe default behavior but it seems not ? Steps to recreate

Both Nagios are latest updates, ie 2.3
One has outbound transfers set up using NSCA Outbound Check Transfer Settings
One is setup for Inbound Check Transfer Settings using NSCA
They are talking to each other as I can see all the hosts of the sending Nagios in the receiving Nagios as unconfigured objects.
I have imported some using the Unconfigured Passive Object Monitoring Wizard (Which starts at step 3 by the way)
Once imported they show as a normal object and I can see status, I can also see the results of the last check
Example OK - 192.168.0.204: rta 0.503ms, lost 0%
However clicking on performance graphs gives "No performance graphs were found for this service." ?

Any help appreciated.

Using Vmware images both end, no modifications to either system other than updates, they are stock.

Re: Performance Data from Passive Checks pt II

Posted: Wed Apr 25, 2012 11:53 am
by scottwilkerson
Thank you for sending this. It appears to be a bug, I have been able to reproduce your results and have filed a bug report found here

http://tracker.nagios.com/view.php?id=254

Re: Performance Data from Passive Checks pt II

Posted: Wed Apr 25, 2012 12:45 pm
by scottwilkerson
This can be fixed if you unzip and replace the attached file in
/usr/local/nagiosxi/cron/perfdataproc.php

Re: Performance Data from Passive Checks pt II

Posted: Wed Apr 25, 2012 6:44 pm
by spcinternational
Thanks Scott, unfortunately the updated file didn't fix it, I added a new passive host to be sure and same thing, I also confirmed data is still coming in. All other hosts are still graphing fine. I did a backup the old file just in case and reset ownership on the new to nagios:nagios so don't think I missed anything ?

-rwxr-xr-x. 1 nagios nagios 11177 Apr 26 07:49 perfdataproc.php
-rwxr-xr-x 1 root root 11034 Apr 26 07:48 perfdataproc.php.original

Phill

Re: Performance Data from Passive Checks pt II

Posted: Thu Apr 26, 2012 7:16 am
by scottwilkerson
What machine did you put it on? It specifically needs to be on the machine that is sending outbound.

Also, we have this fix applied in the new 2011R2.4 release.

Re: Performance Data from Passive Checks pt II

Posted: Thu Apr 26, 2012 3:21 pm
by spcinternational
LOL. OK no problem, I put it on the inbound box :) Will put on the outbound and let you know, thanks

Phill

Updated, cool, thanks it works :) Have done both boxes now so I am good either way. Will tick this resolved.