Re: snmp_add returns "No support for any checked transport domain"

2009-12-08 Thread Goutham BG
On Tue, Dec 8, 2009 at 9:00 PM, Goutham BG wrote: > > On Tue, Dec 8, 2009 at 8:52 PM, Dave Shield wrote: > >> 2009/12/8 Goutham BG : >> > 9. // Open a SNMP session >> >ss = snmp_add(&session,netsnmp_transport_open_client("snmptrap", >> >session.peername), NULL, NULL); >> >> >>

snmpset fails on MIPS

2009-12-08 Thread nathan
Hi, I am calling snmpset on an OID like this...snmpset -v2c -cpublic i 23. In x86 platform, the agent gets this message and the value 23, executes fine. Then I cross compiled for MIPS, the same code, and issued the same cmd..now the agent is running on MIPS. Now the value received by the agen

Re: snmp_add returns "No support for any checked transport domain"

2009-12-08 Thread Goutham BG
On Tue, Dec 8, 2009 at 8:52 PM, Dave Shield wrote: > 2009/12/8 Goutham BG : > > 9. // Open a SNMP session > >ss = snmp_add(&session,netsnmp_transport_open_client("snmptrap", > >session.peername), NULL, NULL); > > > > What value does session.peername actually have? > > Try somet

Re: snmp_add returns "No support for any checked transport domain"

2009-12-08 Thread Dave Shield
2009/12/8 Goutham BG : > 9. // Open a SNMP session >    ss = snmp_add(&session,netsnmp_transport_open_client("snmptrap", >session.peername), NULL, NULL); What value does session.peername actually have? Try something like"udp:127.0.0.1" Dave --

snmp_add returns "No support for any checked transport domain"

2009-12-08 Thread Goutham BG
Hi All I am using net-snmp to implement the alarm notifications using SNMPv2 traps. I intend to send the alarm generated in the system as SNMPv2 traps. In order to send SNMPv2 traps using net-snmp, I have followed the below mentioned steps. Queries: 1. Please refer the steps mentione