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?
Need to Monitor Other Volumes or Partition Of Linux
-
sh.shekhar89
- Posts: 52
- Joined: Fri Oct 10, 2014 3:17 pm
Re: Need to Monitor Other Volumes or Partition Of Linux
Which method are you using currently to monitor the volumes?
Former Nagios employee
-
sh.shekhar89
- Posts: 52
- Joined: Fri Oct 10, 2014 3:17 pm
Re: Need to Monitor Other Volumes or Partition Of Linux
Hi Tmcdonald,tmcdonald wrote:Which method are you using currently to monitor the volumes?
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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Need to Monitor Other Volumes or Partition Of Linux
Can you share the current root partition's service configuration with us? It should be located in:
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:
Which checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB.
Code: Select all
/usr/local/nagios/etc/services/localhost.cfg
Code: Select all
check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p /