Page 1 of 1

check CPU load and Disk usage

Posted: Mon Mar 09, 2020 11:57 am
by fsodah
Please modify my nrpe command to monitor CPU load and disk usage

if I get load of above 89 i should get warning and above 95 I should have critical

Code: Select all

command[check_load]=/usr/lib64/nagios/plugins/check_load -r -w 0.89,0.88,0.85 -c 0.95,0.93,0.90
If I have only 20% free space of the file system I should receive warning, if I have only 10% free I should receive critical

Code: Select all

command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /

Re: check CPU load and Disk usage

Posted: Mon Mar 09, 2020 1:43 pm
by jdunitz
This looks like it will do what you're saying.
Did you try it? Is it not working for you?

Let us know. Thanks!

--Jeffrey

Re: check CPU load and Disk usage

Posted: Mon Mar 09, 2020 3:27 pm
by fsodah
done ... it works .. close it

Re: check CPU load and Disk usage

Posted: Mon Mar 09, 2020 3:46 pm
by benjaminsmith
done ... it works .. close it
Sounds good.

Thank you for using the Nagios Support Forum.