Re: Regarding logOption in snmptrapd.conf file
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGYYHp1jDJ-2PJVR0Y3LrEHLpPrU7-2R-ZGGZQR4xmt6CQ@mail.gmail.com> |
On 8 January 2013 08:16, Adishesh M <[email protected]> wrote: > Using latest version NET-SNMP Version: 5.7.2 same other error is coming. > > snmptrapd is not recognizing logOption Please see my earlier message: trying to set this {logOption} in the trapd config file is either not processed early enough, =***=> or needs to be marked with '[snmp]' <=***= (and still doesn't seem to work properly) > my snmptrapd.conf file content is as given below and i am calling > snmpTrapdAddr UDP:162 > pidFile /var/run/snmptrapd.pid > logOption -f /tmp/all_traps This line needs to be given as [snmp] logOption -f /tmp/all_traps Recent changes have moved logOption from being an application-level directive to a library one, which means that it needs to be marked as such when appearing in the application-specific config file. But as I said above, I'm still not convinced that this is working correctly. Dave ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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