snmptrapd forwarding with OID wildcards [sec:unclass]

"Hart, Matthew MR 2" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi there,
 
I'm trying to set up some servers that forward traps with specific OID
prefixes to other trap servers. 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.
 
However, if I enter the following line into snmptrapd.conf:
 
"forward 1.3.6.1.4.1.9.0.* 1.1.1.1"
 
And restart snmptrapd, I get the following error message in the log:
 
"/etc/snmp/snmptrapd.conf: line 9: Error: Bad trap OID in forward
directive: 1.3.6.1.4.1.9.0.*"
 
If I replace the line with:
 
"forward 1.3.6.1.4.1.9.0.1 1.1.1.1"
 
I get no error message.
 
Is this on purpose, is it a bug, or am I doing something wrong? I'm
using Net-SNMP version 5.4 on linux.
 
Thanks for your help in advance,
 
-Matthew

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