Re: 2 questions.

2005-04-07 Thread K M
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

Re: toolkit

2005-04-07 Thread K M
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..

Re: MY-MIB problem!!!!!!!!!!!!!!

2005-04-07 Thread K M
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

Re: adding HP Procurve MIBS

2005-03-29 Thread K M
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

Re: adding HP Procurve MIBS

2005-03-29 Thread K M
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

Re: adding HP Procurve MIBS

2005-03-29 Thread K M
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

Re: adding HP Procurve MIBS

2005-03-29 Thread K M
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

SNMP Trap API

2005-03-23 Thread K M
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!