Page 3 of 6
Re: Reporting
Posted: Fri Jun 28, 2013 12:55 pm
by slansing
You should still be able to push it to an xml file as any showed above, have you tried this yet?
Re: Reporting
Posted: Wed Jul 10, 2013 8:23 am
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?
Re: Reporting
Posted: Wed Jul 10, 2013 11:13 am
by abrist
When run from the CLI, what is output of the check? Is there performance data included?
Re: Reporting
Posted: Wed Jul 10, 2013 11:49 am
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.
Re: Reporting
Posted: Wed Jul 10, 2013 11:55 am
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.
Re: Reporting
Posted: Wed Jul 10, 2013 12:40 pm
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..!!
Graph Data not available
Posted: Wed Jul 10, 2013 12:46 pm
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.
Re: Reporting
Posted: Wed Jul 10, 2013 1:17 pm
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
Re: Reporting
Posted: Thu Jul 11, 2013 10:41 am
by neodg
here are the logs
logs.zip
Re: Reporting
Posted: Fri Jul 12, 2013 9:26 am
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:
To:
Also edit this file:
Code: Select all
/usr/local/nagios/etc/pnp/npcd.cfg
Change:
To:
Now restart npcd:
Code: Select all
service npcd stop
killall -9 npcd
service npcd start