[AGENT++] Regarding trappdu generation

somenath.pal at wipro.com somenath.pal at wipro.com
Tue Apr 3 12:02:02 CEST 2007


Hi,

                        I'm trying to execute the trap generation
functionality in agent++.

 

I compiled and executed the example code agentpp_notifytest_mib.cpp
present in the atm_mib examples directory..

 

But we are not able to receive the Varbind's (in this example it is 9)
in the trap pdu.

 

Below given MIB attributes should be present in the trap pdu.

 

agentppNotifyTestAllTypes NOTIFICATION-TYPE
        OBJECTS {
               nlmLogVariableCounter32Val,
               nlmLogVariableUnsigned32Val,
               nlmLogVariableTimeTicksVal,
               nlmLogVariableInteger32Val,
               nlmLogVariableOctetStringVal,
               nlmLogVariableIpAddressVal,
               nlmLogVariableOidVal,
               nlmLogVariableCounter64Val,
               nlmLogVariableOpaqueVal}
        STATUS current
        DESCRIPTION
               "A notification with objects of all possible SNMPv2/v3
types."
 -- 1.3.6.1.4.1.4976.6.2.2.0.1 --  ::= { agentNotifyTestTrapNode 1 }

 

Could any one help on this?

 

Thanks in advance

 

 

--Somenath Pal

 

 




The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com


More information about the AGENTPP mailing list