Re: NNM9.20.004 SNMP trap incident enrichment. (283 Views)
Reply
Advisor
RishatS
Posts: 31
Registered: ‎01-24-2014
Message 1 of 3 (348 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?

Trusted Contributor
AlexanderH
Posts: 172
Registered: ‎06-13-2006
Message 2 of 3 (293 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

Advisor
RishatS
Posts: 31
Registered: ‎01-24-2014
Message 3 of 3 (283 Views)

Re: NNM9.20.004 SNMP trap incident enrichment.

Thanks for your reply.

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.