lmiltchev wrote:Please, show us the problem service's config and the actual command run from the command line along with the output of it.
Code: Select all
[root@nagios01 libexec]# ./check_nwc_health --hostname 10.110.50.17 --protocol 2c --community nagios --mode cpu-load --warning 70% --critical 80%
OK - cpu Chassis usage (5 min avg.) is 0.00%, cpu Chassis usage (5 min avg.) is 0.00%, cpu Processor 0/0 usage (5 min avg.) is 0.00%, cpu Processor 0/1 usage (5 min avg.) is 0.00%, cpu Processor 0/2 usage (5 min avg.) is 0.00%, cpu Processor 0/3 usage (5 min avg.) is 0.00%, cpu Processor 0/4 usage (5 min avg.) is 0.00%, cpu Processor 0/5 usage (5 min avg.) is 1.00%, cpu Processor 0/6 usage (5 min avg.) is 0.00%, cpu Processor 0/7 usage (5 min avg.) is 0.00% | 'cpu_Chassis_usage'=0%;70%;80% 'cpu_Chassis_usage'=0%;70%;80% 'cpu_Processor 0/0_usage'=0%;70%;80% 'cpu_Processor 0/1_usage'=0%;70%;80% 'cpu_Processor 0/2_usage'=0%;70%;80% 'cpu_Processor 0/3_usage'=0%;70%;80% 'cpu_Processor 0/4_usage'=0%;70%;80% 'cpu_Processor 0/5_usage'=1%;70%;80% 'cpu_Processor 0/6_usage'=0%;70%;80% 'cpu_Processor 0/7_usage'=0%;70%;80%
[root@nagios01 libexec]#
lmiltchev wrote:Also run the following commands and show us the output:
Code: Select all
rrdtool --version
cat /usr/local/nagios/etc/pnp/pnp4nagios_release
ll /usr/local/nagios
Code: Select all
[root@nagios01 libexec]# rrdtool --version
RRDtool 1.3.8 Copyright 1997-2009 by Tobias Oetiker <[email protected]>
Compiled Feb 20 2014 11:59:48
Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, graphv, dump, restore,
last, lastupdate, first, info, fetch, tune,
resize, xport
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
[root@nagios01 libexec]#
Code: Select all
[root@nagios01 libexec]# cat /usr/local/nagios/etc/pnp/pnp4nagios_release
PKG_REL_DATE="05-02-2009"
PKG_VERSION="0.4.14"
PKG_NAME="pnp"
[root@nagios01 libexec]#
Code: Select all
[root@nagios01 libexec]# ll /usr/local/nagios/
total 76
drwxrwxr-x. 2 nagios nagios 4096 May 21 2014 bin
drwsrwsr-x. 7 apache nagios 4096 May 16 21:08 etc
drwxr-xr-x 2 root root 4096 May 21 2014 include
drwxrwxr-x. 3 nagios nagios 12288 Jun 5 14:14 libexec
drwxrwxr-x. 2 nagios nagios 4096 May 21 2014 sbin
drwxrwxr-x. 14 nagios nagios 4096 May 21 2014 share
drwxr-xr-x 2 nagios root 36864 Dec 5 2014 tmp
drwxrwxr-x. 6 nagios nagios 4096 Jun 8 09:42 var
[root@nagios01 libexec]#