Page 1 of 1
Graph for service with no performance data
Posted: Thu Mar 06, 2014 8:41 am
by b2m
Hello all,
we are running some basic checks via SNMP polling like the state of the power supply of a cisco router with the following command:
check_xi_service_snmp -p 161 -o enterprises.9.9.117.1.1.2.1.2.48565389 -C whatever -P 2c -l "Power" -m CISCO-ENTITY-FRU-CONTROL-MIB -r "on"
With the MIB file Nagios can determine the state which works fine. Anyway, Nagios thinks that a performance graph is necessary for this service. How can I avoid that empty graphs like in the attachment are shown?
Thanks a lot and best wishes
b2m
Re: Graph for service with no performance data
Posted: Thu Mar 06, 2014 10:45 am
by abrist
b2m wrote: How can I avoid that empty graphs like in the attachment are shown?
This check must be returning some type of performance data. What output is listed at --> Home --> Service Details --> Click the service --> Advanced --> Performance data (on the left)?
How often is this check run?
Re: Graph for service with no performance data
Posted: Thu Mar 06, 2014 11:24 am
by b2m
abrist wrote:This check must be returning some type of performance data. What output is listed at --> Home --> Service Details --> Click the service --> Advanced --> Performance data (on the left)?
How often is this check run?
Here it shows green but there is no cross to disable. Check interval is 5 minutes.
Best wishes
b2m
Re: Graph for service with no performance data
Posted: Thu Mar 06, 2014 11:34 am
by abrist
Is the "Performance data" field on the left empty or populated? If it is populated, could you post the performance data here?
Re: Graph for service with no performance data
Posted: Thu Mar 06, 2014 11:41 am
by lmiltchev
If you don't need perfdata, you can simply disable perfdata processing for this service:
CCM->Services-><your service>->Modify->Check Settings tab->Process perf data = off->Save->Apply Configuration
Then you can remove the rrd & xml files for this service from the "/usr/local/nagios/share/perfdata/..."
Re: Graph for service with no performance data
Posted: Thu Mar 06, 2014 1:15 pm
by b2m
abrist wrote:Is the "Performance data" field on the left empty or populated? If it is populated, could you post the performance data here?
No, as far as I remember there was no performance data in the field.
lmiltchev wrote:CCM->Services-><your service>->Modify->Check Settings tab->Process perf data = off->Save->Apply Configuration
Then you can remove the rrd & xml files for this service from the "/usr/local/nagios/share/perfdata/..."
This seems to be exactly what I'm looking for

. I will try this tomorrow and report.
Another related question if you don't mind: How can I rename the OID at the bottom of the charts by a human readable name or description?
And a last one: Why do the pnp4nagios graphs and the Highchart graphs co-exist in Nagios XI?
Thanks alot and best wishes
b2m
Re: Graph for service with no performance data
Posted: Thu Mar 06, 2014 1:51 pm
by abrist
b2m wrote:
And a last one: Why do the pnp4nagios graphs and the Highchart graphs co-exist in Nagios XI?
pnp4nagios display is legacy and will be mostly replaced by graph explorer. We will leave pnp4nagios in as we still use other portions of it and we want to retain reverse compatibility with integrations that rely on the pnp4nagios urls.
b2m wrote:How can I rename the OID at the bottom of the charts by a human readable name or description?
This is controlled by the label on the performance data in the returned check. You may be able to change it by changing the pnp template, but I doubt it.
Re: Graph for service with no performance data
Posted: Fri Mar 07, 2014 1:54 am
by b2m
lmiltchev wrote:CCM->Services-><your service>->Modify->Check Settings tab->Process perf data = off->Save->Apply Configuration
Then you can remove the rrd & xml files for this service from the "/usr/local/nagios/share/perfdata/..."
This works fine for me, thanks a lot

.
abrist wrote:This is controlled by the label on the performance data in the returned check. You may be able to change it by changing the pnp template, but I doubt it.
So you mean, there is no easy way to do this?
Best wishes
b2m
Re: Graph for service with no performance data
Posted: Fri Mar 07, 2014 11:09 am
by slansing
Correct, it's essentially up to the plugin, most plugins account for pushing performance data back to Nagios, though some do not.