From: Sven V. <sve...@ve...> - 2007-08-16 08:37:27
|
Joerg Linge wrote: > Am Donnerstag, 16. August 2007 03:58 schrieb song loesprite: > > > [ check_disk graphs should show percent instead of MB ] > > > Lets have a look on your Output. > > Plugin Output -> DISK OK - free space: / 12025 MB (33% inode=84%); > Performance Data -> /=23523MB;29960;33705;0;37450 > > PNP uses only the Performance Data and the values you want are not included. > > > So,how can I modify pnp to take other part of information from the check > > results ? > > You have to change your Plugin ( check_disk i think ). What about setting up a custom template? Every information you need (used MB, total MB) are in the performance datas: Used percent: used MB/total MB -> 23523/37450 = 62% Free percent: (total-used MB)/total MB -> (37450-23523) / 37450 = 37% Put this together in RPN for RRD in an custom template, et voila ;-) BTW, if it's *not* an ext3 filesystem we should worry about the different values... bye Sven -- Leukämie -> http://de.wikipedia.org/wiki/Leuk%C3%A4mie Heilung -> http://de.wikipedia.org/wiki/Knochenmark#Knochenmarkspende Typisierung -> http://www.knochenmarkspende.de/html/reg_akb.php Warum&Fragen -> sv...@ve... |