On 7/22/06, Sascha Luck <[EMAIL PROTECTED]> wrote:
Hi all,

when trying a transform on an SNMP trap event:

evt.summary =  "Port " + evt.ifIndex + " is down"

I bet you need
evt.summary =  "Port " + str(evt.ifIndex) + " is down"


(evt.ifIndex exists in Details)

zenmib throws this error:

DEBUG:zen.Events:EventClass:/SNMP/Traps/LinkUpDown matched
DEBUG:zen.Events:EventClassInst=snmp_linkDown
ERROR:zen.Events:Error transforming EventClassInst snmp_linkDown (cannot
concatenate 'str' and 'int' objects)

That can't be right, can it?

cheers,
Sascha  Luck

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

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

Reply via email to