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

help on nnmsnmpnotify.ovpl

SOLVED
Go to Solution
Highlighted
Regular Advisor

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 ?

1 REPLY
Trusted Contributor

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 !!!