How can I access event details in Event mappings? e.g.
EventDetail (sent with snmp trap) agentWorkInteger1 1 agentWorkObject UC4P.WP001.AMSD4.EX_JOB agentWorkString1 AMSD4 agentWorkSysID UC4P community public This is the current Event Transformation: evt.summary = "UC4 Executor stopped" if evt.AgentWorkInteger1==1: evt.message="Mode: Primary" if evt.AgentWorkInteger1==3: evt.message="Mode: Normal" if evt.AgentWorkInteger1==4: evt.message="Mode: Communication" evt.message = evt.summary + " System/Server/Executor/Type: " + evt.AgentWorkObject + " " + evt.message What does work: The evt.summary gets set to "UC4 Executor stopped" What doesn't work: The evt.message stuff. What am I doing wrong? -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=19312#19312 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
