Re: win32 snmptrapd installation and name resolving
"Roland Klein Overmeer [GISS]" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CACFFo8vuKoUNNk0Nnw4PN1eprjtB+3EH5frxtV-mg7r-a1wP8w@mail.gmail.com> |
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 examining: disableAuthorization yes . read_config:line: . c:/net-snmp/etc/snmp/snmptrapd.conf:3 examining: authCommunity log,execute,net public . read_config:line: . c:/net-snmp/etc/snmp/snmptrapd.conf:4 examining: format1 Trap from %B . read_config:line: . c:/net-snmp/etc/snmp/snmptrapd.conf:5 examining: format2 Trap from %B . So it does read the lines but does not act on it as expected.. Roland. On Tue, Aug 30, 2011 at 10:55 AM, Dave Shield <[email protected]>wrote: > On 26 August 2011 08:55, Roland Klein Overmeer [GISS] > <[email protected]> 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 that would tend to indicate that > the snmptrapd isn't reading the config file. > > Two things you can try: > > a) specify the path to the config file explicitly (using -c) > b) run the snmptrapd command using the debug option '-Dread_config' > That will show what config files (and directives) > snmptrapd is actually using > > Dave > ------------------------------------------------------------------------------ Why Cloud-Based Security and Archiving Make Sense Osterman Research conducted this study that outlines how and why cloud computing security and archiving is rapidly being adopted across the IT space for its ease of implementation, lower cost, and increased reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/ _______________________________________________ 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