Re: sending snmp traps

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/8/4 Osvaldo Alvarez Pozo <[email protected]>:
> How could I make monitor to send differents OID for each resources
> monitored.

   $ man snmpd.conf

          notificationEvent ENAME NOTIFICATION ....
              defines a notification event named ENAME.  This can be triggered
              from a given monitor entry by specifying  the  option  -e  ENAME
              (see  above).   NOTIFICATION  should be the OID of the NOTIFICA-
              TION-TYPE definition for the notification to be generated.


Note that you would need to define private NOTIFICATION MIB definitions
for these non-standard traps.

    By default, the "monitor" directive uses the generic mteTriggerFired
notification, and you would use the values of the payload varbinds
(particularly mteHotTrigger and mteHotOID) to determine which
entry triggered the notification.

Dave

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.