Re: snmptrap command

2011-04-01 Thread Dave Shield
On 1 April 2011 00:54, akshata s harkantra wrote: > After I identified  the notifcation object, the following is working > > snmptrap -v 1 > But the same thing when I try using v2/v3 version ,It gives the following > error [Changing -v to 2c or 3] As Erik has indicated - the structure of S

RE: snmptrap command

2011-04-01 Thread Eirik Nordbrøden
mptrap. Eirik Nordbrøden (+47) 90174789 > From: akshata s harkantra [mailto:[email protected]] > Sent: 1. april 2011 01:54 > To: Dave Shield > Cc: [email protected] > Subject: Re: snmptrap command > > Thanks Dave for your suggestion. >

Re: snmptrap command

2011-03-31 Thread akshata s harkantra
Thanks Dave for your suggestion. After I identified the notifcation object, the following is working snmptrap -v 1 -c public -M "my mibs path" "address" SNMPv2-MIB::snmpTrapOID localhost 5 1 '' SNMPv2-MIB::sysName.0 s "test" For the above command I see the string "test" getting received on the

Re: snmptrap command

2011-03-31 Thread Dave Shield
On 31 March 2011 07:48, akshata s harkantra wrote: > I need to send a message or string using snmptrap command to the receiver end. >snmptrap -v 2c -c public "ipaddress" sysDescr.0 No. The OID that you send with snmptrap must be the OID of a *notification* object. (i.e. one defined using NOT