Go to All Forums

Configuration Rules - Exclude disk partitions not working

I have previously been using Configuration Templates to exclude disk partitions from monitoring for a few months and that was working fine.  With the recent conversion to Configuration Rules though, it seems I'm not longer able to exclude disk partitions.  I have tried both regex pattern like /snap.* as well as string match of /snap* but a series of /snap/... partitions remain in the list and result in false alerts as these EC2 partitions always report as 100% full.

Any suggestions or help appreciated.

 

Like (12) Reply
Replies (25)

Dear user,

  We apologize for the problem you are facing. I assume that you are using both EC2 and Server agent for your monitoring. We have identified an issue for EC2 with server monitoring and are working on fixing it with high priority. Will update here once it goes live. 

-Jasper

Product Manager, Site24x7

Like (0) Reply

Hey There,

  The issue is fixed and its live now. Please let us know if works.

-Jasper

Like (0) Reply

Hi Jasper,

Thanks to you and the team for pushing out a fix so quickly.  Unfortunately though the issue I'm having remains.  At present I am using just the server agent.  I had previously been using the AWS agent/monitor as well but stopped that for similar reason... I couldn't exclude disk partitions. That was before the switch to configuration rules though. I'm happy to provide any details that would be helpful in finding this issue.

Thanks,

Brian

Like (0) Reply

Hey Brian,

   Thanks for coming back. We need to look at your account logs for us to troubleshoot further. Can you please contact support@site24x7.com. I'll summarize here once we fix the issue for you.

 

-Jasper

 

Like (0) Reply

We are having this issue as well.  Any instance that has the AWS ssm agent alerts for the /snap* partitions.  We are using both EC2 and server monitoring.  Should these partitions automatically be ignored or do we need to create some kind of exclusion list?

Running linux agent version 17.5.6.

Like (0) Reply

Disregard, with the proper configuration rules in place these partitions are being excluded as designed.

Like (0) Reply

Is there an example or FAQ page etc.., instructing how to exclude these in AWS templates?  I haven't been able to find one, and it's not actually in this thread as far as I can see... it's only alluded to that such a configuration solution exists.

Like (0) Reply

Todd, you need to create a configuration rule.  Instructions can be found here www.site24x7.com/help/admin/configuration-rules.html.  In the configuration rule, once you select server monitor as the monitor type, there is an option for exclude disk partition.

Like (0) Reply

Hi!
I'm trying to exclude disk partitions too but IT Automation Templates are empty.

IT Automation template selection without preloaded templates

I've tryed create an Automation Template to do same as "Exclude Disk Partitions" but it isn't intuitive to me.
How can I do that?

Like (0) Reply

Hi,

You can exclude disk partitions without associating IT Automation Templates using Configuration Rules. Please follow the steps below:

  1. Log in to Site24x7 and go to Admin >  Inventory > Configuration Rules.
  2. Click on Add Rule if you are adding a new one or select an existing one from the list.
  3. Select the Monitor Type as Server Monitor.
  4. Select the Action as Exclude Disk Partitions.
  5. 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.*
  6. Save your changes.

If you wish to associate IT Automation Templates, please create one (if you don't have one) using the option +Add Automation Template in the IT Automation Templates drop-down and then associate them.
Note: This is not a mandatory option.

Hope this helps. Let us know for further queries, if any, in the below thread.

 

Regards,

Mathangi

 

Like (0) Reply

This appears to of stopped working.  All the /snap/* disk partitions began to alert over the weekend.  I rebuild the configuration rule, added in all the RegEx patterns such as *snap*, /snap.*, /snap/*,/snap/*/* and it doesn't work.  I excluded it manually as well and even removed the snap partition but when I ran a rediscovery, it comes back up and so does the alarm.  I even changed the priority to the top but nothing works.  In the meantime, I had to copy the default server profile, rename it for Linux only, and remove monitoring disk partitions to stop the alerts.  

All the agents are on the newest version.

Like (0) Reply

Dear Sheppard,

  Apologies for the issue caused. Our team is investigating it. We'll get back if we need further information. Thanks for raising it. 

-Jasper

Like (0) Reply

Still happening FYI.  The configuration rule use to work and now it just stopped.  We're getting multiple alerts:

 

 

Like (0) Reply

Quick update to this.  I just now redid the configuration rule, this time removing all the entries and only entering in one and that appears to be working.  Will keep my eye on it

Like (0) Reply

Dear Sheppard,

Extremely sorry for the havoc caused due to this issue. We fixed it few days back and its being monitored regularly. Please do let us know if you find any anomalies.

Regards,

Jim

Like (0) Reply

Thank you so much for her helps

Like (0) Reply

Hi this problem continue, i has created the exclude rule for volumen /snap*, run again the rule and again discover all volumen "snap" in all instance EC2 and alarm jump again in all disk.

 

Attachments
Error disk snap.jpg
Size: 92.77 KB
Like (0) Reply

Hi Alberto,

Apologies for the inconvenience caused.
Please use the regex /snap.* instead of /snap* in the Exclude Disk Partitions action under Configuration Rules. The regex should match the whole disk partition name. Click Run Rule to delete the existing /snap.* partitions from monitoring.

Also, this will prevent the addition of /snap.* partitions for monitoring in the future, as long as the rule is not modified/deleted. 

If you have configured multiple Configuration Rules, please check here to set priority for the rule.

Hope this helps! Let us know for further queries, if any, in the below thread.


Regards,

Grace.

 

Like (0) Reply

Thanks, i works fine, i not has problem for the moments. Regards.

Like (0) Reply

Hi again, i have again the same problem, in my servers the check of disk discover again the partitions /snap*, i have configure the rule for exclusion but again showing disk and alarm for this. Not working fine, this problem is recurrent i need solve this issue. Thanks a lot.

 

PD. and no change was applied to the system

Attachments
Like (0) Reply

I'm having the same problem as well.  Just started today.  All the servers with the issues are alerting

Like (0) Reply

Change the RegEx espression from this /snap.* to this /\/snap.*

Works for mi config rules. :D

Like (0) Reply

Change the RegEx espression from this /snap.* to this /\/snap.*

Works for mi config rules. :D

Like (0) Reply

Thanks but doesn't look to be working on my end.  Took the servers out of maintenance to try and its still alerting

Like (0) Reply

Hi Coolie Sheppard,

Hope you are doing great!

We believe you might have more than one configuration rules and the rules are run on priority. We recommend following the instructions provided in this Knowledge Base document of ours regarding disk partition for better understanding.

Please do let us know if you face any difficulties.

Happy monitoring!
Geo

Like (0) Reply

Was this post helpful?