hmmm u mnie linia 110 wyglada dokladnie tak "This software comes with ABSOLUTELY NO WARRANTY. This is free software"
Czyli to co sie pojawia po tych błędach.
Nic w tym pliku nie zmienialem.
Cały plik wyglada tak:
######################################################################
# Multi Router Traffic Grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
# 0.1 zciech
Language: polish
# Parametry globalne
WorkDir: /var/www/mrtg
XSize[_]: 500
YSize[_]: 80
Options[_]: growright, gauge, nopercent, integer, nobanner, noinfo
BodyTag[_]: <BODY LEFTMARGIN="1" TOPMARGIN="1" bgcolor="e0e0e0" text="00007f" link="#dd3333" vlink="#dd33dd" alik="#A90000">
PageFoot[_]: </center>
Target[eth0]: `/etc/mrtg/eth0`
MaxBytes[eth0]: 100000000
Options[eth0]: growright, nopercent, integer, nobanner, noinfo
Title[eth0]: eth0
kilo[eth0]: 1024
ShortLegend[eth0]: B/s
YLegend[eth0]: B/s
PageTop[eth0]:<center> <H1>eth0</H1>
Target[eth1]: `/etc/mrtg/eth1`
MaxBytes[eth1]: 100000000
Options[eth1]: growright, nopercent, integer, nobanner, noinfo
Title[eth1]: eth1
kilo[eth1]: 1024
ShortLegend[eth1]: B/s
YLegend[eth1]: B/s
PageTop[eth1]:<center> <H1>eth1</H1>
Target[Error:]: `/etc/mrtg/mrtg.ip Error:`
MaxBytes[Error:]: 100000000
Options[Error:]: growright, nopercent, integer, nobanner, noinfo
Title[Error:]: Error:     [ ]
kilo[Error:]: 1024
ShortLegend[Error:]: B/s
YLegend[Error:]: B/s
PageTop[Error:]:<center> <H1>Error:     [ ]</H1>
Target[Expected]: `/etc/mrtg/mrtg.ip Expected`
MaxBytes[Expected]: 100000000
Options[Expected]: growright, nopercent, integer, nobanner, noinfo
Title[Expected]: Expected     [ ]
kilo[Expected]: 1024
ShortLegend[Expected]: B/s
YLegend[Expected]: B/s
PageTop[Expected]:<center> <H1>Expected     [ ]</H1>
Target[3]: `/etc/mrtg/mrtg.ip 3`
MaxBytes[3]: 100000000
Options[3]: growright, nopercent, integer, nobanner, noinfo
Title[3]: 3     [ ]
kilo[3]: 1024
ShortLegend[3]: B/s
YLegend[3]: B/s
PageTop[3]:<center> <H1>3     [ ]</H1>
Target[arguments,]: `/etc/mrtg/mrtg.ip arguments,`
MaxBytes[arguments,]: 100000000
Options[arguments,]: growright, nopercent, integer, nobanner, noinfo
Title[arguments,]: arguments,     [ ]
kilo[arguments,]: 1024
ShortLegend[arguments,]: B/s
YLegend[arguments,]: B/s
PageTop[arguments,]:<center> <H1>arguments,     [ ]</H1>
Target[found]: `/etc/mrtg/mrtg.ip found`
MaxBytes[found]: 100000000
Options[found]: growright, nopercent, integer, nobanner, noinfo
Title[found]: found     [ ]
kilo[found]: 1024
ShortLegend[found]: B/s
YLegend[found]: B/s
PageTop[found]:<center> <H1>found     [ ]</H1>
Target[only]: `/etc/mrtg/mrtg.ip only`
MaxBytes[only]: 100000000
Options[only]: growright, nopercent, integer, nobanner, noinfo
Title[only]: only     [ ]
kilo[only]: 1024
ShortLegend[only]: B/s
YLegend[only]: B/s
PageTop[only]:<center> <H1>only     [ ]</H1>
Target[2.]: `/etc/mrtg/mrtg.ip 2.`
MaxBytes[2.]: 100000000
Options[2.]: growright, nopercent, integer, nobanner, noinfo
Title[2.]: 2.     [ Broadcast ]
kilo[2.]: 1024
ShortLegend[2.]: B/s
YLegend[2.]: B/s
PageTop[2.]:<center> <H1>2.     [ Broadcast ]</H1>
Target[Use]: `/etc/mrtg/mrtg.ip Use`
MaxBytes[Use]: 100000000
Options[Use]: growright, nopercent, integer, nobanner, noinfo
Title[Use]: Use     [ ]
kilo[Use]: 1024
ShortLegend[Use]: B/s
YLegend[Use]: B/s
PageTop[Use]:<center> <H1>Use     [ ]</H1>
Target[--help]: `/etc/mrtg/mrtg.ip --help`
MaxBytes[--help]: 100000000
Options[--help]: growright, nopercent, integer, nobanner, noinfo
Title[--help]: --help     [ resolveip Ver 2.0, for slackware-linux (i386)
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Get hostname based on IP-address or IP-address based on hostname.
Usage: resolveip [OPTIONS] hostname or IP-address
-?, --help Displays this help and exits.
-I, --info Synonym for the above.
-s, --silent Be more silent.
-V, --version Displays version information and exits. ]
kilo[--help]: 1024
ShortLegend[--help]: B/s
YLegend[--help]: B/s
PageTop[--help]:<center> <H1>--help     [ resolveip Ver 2.0, for slackware-linux (i386)
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Get hostname based on IP-address or IP-address based on hostname.
Usage: resolveip [OPTIONS] hostname or IP-address
-?, --help Displays this help and exits.
-I, --info Synonym for the above.
-s, --silent Be more silent.
-V, --version Displays version information and exits. ]</H1>
Target[to]: `/etc/mrtg/mrtg.ip to`
MaxBytes[to]: 100000000
Options[to]: growright, nopercent, integer, nobanner, noinfo
Title[to]: to     [ ]
kilo[to]: 1024
ShortLegend[to]: B/s
YLegend[to]: B/s
PageTop[to]:<center> <H1>to     [ ]</H1>
Target[list]: `/etc/mrtg/mrtg.ip list`
MaxBytes[list]: 100000000
Options[list]: growright, nopercent, integer, nobanner, noinfo
Title[list]: list     [ ]
kilo[list]: 1024
ShortLegend[list]: B/s
YLegend[list]: B/s
PageTop[list]:<center> <H1>list     [ ]</H1>
Target[options.]: `/etc/mrtg/mrtg.ip options.`
MaxBytes[options.]: 100000000
Options[options.]: growright, nopercent, integer, nobanner, noinfo
Title[options.]: options.     [ ]
kilo[options.]: 1024
ShortLegend[options.]: B/s
YLegend[options.]: B/s
PageTop[options.]:<center> <H1>options.     [ ]</H1>
Title[prtcp]: Polaczenia tcp
PageTop[prtcp]: <center> <H1>Polaczenia tcp</H1>
Target[prtcp]: `/etc/mrtg/prtcp`
MaxBytes[prtcp]: 3000
kilo[prtcp]: 1000
ShortLegend[prtcp]:
YLegend[prtcp]: ilosc
Legend1[prtcp]: Polaczenia nawiazane
Legend2[prtcp]: Wszystkie polaczenia
LegendI[prtcp]: polaczenia nawiazane
LegendO[prtcp]: polaczenia
#Options[prtcp]: growright, gauge, nopercent, integer, nobanner, noinfo, nolegend
#Ilosc uzytkownikow
Title[hosty]: Ilosc uzytkownikow
PageTop[hosty]: <center> <H1>Ilosc uzytkownikow</H1>
Target[hosty]: `/etc/mrtg/hosty`
MaxBytes[hosty]: 150
kilo[hosty]: 1000
ShortLegend[hosty]:
YLegend[hosty]: ilosc
Legend1[hosty]: Aktywne
Legend2[hosty]: Wszystkie
LegendI[hosty]: aktywne
LegendO[hosty]: wszystkie
#Options[hosty]: growright, gauge, nopercent, integer, nobanner, noinfo, nolegend
##Procek
Target[cpu]: `/usr/bin/awk '/cpu /{print $4; print $2+$3+$4}'</proc/stat; uptime; hostname`
Title[cpu]: Użycie procesora na serwerze
PageTop[cpu]: <center> <H1>Użycie procesora na serwerze</H1>
MaxBytes[cpu]: 100
Unscaled[cpu]: ymwd
Options[cpu]: growright, nopercent, integer, nobanner, noinfo
LegendI[cpu]: user:
LegendO[cpu]: total:
Ylegend[cpu]: %
ShortLegend[cpu]: %
Legend1[cpu]: Czas spedzony trybie user
Legend2[cpu]: Czas spedzony trybie user + czas spedzony trybie system
Target[hda1]: `df|grep hda1|awk '{print $3 "\n" $4}'`
MaxBytes[hda1]: 3091024
Unscaled[hda1]: ymdw
Title[hda1]: Dysk hda1
kMG[hda1]:K,M,G,T
ShortLegend[hda1]:B
YLegend[hda1]: Megabajty
PageTop[hda1]:<CENTER> <H1>Zajetosc dysku hda1</H1>
LegendI[hda1]: Used:
LegendO[hda1]: Free:
Legend1[hda1]: Obszar zajety
Legend2[hda1]: Obszar wolny
# Swap
MaxBytes[swap]: 33542144
LegendI[swap]: Used:
LegendO[swap]: Total:
kilo[swap]: 1024
ShortLegend[swap]:B
Ylegend[swap]: Megabajty
Target[swap]: `/etc/mrtg/swap`
Title[swap]: Pamięć swap
PageTop[swap]:<CENTER> <H1>Pamięć Swap</H1>
Legend1[swap]: Swap uzywany
Legend2[swap]: Swap calkowity
Target[mem]: `/etc/mrtg/memory`
MaxBytes[mem]: 62918656
Unscaled[mem]: ymdw
Title[mem]: Pamięć fizyczna
kilo[mem]: 1024
ShortLegend[mem]:B
YLegend[mem]: Megabajty
LegendI[mem]: Used:
LegendO[mem]: Total:
PageTop[mem]:<center> <H1>Pamięć fizyczna</H1>
Legend1[mem]: Pamiec uzywana
Legend2[mem]: Pamiec calkowita
# Procesy
Target[procesy]: `/etc/mrtg/procesy`
MaxBytes[procesy]: 30000
kilo[procesy]: 1000
Title[procesy]: Ilo¶ć procesów
PageTop[procesy]: <center> <H1>Ilo¶ć procesów w systemie</H1>
ShortLegend[procesy]:
YLegend[procesy]: Procesy
Legend1[procesy]: Ilo¶ć wszystkich procesów w systemie
Legend2[procesy]: Ilo¶ć działaj±cych procesów
LegendI[procesy]: procesy:
LegendO[procesy]: działaj±ce:
Pozdrawiam.
|