marcus_beard

String manipulation question for snmptd probe

Discussion created by marcus_beard on Oct 15, 2009
Latest reply on Oct 15, 2009 by carstein.seeberg

In the snmptd probe there is an option to create a nimbus message from snmp traps. Variables are automatically placed in quotation marks and presented in the message text.

Is there a function within LUA scripting that will allow me to strip the quotation marks and place remaining text back into the message field for snmptd alarms only?

example message

"Rw2 Rk17 PDU A"  "Metered Rack PDU: Near overload on phase 1."

Outcomes