Re: Snmpd logging does not work

2008-12-31 Thread Wes Hardaker
> On Mon, 22 Dec 2008 13:58:09 -0800, "Alex Koifman" > said: AK> snmpd -Dd AK> I use DEBUGMSGTL to log message and I do not see anything in the log. AK> Why? Did you use DEBUGMSGTL(("d", ...)) or something else? The above -Dd option tills it to log anything with a token starting with

RE: Snmpd logging does not work

2008-12-29 Thread Alex Koifman
29, 2008 3:22 PM To: Alex Koifman; net-snmp-users@lists.sourceforge.net Subject: RE: Snmpd logging does not work > From: Alex Koifman [mailto:akoif...@amperion.com] > Sent: Monday, December 22, 2008 1:58 PM > Started the daemon with: > > snmpd -Dd > > > > I use DE

RE: Snmpd logging does not work

2008-12-29 Thread Mike Ayers
> From: Alex Koifman [mailto:akoif...@amperion.com] > Sent: Monday, December 29, 2008 1:37 PM > /usr/sbin/smpd -LF 5 /var/log/snmpd.log -p /var/run/snmpd.pid > > The /var/log/snmpd.log file is empty Try "-Lf /var/log/snmpd.log". The uppercase logging specifiers don't seem to work for

RE: Snmpd logging does not work

2008-12-29 Thread Mike Ayers
> From: Alex Koifman [mailto:akoif...@amperion.com] > Sent: Monday, December 22, 2008 1:58 PM > Started the daemon with: > > snmpd -Dd > > > > I use DEBUGMSGTL to log message and I do not see anything in > the log. Why? Because you haven't set a logging destination..? Check the '

Snmpd logging does not work

2008-12-29 Thread Alex Koifman
Hi, Started the daemon with: snmpd -Dd I use DEBUGMSGTL to log message and I do not see anything in the log. Why? What is the best way to debug the extended agent? We do not have Thanks, Alex --

Re: snmpd logging

2006-02-20 Thread H. McManus
On Monday 20 February 2006 12:23, Dave Shield wrote: > > I'm using the following command to start snmpd: > > /usr/sbin/snmpd -Dmib_init -LF 4 /var/log/snmp -p /var/run/snmpd.pid > > > > The problem is that nothing is being written to /var/log/snmp and > > everything is being sent to STDOUT instead

Re: snmpd logging

2006-02-20 Thread Dave Shield
On Mon, 2006-02-20 at 12:03 +0100, H. McManus wrote: > Hi, > > I'm using the following command to start snmpd: > /usr/sbin/snmpd -Dmib_init -LF 4 /var/log/snmp -p /var/run/snmpd.pid > > The problem is that nothing is being written to /var/log/snmp and everything > is being sent to STDOUT instead

snmpd logging

2006-02-20 Thread H. McManus
Hi, I'm using the following command to start snmpd: /usr/sbin/snmpd -Dmib_init -LF 4 /var/log/snmp -p /var/run/snmpd.pid The problem is that nothing is being written to /var/log/snmp and everything is being sent to STDOUT instead. What is wrong with my -LF syntax? H. # snmpd --version NET-SNM

Re: snmpd logging

2004-10-14 Thread Dave Shield
> is it possible to switch off the logging part? It's not documented (I need to fix that), but you can turn off logging completely using -Ln or in part using -LN pri1-pri2 See 'snmpcmd' for a description of the priority-form. (It works in the same way as -LE etc) Dave

Re: snmpd logging

2004-10-13 Thread Carlos Cantu
> is it possible to switch off the logging part? I have an embedded pc, with > limited disk space. One time I got to 100% on / on my PC. Once due to SNMP logging and once due to e-mail logging. Both times took a couple months to happen, but still I should eliminate that by the time we ship.

snmpd logging

2004-10-13 Thread sihler
Hello, is it possible to switch off the logging part? I have an embedded pc, with limited disk space. Best regards Ingo Sihler ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Se