hi,folk, 
i want to configire mrtg to graph my disk,cpu,memory
usage by shell script, my mrtg.cfg look like this:

WorkDir: /var/www/html/mrtg/disk
Target[disk]: `df -k /usr | tail -1 | awk '{print
$3;print $4}' uptime | awk '{print $1;}' ; hostname`
MaxBytes[disk]: 100
LegendI[disk]:  used:
LegendO[disk]:  avai:
Options[disk]: integer,noinfo,gauge,nopercent
Unscaled[disk]: wmy
Suppress[disk]: y
kilo[disk]: 1024
WithPeak[disk]: dw
YLegend[disk]:  Disk
ShortLegend[disk]:  used
Legend1[disk]: Diskspace Used
Legend2[disk]: Available Diskspace
Title[disk]: hammond.sz.iaspe.com Disk Stats
PageTop[disk]: <H1>Disk Status : /usr </H1>

but when i browse  webpage, there are no data records,
all zero. i use the same mrtg.cfg on another machine,
i can see the graph with data records


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to