Hi,
The OS/Architecture is as follows -
[email protected]:~# uname -a
Linux xx.xx.xx.xx 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
And NRPE config file details are as follows -
# The following examples use hardcoded command arguments...
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
# The following examples allow user-supplied arguments and can
# only be used if the NRPE daemon was compiled with support for
# command arguments *AND* the dont_blame_nrpe directive in this
# config file is set to '1'. This poses a potential security risk, so
# make sure you read the SECURITY file before doing this.
#command[check_users]=/usr/local/nagios/libexec/check_users -w $ARG1$ -c $ARG2$
#command[check_load]=/usr/local/nagios/libexec/check_load -w $ARG1$ -c $ARG2$
#command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
#command[check_procs]=/usr/local/nagios/libexec/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
And the commands used are as below -
check_nrpe -H <Hostaddress> -t 30 -c check_cpu_stats -a '-w 80 -c 90'
check_nrpe -H <Hostaddress> -t 30 -c check_mem -a '-w 20 -c 10'
check_nrpe -H <Hostaddress> -t 30 -c check_disk -a '-w 15% -c 10% -p/'
check_nrpe -H <Hostaddress> -t 30 -c check_swap -a '-w 20 -c 10'
check_nrpe -H <Hostaddress> -t 30 -c check_services -a '<service name>'
Beena