I've got an SNMP trap monitor set up so I can be notified when critical hardware issues occur. I want this monitor to implicitly capture any event sent to it and then filter out the noise that I don't care about (e.g. battery charge cycle starting, learn cycle starting in 4 days, etc.). I've got a mix of Dell and HP servers that send messages.
My monitor is set up to accept messages from any IP, the public community, any type, and Enterprise OID of 188.8.131.52.*
The problem I'm having is with filtering out the noise. When I enable variable binding I can do a prefix match of 184.108.40.206.4.1.674 (used by Dell servers) with a numeric type but if I use anything other than "==" to evaluate the result filtering isn't working. For example, if I choose "!=" and a value of 2180 (which is "The controller battery Learn cycle will start in 4 days.") the message is still accepted. I suspect this has to do with the fact that there are other numeric variables in the trap message which pass. For example:
220.127.116.11.4.1.674.10818.104.22.168.1.0: TYPE NUMERIC 2180
22.214.171.124.4.1.674.108126.96.36.199.2.0: TYPE TEXT "The controller battery Learn cycle will start in 4 days."
188.8.131.52.4.1.674.108184.108.40.206.3.0: TYPE TEXT "Controller 0"
220.127.116.11.4.1.674.10818.104.22.168.4.0: TYPE TEXT "Battery 0"
22.214.171.124.4.1.674.108126.96.36.199.5.0: TYPE TEXT "188.8.131.52.4.1.674.108184.108.40.206.220.127.116.11"
18.104.22.168.4.1.674.10822.214.171.124.6.0: TYPE TEXT "\\0\\0"
126.96.36.199.4.1.674.108188.8.131.52.7.0: TYPE NUMERIC 3
184.108.40.206.4.1.674.108220.127.116.11.8.0: TYPE NUMERIC 3
I could set up variable binding on the prefix "18.104.22.168.4.1.674.10822.214.171.124.1" but that limits me to one specific set of Dell messages and forces me to set up multiple trap monitors for each prefix I care about. This defeats the purpose of having a generic monitor that I can filter out what I don't care and still receive everything else.
FWIW I had this working perfectly in IPMv9 using the prefix "126.96.36.199.4.1.674".
Any help on how to get this working correctly in IPMv10 is appreciated.