No pnp graph

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kalyan1709
Posts: 43
Joined: Tue Oct 16, 2012 12:45 am

No pnp graph

Post by kalyan1709 »

Hi,

I have defined my windows machine uptime as shown below:

define service{
use generic-service,srv-pnp
hostgroup_name Windows-Servers
service_description Uptime
check_command check_nt!UPTIME
}

The service status shows OK. The problem is there is no pnp graph showing for this.


PNP graph shows below error:

Please check the documentation for information about the following error.

XML file "/usr/local/pnp4nagios/var/perfdata/Server1/Uptime.xml" not found. Read FAQ online

file [line]:

application/models/data.php [312]:

Thanks,
KalyanP
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: No pnp graph

Post by abrist »

check_nt does not return performance data at the moment. This feature was added with commit: https://github.com/nagios-plugins/nagio ... 0e2fedbc98
The changes will be in the next version of nagios-plugins, but if you wanted to use it now, you can download the source, build it, and copy over the new check_nt to your plugins dir.
If you need help doing so, let me know.
Cheers.
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.
kalyan1709
Posts: 43
Joined: Tue Oct 16, 2012 12:45 am

Re: No pnp graph

Post by kalyan1709 »

Thanks abrist.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: No pnp graph

Post by tmcdonald »

Can we consider this resolved? Or would you like us to keep this thread open until you get to test it?
Former Nagios employee
Locked