Event Management: SNMP Traps Generating Events But With Errors.

thisisauniqueus
Giga Expert

Hi,

 

I am trying to configure SNMP traps with Servicenow. So far i have successfully installed the mid-server and event management module. Events are being generated by mid-server but the problem is their state is always set to Error. Please refer to the attachment belowfind_real_file.png

 

How can i test/debug the SNMP traps? Any suggestions?

 

Regards

1 ACCEPTED SOLUTION

Field Mapping is not setup OOTB for all source. If you created a new source you must setup the field mapping for the data you are sending over via snmp to match the fields and values within SN. 

 

So your error is around severity field and the data you sending over does not match. To prove this issue, I went ahead and deleted my mapping and I got the same error below.  find_real_file.png

 

Now, for this example, the data coming over from trap is above in the additional information field. You will see eventType value. We want to map this value to severity and have a mapped value for value 1. 

Below is a field mapping for eventType to severity. See all the values I have for the required fields. 

find_real_file.png

 

Once I made the mapping, I reran the same trap and it process through and I have an alert now. 

 

find_real_file.png

 

Alert record, with severity = Critical Label value with value of 1. 

find_real_file.png

 

 

I hope this helps. If it does, please make sure to make answer correct. 

View solution in original post

11 REPLIES 11

Patrick DeCarl1
ServiceNow Employee
ServiceNow Employee

Have you setup the event field mapping for the field?

The field mappings are OOTB, i haven't setup anything there. I can add the field mapping but not sure what to add there...

Field Mapping is not setup OOTB for all source. If you created a new source you must setup the field mapping for the data you are sending over via snmp to match the fields and values within SN. 

 

So your error is around severity field and the data you sending over does not match. To prove this issue, I went ahead and deleted my mapping and I got the same error below.  find_real_file.png

 

Now, for this example, the data coming over from trap is above in the additional information field. You will see eventType value. We want to map this value to severity and have a mapped value for value 1. 

Below is a field mapping for eventType to severity. See all the values I have for the required fields. 

find_real_file.png

 

Once I made the mapping, I reran the same trap and it process through and I have an alert now. 

 

find_real_file.png

 

Alert record, with severity = Critical Label value with value of 1. 

find_real_file.png

 

 

I hope this helps. If it does, please make sure to make answer correct. 

Thank you for your time and detailed answer.