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: MIB In SNMP

2008-11-16 Thread zig fun
> The agent do not need to load the MIB, it only have to > provide the managed objects (the values) indexed by the object > identifier. Does this mean the agent has to use oid (1.2.3.4.xxx.1. etc) to reference an object in the MIB instead of the literal name of the object in the MIB?Since we nor