Hi,
Could you help me how to fix this errors:
1) Load_Check
/usr/local/nagios/libexec/check_ncpa.py -H hostname -t 'token' -P 5693 -M 'plugins/check_load' -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 [-n NUMBER_OF_PROCS]
2) Check disk
/usr/local/nagios/libexec/check_ncpa.py -H hostname -t 'token' -P 5693 -M 'plugins/check_disk' -q 'args=-l 70 75'
is not checking all the disks.
Thanks
NCPA Alerts errors
Re: NCPA Alerts errors
1. Try this:
2. Try this:
Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -H hostname -t 'token' -P 5693 -M 'plugins/check_load' -q 'args=-w 30,25,20 -c 50,45,40'Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -H hostname -t 'token' -P 5693 -M 'plugins/check_disk' -q 'args=-l -w 70 -c 75'-
Bala.Mutyam
- Posts: 97
- Joined: Wed Apr 29, 2020 12:18 pm
Re: NCPA Alerts errors
Thanks for the update.
Below checks worked:
Below checks worked:
Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -H hostname -t 'token' -P 5693 -M 'plugins/check_load' -q 'args=-w 30 25 20 -c 50 45 40'Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -H hostname -t 'token' -P 5693 -M 'plugins/check_disk' -q 'args=-l -w 20% -c 10%'Re: NCPA Alerts errors
Now edit the services in Configure > Core Config Manager > Services, Save, Apply Configuration and you should be good.