Re: net-snmp agent API document is lacking

2008-11-19 Thread dan anderson
Oh, and I haven't got it handy but there is definitely a page somewhere on net-snmp.org with info on multiple handlers for a given mib object. 2008/11/19 dan anderson <[EMAIL PROTECTED]>: > Try http://net-snmp.sourceforge.net/dev/agent/group__handler.html#_details > for some information to start o

Re: net-snmp agent API document is lacking

2008-11-19 Thread dan anderson
Try http://net-snmp.sourceforge.net/dev/agent/group__handler.html#_details for some information to start off. Yeah, the docs are a little lacking in some areas. If you find yourself understanding things and able to articulate that knowledge, I'm sure many people would be grateful if you wrote it u

net-snmp agent API document is lacking

2008-11-19 Thread Jared Gisin
I'm trying to find some simple explanations of some of the things in the net-snmp API. For example, what is a "handler chain"? How do they work, how are they created? Why and when do I need to "inject" into a handler chain? At what point do I have a handler chain? How can I use the same cache to se

How can I read a conf file line from a client app?

2008-11-19 Thread zig fun
I'm on a win32 platform. I'd like to have a line in a conf file that will tell me where the agentX is running, such as: agentxsocket 123.456.789.000 I tried c =netsnmp_ds_get_string(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_X_SOCKET); but it returns NULL pointer unless I called c =netsnmp_d

Re: netsnmp_register_table_iterator(NULL)

2008-11-19 Thread ainzuri
It is solved. The problem was I hadn´t uninstalled the default NetSnmp version, the one shipped with Solaris, and the program was using libraries of the previous version. To solve it, I have changed PATH and LD_LIBRARY_PATH, with the path to the newer libraries in the first place.   Thanks. ---

AW: how to install on get running on HP-UX

2008-11-19 Thread Hanig, Michael
You should uninstall the default SNMP version before installing net-snmp. At least, that worked for me on my Linux system. Von: Allen, Bill [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. November 2008 20:06 An: [EMAIL PROTECTED] Cc: [email protected]