Reporting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Reporting

Post by slansing »

You should still be able to push it to an xml file as any showed above, have you tried this yet?
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

Hi,

I have configured a service to check the total diskspace on a linux server using the below command

/usr/local/nagios/libexec/check_nrpe -H 209.207.228.4 -t 60 -c check_disk -a '-w 15% -c 10%

I have actually not used the option -p - path of the drive to be checked (-a '-w 15% -c 10% -p /') - which showed me the info of all the drives mounted on the server. I can view the status of all the drives using this command, however the stats are not getting recorded in the rrd files and graphs show no info. Please suggest if this is the general behaviour or am I doing anything wrong?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

When run from the CLI, what is output of the check? Is there performance data included?
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.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

Yes, the performance data of the drive is included/displayed when run from cli...Also, when I click on the performance graph I see different datasources - with drive names - however, there is no data available to plot a graph.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

Were drive volumes added or removed to/from this host after the check was created? I ask because rrds (the storage mechanism for perfdata) do not support a dynamic number of data sources, and if the number of data sources change, graphing will cease to function correctly.
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.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Reporting

Post by MSPk »

No, there hasn't been any change. We are monitoring close to 50 Linux servers and soem of them show the stats fine, a part of these 50 are showing blank graphs, some of them even say show a message saying no performance graphs available..!!
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

Graph Data not available

Post by neodg »

Hi Team,

This is in continuation to the query posted by MSPk,

Please click on the below link to get more details.
http://support.nagios.com/forum/viewtop ... 772#p57772

we are monitoring the root disk space for few linux servers and see that perfornamce graphs for some of these server are either blank or not available.
Last edited by sreinhardt on Wed Jul 10, 2013 1:53 pm, edited 1 time in total.
Reason: merged with original thread
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

Next step would be to check your perfdata and npcd logs:

Code: Select all

tail -50 /usr/local/nagios/var/perfdata.log
tail -50 /usr/local/nagios/var/npcd.log
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.
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

Re: Reporting

Post by neodg »

here are the logs
logs.zip
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Reporting

Post by abrist »

It looks like npcd is hitting load and timeout thresholds, lets increase these values. Edit the file:

Code: Select all

/usr/local/nagios/etc/pnp/process_perfdata.cfg
Change:

Code: Select all

TIMEOUT = 5
To:

Code: Select all

TIMEOUT = 20
Also edit this file:

Code: Select all

/usr/local/nagios/etc/pnp/npcd.cfg
Change:

Code: Select all

load_threshold = 10.0
To:

Code: Select all

load_threshold = 30.0
Now restart npcd:

Code: Select all

service npcd stop
killall -9 npcd
service npcd start
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.
Locked