NNM9.20.004 SNMP trap incident enrichment. (248 Views)
Reply
Advisor
RishatS
Posts: 24
Registered: ‎01-24-2014
Message 1 of 3 (248 Views)

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?

Please use plain text.
Trusted Contributor
AlexanderH
Posts: 171
Registered: ‎06-13-2006
Message 2 of 3 (193 Views)

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

Please use plain text.
Advisor
RishatS
Posts: 24
Registered: ‎01-24-2014
Message 3 of 3 (183 Views)

Re: NNM9.20.004 SNMP trap incident enrichment.

Thanks for your reply.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation