Hi,
we have 2 issues:
Issue number1:
we are starting snmpd daemon using following command:
 snmpd -a -c /mnt/jffs2/conf/snmpd.conf


In snmpd.conf following lines have been added for logging into a file 
/mnt/jffs2/conf/snmpd.log#Logging specifications logging 
/mnt/jffs2/conf/snmpd.log enabledlogging level=2 size=100000
but no logging is happening in file /mnt/jffs2/conf/snmpd.log
all prints are coming on console ;

Issue number2:

we have created  our own PRIVATE MIB, cross  compiled with net-snmp, when we 
are starting snmpd by giving the following command:
snmpd -a -c /mnt/jffs2/conf/snmpd.conf -LF 7 /mnt/jffs2/conf/snmpd.log

inside our agent c file we are using snmp_log(LOG_DEBUG,....)snmp_log 
(LOG_DEBUG, "\n s   \n" ); for printing;
we have observed that logging is happening in file and  prints are coming on 
console also. console is getting cluttered, not able to give any other commands 
on CLI

To avoid this I am giving the following command:
snmpd -a -c /mnt/jffs2/conf/snmpd.conf  -Ln in this case no prints on console 
as well as in file


but we require prints only in file not on console. how do we do this>????

Thanks and regards,
Manjula

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to