RE: snmptrapd forwarding with OID wildcards [sec:unclass]
"Hart, Matthew MR 2" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your response Thomas, Would it be possible for the developers to add wildcard handling for the forward directive in a future release? In the meantime, does anyone know about a tool available that can do what I'm trying to achieve (forward traps to a different server, if the OID matches a pattern with wildcards)? I guess it would work with the traphandle directive, parse the trap and forward it only if it matches a set of patterns. The more basic to tool the better, I can't really install something like OpenNMS or Nagios. Thanks, -Matt -----Original Message----- From: Thomas Anders [mailto:[email protected]] Sent: Monday, 30 April 2007 19:40 To: Hart, Matthew MR 2 Cc: [email protected] Subject: Re: snmptrapd forwarding with OID wildcards [sec:unclass] Hart, Matthew MR 2 wrote: > According to the snmptrapd.conf man > page, the 'OID' token for the 'forward' directive is the same as for > the 'traphandle' directive ("The interpretation of OID (and default) > is the same as for the traphandle directive)."). The documentation for 'OID' > token for the 'traphandle' directive says "[The OID token] supports a > simple form of wildcard suffixing. By appending the character > notification based within subtree rooted at the specified OID". > > So, by this I'm thinking that the 'forward' directive supports > wildcards too. Th 'OID' handling had been the same earlier, until the "traphandle" handling introduced wildcard support which rendered this part of the documentation invalid, I fear. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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