FS monitoring not working fine on Cent-OS machine
Posted: Thu Aug 04, 2016 5:05 am
Hi,
I have installed NRPE agent on cent-os server. This server has below FS however I can see only 1 FS on XI console.
Kindly help to monitor all 3 FS (/,/u1,/boot)
[root@Neagle ~]# df -k
/ (/dev/sda3 ): 2307056 blocks 256150 i-nodes
/dev/shm (tmpfs ): 1027172 blocks 256792 i-nodes
/boot (/dev/sda1 ): 66110 blocks 25650 i-nodes
/u1 (/dev/sda5 ): 64969616 blocks 4389802 i-nodes
In nrpe.cfg file, we have updated commands like this
command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda1
command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda3
command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda5
On XI console, we get out as below. It shows only /u1 parameter and not /boot and /
I have installed NRPE agent on cent-os server. This server has below FS however I can see only 1 FS on XI console.
Kindly help to monitor all 3 FS (/,/u1,/boot)
[root@Neagle ~]# df -k
/ (/dev/sda3 ): 2307056 blocks 256150 i-nodes
/dev/shm (tmpfs ): 1027172 blocks 256792 i-nodes
/boot (/dev/sda1 ): 66110 blocks 25650 i-nodes
/u1 (/dev/sda5 ): 64969616 blocks 4389802 i-nodes
In nrpe.cfg file, we have updated commands like this
command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda1
command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda3
command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda5
On XI console, we get out as below. It shows only /u1 parameter and not /boot and /