2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
... to make things really simple I decided to see if I could get a
debug msg out of the agent_trap.c file
I used OPTIONS=-Lo -Dtrap
And sent a trap - and verified that the trap was sent.
And there was no trap debug msg on the output
Shield
Sent: Friday, May 29, 2009 3:24 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Need help with snmp_log() msgs from snmp_agent.c
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
... to make things really simple I decided to see if I could get a
debug msg out
2009/5/29 Joan Landry joan.lan...@overturenetworks.com:
The -Dall or -Dall did not work
That strongly implies that debugging has been turned off.
The get of versionConfigureOptions is:
* SNMP QUERY STARTED *
1: versionConfigureOptions.0 (octet string)
with snmp_log() msgs from snmp_agent.c
2009/5/29 Joan Landry joan.lan...@overturenetworks.com:
The -Dall or -Dall did not work
That strongly implies that debugging has been turned off.
The get of versionConfigureOptions is:
* SNMP QUERY STARTED *
1: versionConfigureOptions.0 (octet
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
Does anyone know what the trick is to getting all the msgs to a logfile?
Have you tried -Lf /tmp/snmp.log ?
Dave
--
Register Now for Creativity and Technology
...@googlemail.com] On
Behalf Of Dave Shield
Sent: Thursday, May 28, 2009 8:58 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Need help with snmp_log() msgs from snmp_agent.c
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
Does anyone know what the trick is to getting all
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
This is my snmpd input line
OPTIONS=-Lf /tmp/snmp.log -Dhandler:inject -Ddebug -Dwarning -Dinfo
-Derror -DAll -p /var/run/snmpd.pid -V ..
Try starting the agent with '-f -Le' plus the same list of -D tokens.
What do you see logged?
28, 2009 9:35 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Need help with snmp_log() msgs from snmp_agent.c
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
Thanks - that works as far as putting the messages to a logfile.
I realize now what I really want
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
Thanks - that works as far as putting the messages to a logfile.
I realize now what I really want is the msgs generated via
DEBUGMSGTL
They should be logged to the same place as any other message.
So if you turn on a particular debug
...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Thursday, May 28, 2009 10:07 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Need help with snmp_log() msgs from snmp_agent.c
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
This is my
2009/5/28 Joan Landry joan.lan...@overturenetworks.com:
-f -Le -Dhandler:inject -Ddebug or
-f /tmp/snmp.log -Le -Dhandler:inject -Ddebug or
-Lo -Dhandler:inject -Ddebug
yeilded no log file
which is as expected
(Note that the second invocation is invalid - please re-read
the meaning of
.
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Thursday, May 28, 2009 10:54 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Need help with snmp_log() msgs from snmp_agent.c
2009/5/28 Joan Landry
12 matches
Mail list logo