pnp on check_cpu_stats.sh
My LinuxHAList
mylinuxhalist at gmail.com
Sat May 28 00:39:32 CEST 2011
We paid for the Nagios XI 2011R1.
We are using check_cpu_stats.sh to poll information CPU usage
information via NRPE.
CPU STATISTICS OK : user=0.00% system=0.00% iowait=0.00% idle=100.00%
nice=0.00% steal=0.00%
However, there are no performance graphs on CPU.
I'm still pretty new to Nagios. I look around and found that pnp is
the backend engine that produces graphs.
[root at linuxbox check_commands]# cat ../pnp4nagios_release
PKG_REL_DATE="05-02-2009"
PKG_VERSION="0.4.14"
PKG_NAME="pnp"
I found that I have, but not the rrd file
/usr/local/nagios/share/perfdata/linuxbox2/CPU_Stats.xml
# pwd
/usr/local/nagios/etc/pnp/check_commands
I realize that I may need to have something at
/usr/local/nagios/etc/pnp/check_commands
to have my graphs generated.
Does anyone have a recipe to have my graphs using check_cpu_stats.sh
(nagios command named: check_cpu_stats) ?
Thanks...
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list