So I
> curiously tested for snmptrap command for valgrind and its leaking. For me,
> I want to have leak proof code.
>
snmptrap is leaking 35 bytes, in functions that are called only once, in a
process that exits quickly. It is just make-work to try to fix this, IMO.
I looked into stable v
On Thu, Feb 6, 2014 at 7:11 AM, Chaitanya Gulhane <
[email protected]> wrote:
>
> Hi,
>
> I was using net-snmp 5.6.2 and have built the code and installed it.
>
> I was using valgrind over snmptrap command.
> Following is the command I ran.
>
> valg
Hi,
I was using net-snmp 5.6.2 and have built the code and installed it.
I was using valgrind over snmptrap command.
Following is the command I ran.
valgrind --leak-check=full --log-file=log_snmptrap snmptrap -v 2c -c public
"" localhost UCD-TRAP-TEST-MIB::demoTrap
Following is th
he structure of SNMPv2/3 is *not* the same as
that of SNMPv1.The parameters to the "snmptrap" command are very
different for the two versions.
See the man page for details.
But there's another problem with both the command you are using,
and the amended version that Erik
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.
>
SNMPv2-MIB::snmpTrapOID
localhost:162 7 1 '' SNMPv2-MIB::sysName.0 s "Sending a test trap"
Regards,
Akshata
On Thu, Mar 31, 2011 at 12:37 AM, Dave Shield wrote:
> On 31 March 2011 07:48, akshata s harkantra
> wrote:
> > I need to send a message or string using sn
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. o
Hi,
I need to send a message or string using snmptrap command to the receiver
end.
snmptrap -v 2c -c public "ipaddress" sysDescr.0
I am able to receive traps using the above command on the receiving end.
However I am interested to send a message or string using the snmptrap
command
On 27 July 2010 13:29, Nisha Thomas wrote:
> Could you please help me to send trap to a specific port using snmptrap
> command line utility.
>
> I couldn’t find the argument to specify port in the ‘snmptrap’ command. Is
> there any way to specify the port in that command?
Hi,
Could you please help me to send trap to a specific port using snmptrap
command line utility.
I couldn’t find the argument to specify port in the ‘snmptrap’ command. Is
there any way to specify the port in that command?
Thanks in Advance,Nisha
Hi,
I am using snmptrap command to send traps. I want the command to use
the version and community string from snmpd.conf file and not from the
arguments passed as command line. How does it work?
I modified snmpd.conf file with values for trap sink, trap community
etc. Then I copied the file
11 matches
Mail list logo