Hi Dave,
I did a -Dread_config and the first few loggings show:
read_config:file: .
Reading configuration c:/net-snmp/etc/snmp/snmptrapd.conf (1)
read_config:line: .
c:/net-snmp/etc/snmp/snmptrapd.conf:1 examining: ignoreauthfailure yes
.
read_config:line: .
c:/net-snmp/etc/snmp/snmptrapd.conf:2
On 26 August 2011 08:55, Roland Klein Overmeer [GISS]
wrote:
> I added these entries in the file, restarted the service, send the trap
> again, but I see no difference in the logged results...
Hmmm... if you've set an explicit logging format in the config file
and that is not being used, then
I added these entries in the file, restarted the service, send the trap
again, but I see no difference in the logged results...
Roland
On Mon, Aug 22, 2011 at 11:43 PM, Dave Shield wrote:
> On 22 August 2011 13:41, Roland Klein Overmeer [GISS]
> wrote:
> > I just did a comment-out of the handle
On 22 August 2011 13:41, Roland Klein Overmeer [GISS]
wrote:
> I just did a comment-out of the handler line, restarted the service and
> triggered a trap. The handler is still not doing a lookup.
What is the format of the log entries that you are seeing?
Try the following entry in your snmptrapd
I wanted to have the Python script to send the traps through syslog to my
monitoring server, but when implementing the net-snmp trap handler I found
out that they are also logged to the event log. This is now my main source
of retreiving the traps. The script is almost non functional now and has th
On 22 August 2011 10:02, Roland Klein Overmeer [GISS]
wrote:
> config is (snmptrapd.conf):
> traphandle default C:\Python27\python.exe C:\net-snmp\etc\snmp\handler.py
So the traps are being logged by a python script - yes?
What does this script look like?
What happens if you comment out this
Hello Dave,
Reverse lookup is functional (nslookup), config is (snmptrapd.conf):
ignoreauthfailure yes
disableAuthorization yes
authCommunity log,execute,net public
traphandle default C:\Python27\python.exe C:\net-snmp\etc\snmp\handler.py
Roland.
On Fri, Aug 19, 2011 at 5:51 PM, Dave Shield w
On 19 August 2011 12:42, Roland Klein Overmeer [GISS]
wrote:
> Thanks guys! Compiling was succesfull. Unfortunately the reason for the
> recompile still not seems to be resolved. The SNMPTRAPD does not translate
> the incomming traps sender address to a servername, but no errors regarding
> that i
Thanks guys! Compiling was succesfull. Unfortunately the reason for the
recompile still not seems to be resolved. The SNMPTRAPD does not translate
the incomming traps sender address to a servername, but no errors regarding
that in the event logs. Anyone has a suggestion?
Thanks again, Roland
On
On 19 August 2011 08:43, Roland Klein Overmeer [GISS]
wrote:
> Thank you for that, it seems to do something, but I get this output:
> D:\install\net-snmp-5.7.1.pre1\net-snmp-5.7.1.pre1>patch -p1 <
> 0001-CHANGES-Windows-snmptrapd-Make-the-IP-address-to-hos.patch
> patching file snmplib/system.c
>
On Fri, Aug 19, 2011 at 9:43 AM, Roland Klein Overmeer [GISS] <
roland.klein.overm...@giss.nl> wrote:
> Thank you for that, it seems to do something, but I get this output:
>
> D:\install\net-snmp-5.7.1.pre1\net-snmp-5.7.1.pre1>patch -p1 <
> 0001-CHANGES-Windows-snmptrapd-Make-the-IP-address-to-ho
Thank you for that, it seems to do something, but I get this output:
D:\install\net-snmp-5.7.1.pre1\net-snmp-5.7.1.pre1>patch -p1 <
0001-CHANGES-Windows-snmptrapd-Make-the-IP-address-to-hos.patch
patching file snmplib/system.c
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
This
On Thu, Aug 18, 2011 at 1:09 PM, Roland Klein Overmeer [GISS] <
roland.klein.overm...@giss.nl> wrote:
> After installing GetGnuWin32 I can launch the 'patch' statement, but What
> should I put after the patch command? Sorry for this but I am a newbie to
> compiling C++ on win32 platform..
>
That
After installing GetGnuWin32 I can launch the 'patch' statement, but What
should I put after the patch command? Sorry for this but I am a newbie to
compiling C++ on win32 platform..
Thanks again, Roland.
On Wed, Aug 17, 2011 at 5:06 PM, Bart Van Assche wrote:
> On Wed, Aug 17, 2011 at 1:03 PM,
On Wed, Aug 17, 2011 at 1:03 PM, Roland Klein Overmeer [GISS] <
roland.klein.overm...@giss.nl> wrote:
> Thanks for the patch file, but I have no idea on how to apply it. Can you
> give me a hint?
>
The 5.7.1-pre1 source code can be found here:
http://sourceforge.net/projects/net-snmp/files/net-sn
Hello Bart,
Thanks for the patch file, but I have no idea on how to apply it. Can you
give me a hint?
Regards,
Roland
On Wed, Aug 17, 2011 at 12:57 PM, Bart Van Assche wrote:
> On Tue, Aug 16, 2011 at 11:41 AM, Roland Klein Overmeer [GISS] <
> roland.klein.overm...@giss.nl> wrote:
>
>> I just
On Tue, Aug 16, 2011 at 11:41 AM, Roland Klein Overmeer [GISS] <
roland.klein.overm...@giss.nl> wrote:
> I just installed version 5.7 of net-snmp and activated the snmptrapd as a
> service. Traps are received and nicely logged to the event log. Only problem
> is that the sending ip isn't resolved
Hi all,
I just installed version 5.7 of net-snmp and activated the snmptrapd as a
service. Traps are received and nicely logged to the event log. Only problem
is that the sending ip isn't resolved to a host name. I also get an error in
the event log:
net-snmp trap handler error 100 gethostbyname
18 matches
Mail list logo