NetXMS Support Forum

English Support => General Support => Topic started by: mrsackler on June 02, 2008, 06:31:48 PM

Title: SNMP Traps -> Events, Parameter bindings
Post by: mrsackler on June 02, 2008, 06:31:48 PM
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?
Title: Re: SNMP Traps -> Events, Parameter bindings
Post by: Victor Kirhenshtein on June 06, 2008, 12:26:10 AM
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
Title: Re: SNMP Traps -> Events, Parameter bindings
Post by: mrsackler on June 12, 2008, 06:35:11 PM
Great!!