Quantcast
Channel: Zenoss Community: Message List
Viewing all articles
Browse latest Browse all 1118

Re: transform strange behaviour

$
0
0

Thank You very mush Photon!!!

 

Using str(evt.vtpVlanIndex) everything works fine.

 

I have another little problem.

 

I need to have all the Events generated by a trap in the same Class, so I created the Class Trap and I added this easy transform to the main event class so that all the trap will be classified correctly:

 

if evt.agent.find('zentrap') >= 0:

   evt.eventClass='/Trap'

 

Everything works fine an all my traps are classified in the Trap Class but if I add a transform to the Trap Class it is complitely ignored (or it seems to be ignored)?

 

What could be the problem? is there any log to check what is happend?

 

Thanks


Viewing all articles
Browse latest Browse all 1118

Trending Articles