chrisv
2012-04-11 19:16:40 UTC
chrisv [http://community.zenoss.org/people/chrisv] created the discussion
"Event Mapping"
To view the discussion, visit: http://community.zenoss.org/message/65831#65831
--------------------------------------------------------------
I have an eventclasskey, MSCRMEmail_0 (from windows event log), that I'm trying to create two mappings for such that one will pick up a specific string in the event message and the second will catch all other cases.
I created the original mapping, MSCRMEMAIL_0_0, via the Zenoss event console using the above eventcalsskey and with a sequence number of 1 which will be my catch all mapping. I then created MSCRMEMAIL_0_1, again using the above eventclasskey but with a sequence number of 0, this is my specific message mapping. I've tried using a regex expression, 61042\s-\s.*$, to catch the string and a rule, evt.summary.startswith('#61042'), but neither seems to pick up the event. The example is #61042 - An error occurred while processing the outgoing e-mail message with subject "StyleADVISOR - Early Index Update is now
Regardless of which method I use to catch the event in a mapping the event always ends up mapped to MSCRMEmail_0_0. oddly enopugh both mappings will show the event when I click the events link from the mapping.
FWIW what I want to do is catch the specific text in the event message, becasue the eventclasskey alone is not enough to catch the specific event, so that I can change the event severity which I'm trying to do via the eventclass mapping properties.
I've been over the documentation several times and feel I'm close but cannot see where this is failing to pickup the correct mapping and thus change the event severity.
ChrisV
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65831#65831]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Event Mapping"
To view the discussion, visit: http://community.zenoss.org/message/65831#65831
--------------------------------------------------------------
I have an eventclasskey, MSCRMEmail_0 (from windows event log), that I'm trying to create two mappings for such that one will pick up a specific string in the event message and the second will catch all other cases.
I created the original mapping, MSCRMEMAIL_0_0, via the Zenoss event console using the above eventcalsskey and with a sequence number of 1 which will be my catch all mapping. I then created MSCRMEMAIL_0_1, again using the above eventclasskey but with a sequence number of 0, this is my specific message mapping. I've tried using a regex expression, 61042\s-\s.*$, to catch the string and a rule, evt.summary.startswith('#61042'), but neither seems to pick up the event. The example is #61042 - An error occurred while processing the outgoing e-mail message with subject "StyleADVISOR - Early Index Update is now
Regardless of which method I use to catch the event in a mapping the event always ends up mapped to MSCRMEmail_0_0. oddly enopugh both mappings will show the event when I click the events link from the mapping.
FWIW what I want to do is catch the specific text in the event message, becasue the eventclasskey alone is not enough to catch the specific event, so that I can change the event severity which I'm trying to do via the eventclass mapping properties.
I've been over the documentation several times and feel I'm close but cannot see where this is failing to pickup the correct mapping and thus change the event severity.
ChrisV
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/65831#65831]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]