>>>>> On Mon, 13 Feb 2006 15:37:32 +0530, <[EMAIL PROTECTED]> said:
vikas> As soon as it reads the token from the file given , it has to call the vikas> parser function which will get the token and its value as its vikas> paramters . But in my code the parser function is not being called at vikas> all . Your parser should be called if there is indeed a token with the registered name within a snmp.conf file. I suspect you actually want to read a token in the snmpd.conf file though, in which case you need to use snmpd_register_config_handler() instead then. register_config_handler() is more generic. If you want your own file (which I think you said), you do *not* specify the filename. Instead, you specify the base name and it will be read from any snmp configuration paths. IE, specifying the first argument of "abcd" will make it read from "abcd.conf" in potentially many locations. -- Wes Hardaker Sparta, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
