check CPU load and Disk usage
Posted: Mon Mar 09, 2020 11:57 am
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
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
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
Code: Select all
command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /