Natively support the parsing of incoming trap data into "varbind" elements (the same way it's done in Orion NPM's trap utility) so that these varbinds can be used in output options (send syslog, email, log to file, etc.,,
The traps can be parsed out using the following variables
${vbName2} - ${vbData2}
The number will represent the line number within the trap message, so if you have the following trap:
messageIDEvent:= 2048
descriptionEvent:= Device failed
locationEvent:= Controller 0, Connector 0
objectNameEvent:= Physical Disk 0:0:1
objectOIDEvent:= 1.3.6.1.4.1.674.10893.1.20.130.4.1.1.2
objectNexusEvent:= \0\0\0\1
currentStatusEvent:= 5
previousStatusEvent:= 5
experimental.1057.1:= 10.9.128.23
These variables will translate to:
${vbName2} // ${vbData2}
descriptionEvent // Device failed
${vbName4} // ${vbData4}
objectNameEvent // Physical Disk 0:0:1
I hope this close to what you are looking for!
PD: This is for the trap viewer in NPM.
I know it's possible in NPM. It's not possible in Kiwi. Hence my putting it as a feature request for Kiwi. I'm actually kind of miffed that it's NOT here, given that it *is* in NPM already.
Is there any script in kiwi that will "fish" and forward only ${vbDataXX}??