First, the easy one.  I've set up a class mapping called "Other".  If I 
navigate to it from the Events list, and then click the Events tab, I see that 
events are matching it.  In the transform field I have the following:

Code:
evt.summary = evt._details[7][1]


Yet in the summary for the event itself it shows:

Code:
snmp trap enterprises.19444.6.2.1.1


The mapping is clearly being hit since I can change the zProperties' severity 
and see that reflected, and events are also showing up in the Events tab.  I 
don't know why the summary is not changing though.

If I go to zendmd, and do the following:

Code:
>>> evt=dmd.ZenEventManager.getEventDetailFromStatusOrHistory("DF6BCC0ef44a2fc821fff0d9a")
>>>     
>>> print evt._details[7][1]
A problem with the subscriber configuration, or the specified Access 
Device, is preventing a subscriber from making or receiving calls.
Subscriber's Directory Number   = 9285551234
Signaling type (1 - Line, 2 - ISDN PRI, 3 - ISDN BRI, 4 - SIP) = 1


I see that evt._details[7][1] should be populated with a valid string.

That's problem number one -- number two is that I have other mappings set up 
with rules such as this:

Code:
evt._details[7][1].startswith("A problem with the subscriber configuration, or 
the specified Access")


And they're not working at all.  No events show up in the Events tab even 
though the event from above should have been mapped to it.  Again, through 
zendmd I can confirm that the above statement in the rule evaluates to true.

Thanks for any help.  The documentation for this functionality in the admin 
guide is just awful.




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

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

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



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

Reply via email to