Go to All Forums

Exclude disk partitions from monitoring

Is it possible to exclude certain disk partitions from threshold monitoring?  On AWS EC2 instances I have multiple disks/partitions and two of those partitions e.g. /snap/core/5328 are always at 100% full. Becaues of this, they make my site show as being in "Trouble".  I would like to be able to exclude partitions automatically from monitoring by including something in the threshold profile to ignore any partition that starts with /snap (e.g. /snap/*).  

I think it is possible to do this manually, but that is not so helpful when servers are being added to an auto scaling group automatically.

Reply 2
Replies (5)

Re: Exclude disk partitions from monitoring

Hi,

Thanks for bringing this up. Currently, Site24x7 Server Monitoring does not support to exclude monitoring for disks that gets added dynamically.

We have added this in our road map and will update this thread once the feature is ready.

 

Happy Monitoring!

Reply 1

Re: Re: Exclude disk partitions from monitoring

Is there any update on the progress of this as it's becoming a big problem for us. We are getting 100's of partition full alerts when AWS add dynamic disks, we previously turned this monitoring off but then missed a key alert when one of our disks filled up and corrupted some data.

It would be ideal if you could add a global filter or similar on disk names, e.g. exclude all disks with /snap in the mount path?

Thanks

Charles 

Reply 1

Re: Exclude disk partitions from monitoring

Hi,

You can now exclude certain disk partitions from monitoring using the Server Configuration Template. Please follow the steps below:

  1. Log in to Site24x7 and go to Admin > Server Monitor > Configuration Template > Add Configuration Template. If you already have a configuration template, click on the template configured.
  2. Under Exclude Disk Partitions from Monitoring, mention the RegEx pattern(s) to exclude specific disk partitions from monitoring. For example, to exclude all disk partitions starting with /snap, mention the RegEx as /snap.*
  3. Save the changes. On saving the template, disk partitions matching the RegEx /snap.* will be deleted for existing server monitors and the disk partitions will be excluded from monitoring for the new server monitors to be added.

Hope this helps. Please let us know for queries, if any, in the below thread.

Happy Monitoring!

Reply 0

Re: Re: Exclude disk partitions from monitoring

Finally!

Thank you for this! Works just fine!

EDIT: It only seems to work. When I set the pattern, the warning go away for a while. But then it come back, ignoring the pattern.
By the hint text, it seems that applying a pattern will delete the matching disk monitors (thus "fixing" the issues), but after a while the monitors are back on. Probably because the agent is still sending data about the disks.

To me, this seems like a implementation bug. Could someone confirm?

Reply 0

Re: Re: Re: Exclude disk partitions from monitoring

Hi,

We have made changes to prevent the deleted disks from being added again, even if the agent sends data for the deleted disk(s). Please use the option Bulk Associate to Multiple Monitors and select the servers from which you want to exclude the mentioned disk partitions. This would ensure the disk partitions are completely excluded from monitoring.

Hope this helps. Let us know for further queries, if any.

 

Thanks!

Reply 0