NET-SNMP for Windows

Franck MIRA <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <C6CF9EA71DCA0846BD5CD66971BE15B1583788@SRV2K8-EXCHANGE.BMTI.LOCAL>
Hi everybody,

I'm trying to use snmptrapd for Windows. I need to use standard output. So in the registertrapd.bat file I added -f -Lo -Le options like this:

@echo off
 set cmdline="C:\usr\bin\snmptrapd.exe" -register
set additionaloptions= -f -Lo -Le -Lf "C:/usr/log/snmptrapd.log"
echo Registering snmptrapd as a service using the following additional options:
 echo .
 echo %additionaloptions%

echo .
 %cmdline% %additionaloptions%
 echo .
 echo For information on running snmpd.exe and snmptrapd.exe as a Windows
 echo service, see 'How to Register the Net-SNMP Agent and Trap Daemon as
 echo Windows services' in README.win32.
 echo .
 pause

But it doesn't work. The daemons still forks and no datas are sent on standard output (or the error output).  The logging in the snmptrapd.log is OK.
But another issue is that the logging in the file is really slow. There are few seconds between the moment I see a trap incoming in Wireshark, and the moment it's loggued in snmptrapd.log ....

Is someone has a clue?

Kind regards,
Franck

Franck MIRA
Ingénieur
[bmti]
117 rue d'Ollioules
PA la Millonne - 83140 Six-Fours - France
Tel. +33 (0) 4 94 87 07 77
bmti-alcen.com<http://www.bmti-alcen.com>

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk

_______________________________________________
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
image001.png (image/png, 2.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.