Hi all,

I have been playing with and testing Zenoss for about a month now. I am trying 
to set up network monitoring for cca 200 Cisco switches. I have learned some 
new stuff and got to know Zenoss quite a bit, but there is one thing I have not 
completely solved:

I need to prioritize events on specific ports of specific boxes above the 
others. Say a trunk link, a part of the backbone, goes down - event severity 
gets 'critical', a server's port goes down - event priority gets 'error', other 
ports are considered for users' PC and events get cleared straight away.

I have only come up with a HUGE if/elif/elif/... piece of script in 
event/transform, where there could be something like the following:


Code:

if evt.device = "switch1":
   if evt.summary.contains("GigabitEthernet1/0/2"):  # backbone
      evt.severity = 5
   elif evt.summary.contains("GigabitEthernet1/0/3"): # backbone
      evt.severity = 5
   ...
elif evt.device = "switch2":
    if evt.summary.contains("GigabitEthernet1/0/1"): # backbone
      evt.severity = 5
   elif evt.summary.contains("GigabitEthernet1/0/3"): # server
      evt.severity = 4
   ...
...




The problem is the size of such a script (there couldt be hundreds of cases), 
potential performance issues and difficulty to manage it and to respond to 
network changes. Does anyone have an idea how to meet the goal in an easier way?

Thank you,

Martin




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27007#27007

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to