Quantcast
Viewing all articles
Browse latest Browse all 1956

TIPS & TRICKS: Custom Property "Policies" using Alert Manager

The new web based alerting introduced in NPM v11.5 / SAM v6.2 is really cool (Great video available here to learn about Web based Alerting). One of the new Alert Actions is to set a Custom Property value. Custom Properties are tremendously powerful to filter dashboard resources, organize dashboard resources the way you would like, restrict user cases, limit reporting data sources, etc etc. Which got me thinking - I could essentially build custom property "policies" using this new Action.

 

As a simple test, I created a new Custom Property called "DeviceClass" with some drop-down values like Servers, Routers, etc

 

Image may be NSFW.
Clik here to view.
Core-CP-DeviceClass.png

I did not assign values to any of the Nodes

 

Then, I went ahead and created an Alert that looked the following

 

Properties: (although evaluating every 1 minute is an overkill here)

Image may be NSFW.
Clik here to view.
Core-CP-Policy-Alert-Properties.png

 

Trigger Condition:

(Click on Show List to see which Nodes will meet your criteria)

Image may be NSFW.
Clik here to view.
Core-CP-Policy-Alert-TriggerCondition.png

 

Reset Action:

(reset after 1 minute as there is no reason for the alert to stay active for ever)

Image may be NSFW.
Clik here to view.
Core-CP-Policy-Alert-ResetCondition.png

Trigger Action:

Image may be NSFW.
Clik here to view.
Core-CP-Policy-Alert-TriggerAction.png

 

And hit Save!!

 

Instantly, all my Windows servers had their DeviceClass custom property set to servers. And, will continue to do so for any new Windows servers that are added for monitoring.

 

I hope this simplifies managing custom properties for you!

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 1956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>