Re: Add output of extend to a triggered event

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZCRmJ0qqksMaxzJV4pTov273E2demc1_cO5TkTLFDpEA@mail.gmail.com>
On 28 July 2011 18:36, Fedil Grogan <[email protected]> wrote:
> The monitor config in my snmpd.conf file looks like so:
>   monitor -r 300 -I -u public nra2Tomcat nsExtendResult."nra2TomcatCheck" != 0

> So how can I include the nsExtendOutLine to the event that gets
> triggered and sent as the snmp trap?


   $ man snmpd.conf

    DisMan Event MIB
       monitor [OPTIONS] NAME EXPRESSION

       OPTIONS

              -i OID
              -o OID define additional varbinds to be added to the
notification  payload  when  this  monitor
                     trigger  fires.....  If the -I flag is specified,
then there is no difference between these
                     two options.

Dave

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
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.