I tried it - did not work. Same behaviour. The rule now looks like this:

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

The evt.message stays "untouched" and holds the "standard snmp" text:

"snmp trap UC4ExecutorStopped from xyxyxxxyxyx"

Try looking at the $ZENHOME/log/zentrap.log when one of these events is coming in. If there are any errors evaluating the transform they will show up here.

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to