snmptrapd - how to redirect startup errors to /dev/null
Wojciech Dudys <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm using snmptrapd to log traps to file. The problem is that I have a lot of Cisco MIBs that cause errors on snmptrapd start. Unfortunately those errors are logged in the same file that traps are. Now it looks like that: snmptrapd -A -Lf /var/traps -p /var/run/snmptrapd.pid i tried snmptrapd -A -Lf /var/traps -p /var/run/snmptrapd.pid 2>/dev/null but it doesn't work. How do I run snmptrapd to log traps and only traps to file? Regards, Wojtek ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ 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