Re: help on nnmsnmpnotify.ovpl (249 Views)
Reply
Frequent Advisor
tanish
Posts: 119
Registered: ‎12-08-2011
Message 1 of 2 (274 Views)
Accepted Solution

help on nnmsnmpnotify.ovpl

Hello Experts,

 

How can i pass variables of a trap in nnmsnmpnotify.ovpl.

 

Trap cbgpFsmStateChange (.1.3.6.1.4.1.9.9.187.0.1)
Varbinds:
state=HAS_VALUE type=OCTET STRING oid=.1.3.6.1.2.1.15.3.1.14.172.30.89.42 value=04 00
state=HAS_VALUE type=INTEGER oid=.1.3.6.1.2.1.15.3.1.2.172.30.89.42 value=1
state=HAS_VALUE type=OCTET STRING oid=.1.3.6.1.4.1.9.9.187.1.2.1.1.7.172.30.89.42 value=hold time expired
state=HAS_VALUE type=INTEGER oid=.1.3.6.1.4.1.9.9.187.1.2.1.1.8.172.30.89.42 value=6

 

i want to involve all these values in nnmsnmpnotify command. i tried this but failed.

node trap-oid variable type value [variable type value]

 

any hints ?

Trusted Contributor
trinhdong
Posts: 115
Registered: ‎03-13-2014
Message 2 of 2 (249 Views)

Re: help on nnmsnmpnotify.ovpl

Hello Tanish,

 

SYNOPSIS
nnmsnmpnotify.ovpl[-v version] [-c community] [-p port(default:162)] [-A] [-t timeout] [-r
retries] [-d] [-T] [-a agent_addr] [-e enterprise] node trap-oid variable type value[variable
type value]...

 

As your situation, plz find the following:

 

#nnmsnmpnotify.ovpl -v 2c "" -a <agent_addr> .1.3.6.1.4.1.9.9.187.0.1 .1.3.6.1.2.1.15.3.1.14.172.30.89.42 OCTETSTRING "04 00" .1.3.6.1.2.1.15.3.1.2.172.30.89.42 INTEGER 1 .1.3.6.1.4.1.9.9.187.1.2.1.1.7.172.30.89.42 OCTETSTRING "hold time expired" .1.3.6.1.4.1.9.9.187.1.2.1.1.8.172.30.89.42 INTEGER 6

 

Hope this help!

 

Best Regards,
Dong
HP Support
IF this or any post resolves your issue, Plz be sure to mark it as an accepted solution.
To show your appreciation, click KUDOS !!!
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.