1) U cannot know the number of children under a node, but u can traverse the child list using -
struct tree *tp, *temp;
//Assing tp to the parent of interest here...
for (temp = tp->child_list; temp; temp=temp->next_peer)
2) U can use some of the freely available GUI based SNMP trap receivers and c
Since u r new, instead of writing an agent, u can extend the existing agent with your MIB and run it on the target machine.Jonathan Halpern <[EMAIL PROTECTED]> wrote:
Hi all, im quit new in snmp and i have already installed theNetSnmp v5.2 under my cygwin in windows XP.Im trying to write an agent..
Try this -
paste the MIB in the same directory as the application snmpget, and run snmpget.Jonathan Halpern <[EMAIL PROTECTED]> wrote:
hi all,i'm quit new in snmp & NetSnmpI,m tryiing to add a MIB to the agent...so i have created MY-MIB , i have pasted it in /usr/local/share/snmtp/mibs...and i have
Hi Richard,I have done that activity in the past. Here are the steps -1) Compile your MIB using mib2c. This will generate the agent handler modules with stub functions.2) Write your code inside the stub functions to retrieve the device specific data.3) run configure with module compilation option
Hi Richard,I have done that activity in the past. Here are the steps -1) Compile your MIB using mib2c. This will generate the agent handler modules with stub functions.2) Write your code inside the stub functions to retrieve the device specific data.3) run configure with module compilation option
Hi Richard,
I have done that activity in the past. Here are the steps -1) Compile your MIB using mib2c. This will generate the agent handler modules with stub functions.
2) Write your code inside the stub functions to retrieve the device specific data.
3) run configure with module compilation op
Hi Richard,
I have done that activity in the past. Here are the steps -1) Compile your MIB using mib2c. This will generate the agent handler modules with stub functions.
2) Write your code inside the stub functions to retrieve the device specific data.
3) run configure with module compilation optio
Please check out http://in.geocities.com/ka12mon for a simple API for SNMP traps.
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!