Hi All,
In my subagent code , I registered a call back function do_alarm() which
handles the events using snmp_alarm_register() .
As per my understanding from the snmp_alarm_register() code, the call back
function once called should be called again only after 5 sec.
But from the logs I could see t
Hi All,
I am using net-snmp version 5.4.3 and the openhpi subagent.
At the beginning both snmpd and the subagent were running OK and I was able
to query snmpget/walk on all mibs.
But, after a while (maybe a few hours or few days), snmpd starts becoming
not responsive from time to time.
snmpget -
Hi ,
Please let me know why run_alarms(); is used in agent_check_and_process();
In our sub-agent code we have a scenario like:
In the sub-agent code:
..
snmp_alarm_register (5, SA_REPEAT, do_alarm, NULL);
..
while (keep_running)
{
rc = agent_check_and_process (1);
}
Hi,
I am using Net snmp 5.4 version and the openhpi subagent.
>From the logs I could see the error messages(error on subcontainer '' insert
(-1)) while adding rows for only the event table (saHpiEventTable).
>From the net-snmp code:
int CONTAINER_INSERT(netsnmp_container *x, const void *k)
{
.
Hi,
I am using Net snmp 5.4 version and the openhpi subagent.
>From the logs I could see the error messages(error on subcontainer '' insert
(-1)) that are observed only while adding rows for
one event table (saHpiEventTable).
>From the net-snmp code:
int CONTAINER_INSERT(netsnmp_container *x, c
Hi Alec,
Thanks for the response.
But the openhpi-subagent code doesn't accept the -DALL flag.
It's restricted to accept only certain flags.
As I mentioned, in the subagent code registration of debug token is done
programatically as mentioned below (openhpi-subagent).
.
debug_
Hi,
My code is running as a subagent(openhpi-subagent).
When I am running the subagent , I can see only the messages of
snmp_log(...).
Please let me know if there is any means so that I can observe the
DEBUGMSGTL messages of the subagent code.
In my subagent code registration of debug token is d
Hi,
My code is running as a subagent(openhpi-subagent).
I have started the net-snmp master agent with debugging enabled.
(/usr/sbin/snmpd -Lsd -Lf /var/log/snmp1.log -p /var/run/snmpd.pid -a -D )
When I am running the subagent with -d option (or in /var/log/messages), I
can see only the messages