Adding new row in MIB table using API

2005-05-19 Thread James Hardin
Hi,   I'm using ucd-snmp-4.2.4 and know how to use the API to set a variable, but don't know how to create a new row in an existing table.  Can someone send me a code example of how to do this using the ucd-snmp API?     Thanks, Jim ---

net-snmp 5.0.8 - not able to get trap, my problem?

2005-05-19 Thread Haizhu Liu
Hello, I am using net-snmp 5.0.8. I am trying the example code on the web: I have my host registered as a trap receiver, and the code is as follows. I don't understand why it hangs over select(). Similar piece of code worked okay with ucd-snmp 4.2.5 version. snmp_sess_init( &snmp_session_data

Setting the snmpTrapAddress in v2

2005-05-19 Thread Shobana Sampath
Hi, Is this the correct way to set the source address of a trap, that is, by setting the snmpTrapAddress(1.3.6.1.6.3.18) object with the agent-addr field? Thanks. /Shobana __ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs

SNMP query

2005-05-19 Thread shrikanth
Hi, Right now i am in to a project to develop an application titled "Network Topology discovery" using SNMP protocol.As part of the discovery my application should discover the kinds of nodes in the N/W(like routers,pc) and also should dicover the kind of OS running on the system. Kindly help ho

Regarding index allocate feature of agentx

2005-05-19 Thread Ravi
Hi .. I am using net-snmp-5.1.1 . I ve developed two subagents which supports their own MIB. Subagent1(rfc 2662) and subagent2(rfc 2558). Now I want both the subagents to suport iftable of rfc1213 with separate indeces. So it would be great if anybody tells me what are all the API's i n