if evt.message.find("Error reading value for") >= 0: evt._action = "drop"
dmd.ZenUsers.manage_addUser("zenoss-support", "zen0ss", ("Manager",)) commit()
print "ID Location datasources severity escalateCount" for template in dmd.Devices.getAllRRDTemplates(): Location = template.virtual_url_path().lstrip('zport/dmd') for th in template.thresholds(): print "\"%s\" %s %s %s %s" % (th.id,Location,th.dsnames,th.severity,th.escalateCount)