I'm not sure what your instructions are saying. Do I add that file to /etc/cron.daily or do I overwrite with is in $zenhome/zenoss/bin/zendmd?
Thanks atrawog wrote: > > prioret wrote: > > Ok, still having problems. > > Mount Total bytes Used bytes Free bytes % Util > > / 19.7GB 64.2GB -44.5GB 326 > > Looks like the totalBlocks value in your Zope DB are wrong. This is a Zenoss > design bug that hopefully gets fixed in the future: > - http://forums.zenoss.com/viewtopic.php?t=6978 > - http://forums.zenoss.com/viewtopic.php?t=8047 > > Currently the only way around it is to either remodel the device or update > the values yourself via cron and a zendmd script: > > /etc/cron.daily/zenoss-zendmd > > Code: > #!/bin/sh > su zenoss -c "/usr/local/zenoss/zenoss/bin/zendmd < > /etc/cron.daily/zenoss-zendmd.py" > > > /etc/cron.daily/zenoss-zendmd.py > > Code: > print "Updating Total Blocks" > for d in dmd.Devices['Server'].getSubDevices(): > for f in d.os.filesystems(): > totalBlocks = f.getRRDValue('totalBlocks') > if totalBlocks: > f.totalBlocks=long(totalBlocks) > > print "Commiting Changes" > commit() > > > -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=28653#28653 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
