It seem that the override directive doesn't work with the warm boot. I try some test last nigth and found error on each line after a -HUP.
Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.conf: line 44: Error: oid registration failed within the agent Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.conf: line 45: Error: oid registration failed within the agent Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.conf: line 46: Error: oid registration failed within the agent Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.conf: line 47: Error: oid registration failed within the agent Jan 1 01:40:27 Overture snmpd[101]: /tmp/snmpd.conf: line 48: Error: oid registration failed within the agent The error is located in the file override.c in the last "if" of the function netsnmp_parse_override()when we call the function netsnmp_register_instance() (line 239). It return MIB_DUPLICATE_REGISTRATION instead of replacing with the new data. Did you have any idea how to fix this issue? --- Dave Shield <[EMAIL PROTECTED]> wrote: > On 31/07/07, Fong Tsui <[EMAIL PROTECTED]> wrote: > > How does override work? It seems it ignores what > var_XXX( ) does. > > That's correct. > It will return the given value for the specified > OID, overriding whatever > the agent code would normally report, and hence > ignoring the var_XXX() > routine. > > It's basically used to avoid the need to write code. > > Dave > > ------------------------------------------------------------------------- > 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-coders mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail: http://mrd.mail.yahoo.com/try_beta?.intl=ca ------------------------------------------------------------------------- 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-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
