I am attempting to transform /Events/Status/Ping using getPingStatus as shown
below - ( Ping is an internal zenoss Daemon - no ?)
device = device.manageIp
if device.getPingStatus() > 0 :
evt.summary = "device down"
I get the following in zenhub.log
2009-03-18 11:23:04 ERROR zen.Events: Error transforming EventClassInst Ping
('str' object has no attribute 'getPingStatus')
2009-03-18 11:23:04 ERROR zen.Events: Error transforming EventClassInst Ping
('str' object has no attribute 'getPingStatus')
This is the early part of testing in order to create a transform which will
suppress all ping alerts if the router for device is down. If there is no way
to get ping status within the class transform â any other ideas on setting up
a dependency like this ??
Many thanks
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=32408#32408
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users