Re: Need help with snmptrapd command

2016-07-19 Thread Hemanth Kumar
Lee, Thanks for the pointer ... as per the snmpcmd(1) documentation , the file is supposed to exist in the following path ... /usr/local/etc/snmp/snmp.conf or ~/.snmp/snmp.conf ... I don't see them ... guess will have to make one Will revert with the outcome once I try it out. -Hemanth On

Re: Need help with snmptrapd command

2016-07-19 Thread Hemanth Kumar
> information added. Put the snmptrap shell script somewhere in the path > ahead of the real net-snmp executable. > > > > Alan > > > > *From:* Hemanth Kumar [mailto:hemanthn...@gmail.com] > *Sent:* Tuesday, July 19, 2016 5:20 AM > *To:* net-snmp-users@lists.sourc

Re: Need help with snmptrapd command

2016-07-19 Thread Lee
On 7/19/16, Hemanth Kumar wrote: > HI, > I am trying to figure out a way by which I can send following trap command > without adding/mentioning the port number. Set the port number in snmp.conf? defaultPort PORT defines the default UDP port that client SNMP applications will

RE: Need help with snmptrapd command

2016-07-19 Thread Robson, Alan
net-snmp executable. Alan From: Hemanth Kumar [mailto:hemanthn...@gmail.com] Sent: Tuesday, July 19, 2016 5:20 AM To: net-snmp-users@lists.sourceforge.net Subject: Need help with snmptrapd command HI, I am trying to figure out a way by which I can send following trap command without adding

Need help with snmptrapd command

2016-07-19 Thread Hemanth Kumar
HI, I am trying to figure out a way by which I can send following trap command without adding/mentioning the port number. The receiver is receiving the trap when the custom port number is mentioned snmptrap -v 2c -c rscommunity :166 "" TRAP-TEST-MIB::demotraps SNMPv2-MIB::sysLocation.0 s "some mes