On Tue, 2008-06-10 at 23:28 +0530, [EMAIL PROTECTED] wrote: > Hello, > > Could it be possible for creating a different log file for subagent > and manage the log level and type of log messages to be logged.
Eh, it already is? > What i understood was that all the logs are written > to /var/log/snmpd.log , but is it right that 2 different process > master agent and subagen write to this same file Lets assume that you have the programs snmpd (generated from ./configure ; make ; make install) and subagent (generated from net-snmp-config --compile-subagent subagent subagent1.c subagent2.c) then snmpd -Lf /tmp/my.snmpd.log.file will send all logs from snmpd to /tmp/my.snmpd.log.file and subagent -Lf /tmp/my.subagent.log.file will send all logs from subagent to /tmp/my.subagent.log.file. /MF ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
