Check_disk usage for linux servers
Posted: Tue Jan 09, 2018 3:29 pm
Hi,
I am trying to monitor the file system usage in the Linux environment but not able to figure out the usage of the right syntax.
Below is one of the example where the usage is 99% but still getting the result as Disk ok.. Ideally i need to get the critical alert when the disk usage is above 95%.
[[email protected] ~]$ /usr/local/nagios/libexec/check_nrpe -H 1Xx.xx.Xxx.1xx -t 30 -c check_disk -a '/app/testjpl -w 10 -c 5'
DISK OK - free space: /app/testjpl 52 MB (1% inode=99%);| /app/testjpl=4602MB;;;0;4911
I am trying to monitor the file system usage in the Linux environment but not able to figure out the usage of the right syntax.
Below is one of the example where the usage is 99% but still getting the result as Disk ok.. Ideally i need to get the critical alert when the disk usage is above 95%.
[[email protected] ~]$ /usr/local/nagios/libexec/check_nrpe -H 1Xx.xx.Xxx.1xx -t 30 -c check_disk -a '/app/testjpl -w 10 -c 5'
DISK OK - free space: /app/testjpl 52 MB (1% inode=99%);| /app/testjpl=4602MB;;;0;4911