Subagent logging
"Peter Bauer" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, i have a rather simple sub-agent here and need some logging facility for it with loglevels and a timestamp in the logfile. I am currently using the snmp_log function. It compiles and i started the snmpd with -LF d /var/log/snmp.log but none of the snmp_log messages are written to the file, just the following lines: Turning on AgentX master support. /etc/snmp/snmpd.conf: line 435: Warning: Unknown token: agentSecName. /etc/snmp/snmpd.conf: line 439: Warning: Unknown token: notificationEvent. /etc/snmp/snmpd.conf: line 440: Warning: Unknown token: notificationEvent. /etc/snmp/snmpd.conf: line 441: Warning: Unknown token: monitor. /etc/snmp/snmpd.conf: line 442: Warning: Unknown token: monitor. NET-SNMP version 5.1.2 How can i enable the logging? Is using snmp_log the right way for logging in subagents? br, Peter ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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