snmptrap command

2011-03-30 Thread akshata s harkantra
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 . If I use s

Re: build errors with net-snmp v5.6 (macros conflict with struct field names)

2011-03-30 Thread Niels Baggesen
On Wed, Mar 30, 2011 at 09:00:12PM +, David Chappelle wrote: > Does anyone have any idea on how to get around this issue? Is it a > bug or am I perhaps trying to use an invalid mib module configuration? Well, you are confusing the two implementations of IF-MIB, even though it seems like you tr

build errors with net-snmp v5.6 (macros conflict with struct field names)

2011-03-30 Thread David Chappelle
I have an issue building net-snmp v5.6. It appears that there are some incompatible files in the source tree where one file defines a macro as a constant and another file uses the same name as a struct field name. Here are my configure arguments: CONFIGURE_ARGS="--enable-ipv6 --enable-share