Page 1 of 1

Need to Monitor Other Volumes or Partition Of Linux

Posted: Thu Dec 18, 2014 12:52 pm
by sh.shekhar89
Hi All,

I need to monitor other Volume or Partition of Linux host, By default for Linux host it will only show root partition. I need to monitor other partition too.

Can someone guide me how to do it?

Re: Need to Monitor Other Volumes or Partition Of Linux

Posted: Thu Dec 18, 2014 2:51 pm
by tmcdonald
Which method are you using currently to monitor the volumes?

Re: Need to Monitor Other Volumes or Partition Of Linux

Posted: Wed Jan 07, 2015 3:03 pm
by sh.shekhar89
tmcdonald wrote:Which method are you using currently to monitor the volumes?
Hi Tmcdonald,

I am not using any method to monitor the volumes. By default when i have installed nagios, its only showing root partition details. but requirement is to monitor all the partitions.

Re: Need to Monitor Other Volumes or Partition Of Linux

Posted: Wed Jan 07, 2015 3:51 pm
by slansing
Can you share the current root partition's service configuration with us? It should be located in:

Code: Select all

/usr/local/nagios/etc/services/localhost.cfg
We can then help you construct an additional command, or modify the current one, to hopefully get the information you need. It is likely using check_disk, and an example of running one service check agains multiple partitions is below:

Code: Select all

check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p /
Which checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB.