check CPU load and Disk usage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
fsodah
Posts: 295
Joined: Thu Sep 12, 2019 1:19 am

check CPU load and Disk usage

Post 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 /
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: check CPU load and Disk usage

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
fsodah
Posts: 295
Joined: Thu Sep 12, 2019 1:19 am

Re: check CPU load and Disk usage

Post by fsodah »

done ... it works .. close it
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: check CPU load and Disk usage

Post by benjaminsmith »

done ... it works .. close it
Sounds good.

Thank you for using the Nagios Support Forum.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked