Re: Can snmpd do different actions based on incoming port?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGbgUzZok0YPdfhp1zJiVOGOHmedt=0Gb1GFp9t0tGi9bw@mail.gmail.com>
On 11 April 2012 08:54, JP Vossen <[email protected]> wrote:
>                     I was just hoping, since it's less
> overhead in config files and such if it can be all-in-one.

You could probably have a single shared config file to
hold the common settings, and have the two individual
snmptrapd.conf files include this.

Try something like

     includefile   /usr/local/share/snmp/snmptrapd.common
     forward  default   someHost

[untested!]

Dave

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-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
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.