Well, that's what I understand, but a) Make a local copy of that to play with unless you want to potentially risk a re-install of Zenoss b) It seems to pull total blocks via the modeler (once every 12 hrs or so) and used blocks via SNMP in that template. It may be SNMP doesn't expose free blocks, so you can only get them via the calculation that's there. In which case you need to get what the current template gets plus do the extra calculation each poll, which would mean I believe a command datasource.
I was thinking that there might be a way to pull the data out of Zenoss, rather than using another SNMP get in your script. In fact, I'm sure there is a way to get the info (Chet had me doing it getting number of a particular event), I just don't know what it is. Perhaps zendmd? -- James Pulver Information Technology Area Supervisor LEPP Computer Group Cornell University bwitherell wrote, On 5/1/2009 8:26 AM: > Thanks for the reply. > > If i am understanding the way this works then, the filesystem template > already gets the used space and total size of the disk (in blocks of course). > Then it uses those values to calculate the percentage of free space. > > Would there be a simple way i could just modify this template to calculate > the free space in blocks and then convert it into bytes? It seems like I > should be able to do this because I think the data needed to do the > calculation is already being accessed by that template. > > Thanks, > Brad > > > > > -------------------- m2f -------------------- > > Read this topic online here: > http://forums.zenoss.com/viewtopic.php?p=34131#34131 > > -------------------- m2f -------------------- > > > > _______________________________________________ > zenoss-users mailing list > [email protected] > http://lists.zenoss.org/mailman/listinfo/zenoss-users _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
