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
Graph for service with no performance data
Graph for service with no performance data
You do not have the required permissions to view the files attached to this post.
Re: Graph for service with no performance data
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)?b2m wrote: How can I avoid that empty graphs like in the attachment are shown?
How often is this check run?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Graph for service with no performance data
Here it shows green but there is no cross to disable. Check interval is 5 minutes.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?
Best wishes
b2m
Re: Graph for service with no performance data
Is the "Performance data" field on the left empty or populated? If it is populated, could you post the performance data here?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Graph for service with no performance data
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/..."
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/..."
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Graph for service with no performance data
No, as far as I remember there was no performance data in the field.abrist wrote:Is the "Performance data" field on the left empty or populated? If it is populated, could you post the performance data here?
This seems to be exactly what I'm looking forlmiltchev 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/..."
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
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: And a last one: Why do the pnp4nagios graphs and the Highchart graphs co-exist in Nagios XI?
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.b2m wrote:How can I rename the OID at the bottom of the charts by a human readable name or description?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Graph for service with no performance data
This works fine for me, thanks a lotlmiltchev 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/..."
So you mean, there is no easy way to do this?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.
Best wishes
b2m
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Graph for service with no performance data
Correct, it's essentially up to the plugin, most plugins account for pushing performance data back to Nagios, though some do not.