Hello guys,

I am struggling with netsnmp_handler_registration_create.

I am able to register handlers for some OIDs and I receive requests in the
handler. E.g. when I register for .1.3.6 I receive request for
1.3.6.1.2.1.1.9.1.5.

When I register for 1.3.6.1.4 or 1.3.6.1.4.x.y the requests are not passed
to the handler but I can see something coming in the loop

while(keep_running) {
   agent_check_and_process(1);
   printf("mainloop\n");
}


The debug for snmpwalk -v 1 -c public localhost .1.3.6.1.4 shows

Connection from UDP: [127.0.0.1]:-32762
handler:calling: main handler bulk_to_next
handler:calling: calling handler bulk_to_next for mode GETNEXT
handler:returned: handler bulk_to_next returned 0
handler:calling: calling handler null for mode GETNEXT
handler:returned: handler null returned 0
mainloop
Connection from UDP: [127.0.0.1]:-32762
mainloop



I get the same behaviour when I run as master agent and subagent.

Do I need to do something special or enable something in conf files to be
able to use 1.3.6.1.4.x.y range?

Thanks.

Milan




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to