@scottwilkerson: Hi, Thanks for the update, i passed as args and working now.
I'm passing args for Redhat5 servers with NCPA agent but giving me error, pls help.
1) This is not giving correct, we want to count Zombie processes but giving total process count.
Code: Select all
-t 'NagiosXi' -P 5693 -M 'plugins/check_procs' -q 'args= -w 5 -c 10 -s Z'
PROCS OK: 94 processes
2) Giving below error:
Code: Select all
-t 'NagiosXi' -P 5693 -M 'plugins/check_ntp_time' -q 'args=-H ntp_server 1 2'
Usage: check_ntp_time -H <host> [-w <warn>] [-c <crit>] [-v verbose]
All these checks working fine on Redhat6/7 not 5.
Finally, with builtin processes API endpoint. can we check Zombie processes?
Thanks
3)
Code: Select all
-t 'NagiosXi' -P 5693 -M 'plugins/check_disk' -q 'args=-l -w 20% -c 10%'
check_disk: Could not parse arguments
Usage: check_disk -w limit -c limit [-W limit] [-K limit] {-p path | -x device}
[-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]
[-t timeout] [-u unit] [-v] [-X type]
4) Another error
Code: Select all
-t 'NagiosXi' -P 5693 -M 'plugins/check_load' -q 'args=-w 30 25 20 -c 50 45 40'
check_load: Could not parse arguments
Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15