SNMP Traps -> Events, Parameter bindings

Started by mrsackler, June 02, 2008, 06:31:48 PM

Previous topic - Next topic

mrsackler

I am currently logging all incoming snmp traps. All devices sending traps are node objects in netxms.
I created a trap configuration to match a known trap OID. However, I find that it is only possible to actually describe the nature of the trap  incompletely. Mainly, I find that my options for string manipulation of the varbinds to be non existent. If I bind a varbind oid or position to a parameter, then invoke that parameter in my event message, all that is displayed is the value of the OID, not the entire OID. It is necessary for my purposes to be able to include any part of the varbinds in my event message including, in some cases, part of or the entire OID. Are there ways of manipulating the parameters so that they display more than just the value of the varbinds?

Victor Kirhenshtein

Currently it's not possible. However, since the next release you will be able to use scripts to form event message. Inside the script, you can access event parameters and do various string manipulations on them.

Best regards,
Victor