Hi,
after adding this code from the wiki to the "Transform" Page of the event class
/Perf/Filesystem
fs_id = device.prepId(evt.component)
for f in device.os.filesystems() :
if f.id != fs_id: continue
p = (float(f.usedBytes()) / f.totalBytes()) * 100
freeAmtGB = (float(f.totalBytes() - f.usedBytes())) / 1024 / 1024 / 1024
evt.summary = "Disk space low: %3.1f%% used (%3.2f GB free)" % (p,
freeAmtGB)
if p >= 95.0 : evt.severity = 5
break
New Events show the same text as ever. Manually added events (menue "Add Event"
get transformed according to above rule.
Any idea what I can do about it?
thx!
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=19069#19069
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users