Do you have " -C (a capital c) /path/to/config/file " in your startup script? That will overwrite your config file upon startup.
Paul >>> "Ravi Kumar" <[EMAIL PROTECTED]> 01/25/06 4:28 AM >>> Hi All, I am using Net-SNMP Version 5.2.1.2 and building an agent on LINUX. Agent was running fime and sending appropriate traps. Suddenly I see that I am receiving 2 traps on one event.For this when I started trouble shooting, then observed that snmpd.conf is overwritten and i am not able to read the contents in it. When i stop the netsnmp agent and replace the snmpd.conf file again it gets overwritte. If any one of you have occured the problem please let me know the solution. I am also attaching the overwritten snmpd.conf file format. Please help me in resoulving this problem Thanks in advance. regards Ravi Kumar # # net-snmp (or ucd-snmp) persistent data file. # ############################################################################ # STOP STOP STOP STOP STOP STOP STOP STOP STOP # # **** DO NOT EDIT THIS FILE **** # # STOP STOP STOP STOP STOP STOP STOP STOP STOP ############################################################################ # # DO NOT STORE CONFIGURATION ENTRIES HERE. # Please save normal configuration tokens for snmpd in SNMPCONFPATH/snmpd.conf. # Only "createUser" tokens should be placed here by snmpd administrators. # (Did I mention: do not edit this file?) # setserialno 1691614697 engineBoots 1 oldEngineID 0x80001f888043699b3bb23ed643 ------------------------------------------------------- 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 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