ScreenShots
Who's Online
We have 170 guests onlineMost Popular howTo's
Latest Posts
HowTo
Newest Downloads
| How to find Alerting Rules using the Zenoss API |
| Monitoring - Zenoss | ||||||||||||||||||||||||||||||||
| Written by Allen Sanabria | ||||||||||||||||||||||||||||||||
| Friday, 19 March 2010 14:31 | ||||||||||||||||||||||||||||||||
|
Good Afternoon my fellow Zenoss users. here I bring you another Python tool to use with Zenoss. This tool will allow you to list all of your alerting rules, either by Group, User, or Query. If you are like me and have over 100 Alerting Rules. Managing these rules are more then a pain in the butt. Especially when you create a new rule and you know you created it correctly, but it just does not work... Well you might have another conflicting rule. Well what do you do in this situation?? You can go through each rule manually and sooner or later you will find it. Or you can use my tool to find it for you. You might ask... How will yout tool find the conflicting rule for me??? Well to be honest it will not find the rule for you. What it can do is search all the rules for a certain query. Which can return one or more alerting rules if they are similiar in nature. or you can have the tool, list all of your Alerting rules. Or you can have the script list all of your alerting rules by group or user. The toll will report back to you The Group/User, The Alerting Rules attached to that Group/user, and the Schedules Attached to that Alerting Rules. Where this tool really helped me, was when the DST changed happened. None of my schedules were working anymore, so the work around is to move all the schedules ahead of time. Using this script I found all my schedules very quickly, with out haveing to go through each of my alerting rules one by one.
If you need help, please post your questions here... [zenoss@zenoss ~]$ python ZalertingRules_Manager.py --type="users" --search="asanabria"q As you can see it will get you a wealth of data.. You can also search by query.. [zenoss@zenoss ~]$ python ZalertingRules_Manager.py --type="query" --search="/App/Log/Java" Many more features to come.....
Only registered users can write comments!
Powered by !JoomlaComment 3.22
3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."
|
||||||||||||||||||||||||||||||||
| Last Updated on Friday, 19 March 2010 16:14 |



Download Zenoss Alerting Rule Manager
( Votes)








