Is there API which I can call to get value of an OID, which is set by
override (in snmpd.conf)? My subagent exposes certain data depending on
the value of the OID.
How does override work? It seems it ignores what var_XXX( ) does.
Thanks,
FT
--
I figured out the core dump is caused by an invalid pointer being used.
My subagent.c code file calls routine "agent_check_and_process()" which calls
the "snmp_timeout()" routine (provided below).
snmp_timeout(void)
{
struct session_list *slp;
snmp_res_lock(MT_LIBRAR
In the subagent file (ie: "snmpSubagent_ocStbHostMib.c"), the main routine is
called to initialize the subagent and start it running. Actually, I changed
the name from "main()" to "snmp_subagent_main()". Anyway, inside of this
function, there is call to "agent_check_and_process()", which obvi
Hi
The master agent create only the socket !
In this fault: master
The directory: /var/agentx
must exist !
Then the Agent will create the socket file `master` in the existing directory
/var/agentx
If this directory exist and the same error exist, the check the permissions of
the directory ;-