Reporting
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Reporting
You should still be able to push it to an xml file as any showed above, have you tried this yet?
Re: Reporting
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?
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
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.
"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: Reporting
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
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.
"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: Reporting
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
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.
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
Reason: merged with original thread
Re: Reporting
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.logFormer 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: Reporting
here are the logs
You do not have the required permissions to view the files attached to this post.
Re: Reporting
It looks like npcd is hitting load and timeout thresholds, lets increase these values. Edit the file:
Change:
To:
Also edit this file:
Change:
To:
Now restart npcd:
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfgCode: Select all
TIMEOUT = 5Code: Select all
TIMEOUT = 20Code: Select all
/usr/local/nagios/etc/pnp/npcd.cfgCode: Select all
load_threshold = 10.0Code: Select all
load_threshold = 30.0Code: Select all
service npcd stop
killall -9 npcd
service npcd startFormer 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.