check_disk to include Filesystem information
Posted: Thu Jun 02, 2016 5:55 pm
Hi All,
I have been tried different option of check_disk and not much success to include the filesystem information. Does it mean I need to modify the script and write the script to accomplish that?
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/physical--vol0-lvol01 91G 17G 69G 20% /
./check_nrpe -H 172.16.200.2 -c check_root_disk
DISK OK - free space: / 44723 MB (87% inode=88%); /dev 516845 MB (99% inode=-);....
Ideally, I want the output to include file system information similar to the output below.
./check_nrpe -H 172.16.200.2 -c check_root_disk
DISK OK - free space: / 44723 MB (87% inode=88%), /dev/mapper/physical--vol0-lvol01;.....
Thanks in advance,
JC
I have been tried different option of check_disk and not much success to include the filesystem information. Does it mean I need to modify the script and write the script to accomplish that?
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/physical--vol0-lvol01 91G 17G 69G 20% /
./check_nrpe -H 172.16.200.2 -c check_root_disk
DISK OK - free space: / 44723 MB (87% inode=88%); /dev 516845 MB (99% inode=-);....
Ideally, I want the output to include file system information similar to the output below.
./check_nrpe -H 172.16.200.2 -c check_root_disk
DISK OK - free space: / 44723 MB (87% inode=88%), /dev/mapper/physical--vol0-lvol01;.....
Thanks in advance,
JC