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

JP Vossen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 04/11/2012 04:15 AM, Dave Shield wrote:
> 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!]

Yes, I need to poke at the several different files in "The Red Hat Way" 
of configuring a little more, but I will try to either do that or, since 
I probably have to copy & patch it anyway, possibly override for my 
changes in the init script itself.  Not sure yet.

Thanks again,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.

------------------------------------------------------------------------------
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.