Network Management / (OpenView-NNM) Support and News Forum
Showing results for 
Search instead for 
Do you mean 

NNM9.20.004 SNMP trap incident enrichment.

Frequent Advisor

NNM9.20.004 SNMP trap incident enrichment.

I have SNMP Object ID, for example:.1.3.6.1.4.1.890.1.5.8.51.27.2.1 And i get trap with Custom Attributes and i want enrichment this incident by used one of custom attributes with oid (.1.3.6.1.4.1.890.1.5.8.68.26.1.1.1.2.X).
But there is one problem oid have the last digit(.X) of the variable, not a constant value.How i can enter variable value?

2 REPLIES
Trusted Contributor Trusted Contributor

Re: NNM9.20.004 SNMP trap incident enrichment.

Hi RishatS,

 

perhaps you'll give the following a try:

 

as an example, lets say the varbind is:

.1.3.6.1.4.1.23.4.5.7.100  (string)  /home

 

To get "/home" you could create a filter such as:

AND

     cia.name like  \Q.1.3.6.1.4.1.23.4.5.7\E.*

     cia.value  like /home

 

Note the use of \Q and \E to quote the OID,  also the use of .* at the end to match the instance which we won't know, and then the use of "like" to match the string.

 

HTH

Alexander

Highlighted
Frequent Advisor

Re: NNM9.20.004 SNMP trap incident enrichment.

Thanks for your reply.