Hi Saurabh, you can use the event rule "event condition" to test the value of the Event Var (varbind).
Regards, Bruce On 19 Mar, 2013, at 2:09 AM, "Bohra, Saurabh" <[email protected]> wrote: > Hello All, > > We are configuring Windows SNMP service to look at the Event log and if there > is an error of interest send trap to Spectrum. > > One of the varbinds in the trap is Event Type > (http://msdn.microsoft.com/en-us/library/windows/desktop/aa363661(v=vs.85).aspx) > > Is there way to do lookup for the varbind value and display string instead of > number in the event. I tried to use EventTable and that does not seems to > work. Any suggestions? > > I tried to use the lookup as below also, however it did not work. > > 0x00000001 EVENTLOG_ERROR_TYPE > 0x00000002 EVENTLOG_WARNING_TYPE > 0x00000004 EVENTLOG_INFORMATION_TYPE > 0x00000008 EVENTLOG_AUDIT_SUCCESS > 0x000000010 EVENTLOG_AUDIT_FAILURE > > Thanks, > > > <image001.png> > > <image002.png> > > > > <image003.png> > > <image004.png> > > > > > > > Saurabh Bohra > Sr. Network Mgmt Systems Analyst > ESPN Inc. > O: 860-766-0842 | M: 860-385-3597 | e-mail: [email protected] > > --To unsubscribe from spectrum, send email to [email protected] with the body: > unsubscribe spectrum [email protected] --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
