Freesco, NND, CDN, EOS

http://www.freesco.pl
Dzisiaj jest poniedziałek, 7 lipca 2025, 01:33

Strefa czasowa UTC+2godz.




Nowy temat Odpowiedz w temacie  [ Posty: 19 ] 
Autor Wiadomość
Post: sobota, 20 listopada 2004, 09:54 
Offline

Rejestracja: niedziela, 22 lutego 2004, 23:20
Posty: 18
Witam.

Zainstalowalem mrtg ale przy probie uruchomienia wywala mi błąd:

root@nnd:/etc/rc.d# ./rc.mrtg restart
iptables: Chain already exists
iptables v1.2.9: host/network `#' not found
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.9: host/network `#' not found
Try `iptables -h' or 'iptables --help' for more information.
root@nnd:/etc/rc.d# ERROR: Line 110 (This software comes with ABSOLUTELY NO WARRANTY. This is free software,) in CFG file (/etc/mrtg/mrtg.conf) does not make sense

Szukałem na forum ale nic nie znalazlem na ten temat.

Z góry dzieki za pomoc.

Pozdrawiam.


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: sobota, 20 listopada 2004, 13:32 
Offline
MODERATOR

Rejestracja: poniedziałek, 27 stycznia 2003, 23:39
Posty: 3065
Lokalizacja: Kraków/Częstochowa
wszystko przecież jest wyraźnie napisane:
w pliku /etc/mrtg/mrtg.conf podana linia nie ma sensu'
czyli jest błędna :D


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: sobota, 20 listopada 2004, 13:55 
Offline

Rejestracja: niedziela, 22 lutego 2004, 23:20
Posty: 18
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: &nbsp &nbsp [ ]
kilo[Error:]: 1024
ShortLegend[Error:]: B/s
YLegend[Error:]: B/s
PageTop[Error:]:<center> <H1>Error: &nbsp &nbsp [ ]</H1>

Target[Expected]: `/etc/mrtg/mrtg.ip Expected`
MaxBytes[Expected]: 100000000
Options[Expected]: growright, nopercent, integer, nobanner, noinfo
Title[Expected]: Expected &nbsp &nbsp [ ]
kilo[Expected]: 1024
ShortLegend[Expected]: B/s
YLegend[Expected]: B/s
PageTop[Expected]:<center> <H1>Expected &nbsp &nbsp [ ]</H1>

Target[3]: `/etc/mrtg/mrtg.ip 3`
MaxBytes[3]: 100000000
Options[3]: growright, nopercent, integer, nobanner, noinfo
Title[3]: 3 &nbsp &nbsp [ ]
kilo[3]: 1024
ShortLegend[3]: B/s
YLegend[3]: B/s
PageTop[3]:<center> <H1>3 &nbsp &nbsp [ ]</H1>

Target[arguments,]: `/etc/mrtg/mrtg.ip arguments,`
MaxBytes[arguments,]: 100000000
Options[arguments,]: growright, nopercent, integer, nobanner, noinfo
Title[arguments,]: arguments, &nbsp &nbsp [ ]
kilo[arguments,]: 1024
ShortLegend[arguments,]: B/s
YLegend[arguments,]: B/s
PageTop[arguments,]:<center> <H1>arguments, &nbsp &nbsp [ ]</H1>

Target[found]: `/etc/mrtg/mrtg.ip found`
MaxBytes[found]: 100000000
Options[found]: growright, nopercent, integer, nobanner, noinfo
Title[found]: found &nbsp &nbsp [ ]
kilo[found]: 1024
ShortLegend[found]: B/s
YLegend[found]: B/s
PageTop[found]:<center> <H1>found &nbsp &nbsp [ ]</H1>

Target[only]: `/etc/mrtg/mrtg.ip only`
MaxBytes[only]: 100000000
Options[only]: growright, nopercent, integer, nobanner, noinfo
Title[only]: only &nbsp &nbsp [ ]
kilo[only]: 1024
ShortLegend[only]: B/s
YLegend[only]: B/s
PageTop[only]:<center> <H1>only &nbsp &nbsp [ ]</H1>

Target[2.]: `/etc/mrtg/mrtg.ip 2.`
MaxBytes[2.]: 100000000
Options[2.]: growright, nopercent, integer, nobanner, noinfo
Title[2.]: 2. &nbsp &nbsp [ Broadcast ]
kilo[2.]: 1024
ShortLegend[2.]: B/s
YLegend[2.]: B/s
PageTop[2.]:<center> <H1>2. &nbsp &nbsp [ Broadcast ]</H1>

Target[Use]: `/etc/mrtg/mrtg.ip Use`
MaxBytes[Use]: 100000000
Options[Use]: growright, nopercent, integer, nobanner, noinfo
Title[Use]: Use &nbsp &nbsp [ ]
kilo[Use]: 1024
ShortLegend[Use]: B/s
YLegend[Use]: B/s
PageTop[Use]:<center> <H1>Use &nbsp &nbsp [ ]</H1>

Target[--help]: `/etc/mrtg/mrtg.ip --help`
MaxBytes[--help]: 100000000
Options[--help]: growright, nopercent, integer, nobanner, noinfo
Title[--help]: --help &nbsp &nbsp [ 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 &nbsp &nbsp [ 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 &nbsp &nbsp [ ]
kilo[to]: 1024
ShortLegend[to]: B/s
YLegend[to]: B/s
PageTop[to]:<center> <H1>to &nbsp &nbsp [ ]</H1>

Target[list]: `/etc/mrtg/mrtg.ip list`
MaxBytes[list]: 100000000
Options[list]: growright, nopercent, integer, nobanner, noinfo
Title[list]: list &nbsp &nbsp [ ]
kilo[list]: 1024
ShortLegend[list]: B/s
YLegend[list]: B/s
PageTop[list]:<center> <H1>list &nbsp &nbsp [ ]</H1>

Target[options.]: `/etc/mrtg/mrtg.ip options.`
MaxBytes[options.]: 100000000
Options[options.]: growright, nopercent, integer, nobanner, noinfo
Title[options.]: options. &nbsp &nbsp [ ]
kilo[options.]: 1024
ShortLegend[options.]: B/s
YLegend[options.]: B/s
PageTop[options.]:<center> <H1>options. &nbsp &nbsp [ ]</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]: &nbsp;
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]: &nbsp;
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]: &nbsp;user:
LegendO[cpu]: &nbsp;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&para;ć procesów
PageTop[procesy]: <center> <H1>Ilo&para;ć procesów w systemie</H1>
ShortLegend[procesy]: &nbsp;
YLegend[procesy]: Procesy
Legend1[procesy]: Ilo&para;ć wszystkich procesów w systemie
Legend2[procesy]: Ilo&para;ć działaj&plusmn;cych procesów
LegendI[procesy]: procesy:
LegendO[procesy]: działaj&plusmn;ce:

Pozdrawiam.


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: sobota, 20 listopada 2004, 13:57 
Offline
MODERATOR

Rejestracja: poniedziałek, 27 stycznia 2003, 23:39
Posty: 3065
Lokalizacja: Kraków/Częstochowa
Cytuj:
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 &nbsp &nbsp [ 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>


wywal to z konfiga
skąd masz ten konfig?


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: sobota, 20 listopada 2004, 14:21 
Offline

Rejestracja: niedziela, 22 lutego 2004, 23:20
Posty: 18
Wywalełem i dalej to samo :(
Paczka pochodzi stąd: http://nnd.freesco.pl/download-old/pakiety/

Pozdrawiam.


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: sobota, 20 listopada 2004, 15:16 
Offline
MODERATOR

Rejestracja: poniedziałek, 27 stycznia 2003, 23:39
Posty: 3065
Lokalizacja: Kraków/Częstochowa
wiesz co ten cały konfig jest do niczego, pełno błedów coś źle skonfigurowałeś że ci takie wartości w nim powpisywał


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: sobota, 20 listopada 2004, 22:13 
Offline
PGF

Rejestracja: sobota, 15 marca 2003, 13:54
Posty: 2780
Masz nowe czy stare NND ??

_________________
Internet TV telefon - Nakło nad Notecią
NoNieno.pl - urywa gacie :)
Szybkie kobiety i piękne samochody


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: niedziela, 21 listopada 2004, 09:55 
Offline
PGF

Rejestracja: niedziela, 14 lipca 2002, 14:33
Posty: 3234
Lokalizacja: Radziejów
zapewne pobrales go z:

http://reliserv.pl/nnd/mrtg.tgz

sprawdz swój /etc/hosts
i zainstaluj jeszcze raz.


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: niedziela, 21 listopada 2004, 16:22 
Offline

Rejestracja: niedziela, 22 lutego 2004, 23:20
Posty: 18
Witam.

Sciagnołem mrtg jeszcze raz z http://reliserv.pl/nnd/mrtg.tgz i teraz sie uruchamia, ta instalka http://nnd.freesco.pl/download-old/pakiety/ chyba nie dziala. :wink:

Ale mam problem bo obrywam komunikatami typu
Rateup WARNING: /usr/bin/rateup Can't remove prtcp.old updating log file
Rateup WARNING: /usr/bin/rateup Can't remove hosty.old updating log file
Rateup WARNING: /usr/bin/rateup Can't remove cpu.old updating log file
Rateup WARNING: /usr/bin/rateup Can't remove hda1.old updating log file

Mrtg miby cos tam liczy ale nie wiem co zrobic z tymi bledami :oops:


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: poniedziałek, 22 listopada 2004, 01:01 
Offline

Rejestracja: sobota, 19 czerwca 2004, 17:52
Posty: 85
witam,
mi wywala cos takiego i nie moge zainstalowac mrtg :(
: [/] [] ()
grep: unrecognized option `--checklist,'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
ERROR: CFG Error in "maxbytes[error:]", line 409:  must be a Number bigger than 0


Wie ktos o co chodzi ?


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: poniedziałek, 22 listopada 2004, 12:51 
Offline
PGF

Rejestracja: niedziela, 14 lipca 2002, 14:33
Posty: 3234
Lokalizacja: Radziejów
wklej nam tu kawalek
/etc/mrtg/ mrtg.conf

tak od linii 390 do 430


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: poniedziałek, 22 listopada 2004, 13:10 
Offline

Rejestracja: sobota, 19 czerwca 2004, 17:52
Posty: 85
: [/] [] ()
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[1.2.3.4]: `/etc/mrtg/mrtg.ip x.x.x.x`
MaxBytes[1.2.3.4]: 100000000
Options[1.2.3.4]: growright, nopercent, integer, nobanner, noinfo
Title[1.2.3.4]: x.x.x.x &nbsp &nbsp [ adminet ]
kilo[1.2.3.4]: 1024
ShortLegend[1.2.3.4]: B/s
YLegend[1.2.3.4]: B/s
PageTop[1.2.3.4]:<center> <H1>1.2.3.4 &nbsp &nbsp [ host1234 ]</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]: &nbsp;
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]: &nbsp;
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]: &nbsp;user:
LegendO[cpu]: &nbsp;total:
Ylegend[cpu]: %
ShortLegend[cpu]: %
Legend1[cpu]: Czas spedzony trybie user
Legend2[cpu]: Czas spedzony trybie user + czas spedzony trybie system

Target[Error:]: `df|grep Error:|awk '{print $3 "\n" $4}'`
MaxBytes[Error:]:
Unscaled[Error:]: ymdw
Title[Error:]: Dysk Error:
kMG[Error:]:K,M,G,T
ShortLegend[Error:]:B
YLegend[Error:]: Megabajty
PageTop[Error:]:<CENTER> <H1>Zajetosc dysku Error:</H1>
LegendI[Error:]: Used:
LegendO[Error:]: Free:
Legend1[Error:]: Obszar zajety
Legend2[Error:]: Obszar wolny

Target[Expected]: `df|grep Expected|awk '{print $3 "\n" $4}'`
MaxBytes[Expected]:
Unscaled[Expected]: ymdw
Title[Expected]: Dysk Expected
kMG[Expected]:K,M,G,T
ShortLegend[Expected]:B
YLegend[Expected]: Megabajty
PageTop[Expected]:<CENTER> <H1>Zajetosc dysku Expected</H1>
LegendI[Expected]: Used:
LegendO[Expected]: Free:
Legend1[Expected]: Obszar zajety
Legend2[Expected]: Obszar wolny

Target[at]: `df|grep at|awk '{print $3 "\n" $4}'`
MaxBytes[at]:
Unscaled[at]: ymdw
Title[at]: Dysk at
kMG[at]:K,M,G,T
ShortLegend[at]:B
YLegend[at]: Megabajty
PageTop[at]:<CENTER> <H1>Zajetosc dysku at</H1>
LegendI[at]: Used:
LegendO[at]: Free:
Legend1[at]: Obszar zajety
Legend2[at]: Obszar wolny

Target[least]: `df|grep least|awk '{print $3 "\n" $4}'`
MaxBytes[least]:
Unscaled[least]: ymdw
Title[least]: Dysk least
kMG[least]:K,M,G,T
ShortLegend[least]:B
YLegend[least]: Megabajty
PageTop[least]:<CENTER> <H1>Zajetosc dysku least</H1>
LegendI[least]: Used:
LegendO[least]: Free:
Legend1[least]: Obszar zajety
Legend2[least]: Obszar wolny

Target[7]: `df|grep 7|awk '{print $3 "\n" $4}'`
MaxBytes[7]: 2047088
Unscaled[7]: ymdw
Title[7]: Dysk 7
kMG[7]:K,M,G,T
ShortLegend[7]:B
YLegend[7]: Megabajty
PageTop[7]:<CENTER> <H1>Zajetosc dysku 7</H1>
LegendI[7]: Used:
LegendO[7]: Free:
Legend1[7]: Obszar zajety
Legend2[7]: Obszar wolny

Target[tokens]: `df|grep tokens|awk '{print $3 "\n" $4}'`
MaxBytes[tokens]:
Unscaled[tokens]: ymdw
Title[tokens]: Dysk tokens
kMG[tokens]:K,M,G,T
ShortLegend[tokens]:B
YLegend[tokens]: Megabajty
PageTop[tokens]:<CENTER> <H1>Zajetosc dysku tokens</H1>
LegendI[tokens]: Used:
LegendO[tokens]: Free:
Legend1[tokens]: Obszar zajety
Legend2[tokens]: Obszar wolny

Target[for]: `df|grep for|awk '{print $3 "\n" $4}'`
MaxBytes[for]:
Unscaled[for]: ymdw
Title[for]: Dysk for
kMG[for]:K,M,G,T
ShortLegend[for]:B
YLegend[for]: Megabajty
PageTop[for]:<CENTER> <H1>Zajetosc dysku for</H1>
LegendI[for]: Used:
LegendO[for]: Free:
Legend1[for]: Obszar zajety
Legend2[for]: Obszar wolny

Target[--checklist,]: `df|grep --checklist,|awk '{print $3 "\n" $4}'`
MaxBytes[--checklist,]:
Unscaled[--checklist,]: ymdw
Title[--checklist,]: Dysk --checklist,
kMG[--checklist,]:K,M,G,T
ShortLegend[--checklist,]:B
YLegend[--checklist,]: Megabajty
PageTop[--checklist,]:<CENTER> <H1>Zajetosc dysku --checklist,</H1>
LegendI[--checklist,]: Used:
LegendO[--checklist,]: Free:
Legend1[--checklist,]: Obszar zajety
Legend2[--checklist,]: Obszar wolny

Target[have]: `df|grep have|awk '{print $3 "\n" $4}'`
MaxBytes[have]:
Unscaled[have]: ymdw
Title[have]: Dysk have
kMG[have]:K,M,G,T
ShortLegend[have]:B
YLegend[have]: Megabajty
PageTop[have]:<CENTER> <H1>Zajetosc dysku have</H1>
LegendI[have]: Used:
LegendO[have]: Free:
Legend1[have]: Obszar zajety
Legend2[have]: Obszar wolny

Target[4.]: `df|grep 4.|awk '{print $3 "\n" $4}'`
MaxBytes[4.]: 2047088
1059360
Unscaled[4.]: ymdw
Title[4.]: Dysk 4.
kMG[4.]:K,M,G,T
ShortLegend[4.]:B
YLegend[4.]: Megabajty
PageTop[4.]:<CENTER> <H1>Zajetosc dysku 4.</H1>
LegendI[4.]: Used:
LegendO[4.]: Free:
Legend1[4.]: Obszar zajety
Legend2[4.]: Obszar wolny

Target[Use]: `df|grep Use|awk '{print $3 "\n" $4}'`
MaxBytes[Use]: 1k-blocks
Unscaled[Use]: ymdw
Title[Use]: Dysk Use
kMG[Use]:K,M,G,T
ShortLegend[Use]:B
YLegend[Use]: Megabajty
PageTop[Use]:<CENTER> <H1>Zajetosc dysku Use</H1>
LegendI[Use]: Used:
LegendO[Use]: Free:
Legend1[Use]: Obszar zajety
Legend2[Use]: Obszar wolny

Target[--help]: `df|grep --help|awk '{print $3 "\n" $4}'`
MaxBytes[--help]: grep
for
grep

selection
--extended-regexp
--fixed-strings
--basic-regexp
--perl-regexp
--regexp=PATTERN
--file=FILE
--ignore-case
--word-regexp
--line-regexp
--null-data


--no-messages
--invert-match
--version
display
use

control:
--max-count=NUM
--byte-offset
--line-number
flush
--with-filename
--no-filename
print
--only-matching
--quiet,
assume
is
--text
equivalent
--directories=ACTION
is
--devices=ACTION
is
-r,
files
files
files
--files-without-match
--files-with-matches
--count
--null

control:
--before-context=NUM
--after-context=NUM
--context=NUM
same

use
may
--binary
--unix-byte-offsets

means
no
FILEs
2

bugs
Unscaled[--help]: ymdw
Title[--help]: Dysk --help
kMG[--help]:K,M,G,T
ShortLegend[--help]:B
YLegend[--help]: Megabajty
PageTop[--help]:<CENTER> <H1>Zajetosc dysku --help</H1>
LegendI[--help]: Used:
LegendO[--help]: Free:
Legend1[--help]: Obszar zajety
Legend2[--help]: Obszar wolny

Target[to]: `df|grep to|awk '{print $3 "\n" $4}'`
MaxBytes[to]:
Unscaled[to]: ymdw
Title[to]: Dysk to
kMG[to]:K,M,G,T
ShortLegend[to]:B
YLegend[to]: Megabajty
PageTop[to]:<CENTER> <H1>Zajetosc dysku to</H1>
LegendI[to]: Used:
LegendO[to]: Free:
Legend1[to]: Obszar zajety
Legend2[to]: Obszar wolny

Target[list]: `df|grep list|awk '{print $3 "\n" $4}'`
MaxBytes[list]:
Unscaled[list]: ymdw
Title[list]: Dysk list
kMG[list]:K,M,G,T
ShortLegend[list]:B
YLegend[list]: Megabajty
PageTop[list]:<CENTER> <H1>Zajetosc dysku list</H1>
LegendI[list]: Used:
LegendO[list]: Free:
Legend1[list]: Obszar zajety
Legend2[list]: Obszar wolny

Target[options.]: `df|grep options.|awk '{print $3 "\n" $4}'`
MaxBytes[options.]:
Unscaled[options.]: ymdw
Title[options.]: Dysk options.
kMG[options.]:K,M,G,T
ShortLegend[options.]:B
YLegend[options.]: Megabajty
PageTop[options.]:<CENTER> <H1>Zajetosc dysku options.</H1>
LegendI[options.]: Used:
LegendO[options.]: Free:
Legend1[options.]: Obszar zajety
Legend2[options.]: 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]: 527679488
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&#182;ć procesów
PageTop[procesy]: <center> <H1>Ilo&#182;ć procesów w systemie</H1>
ShortLegend[procesy]: &nbsp;
YLegend[procesy]: Procesy
Legend1[procesy]: Ilo&#182;ć wszystkich procesów w systemie
Legend2[procesy]: Ilo&#182;ć działaj&#177;cych procesów
LegendI[procesy]: procesy:
LegendO[procesy]: działaj&#177;ce:


To jest prawie caly mrtg.conf

Wycialem tylko Target'y z adresami IP klientow ( prawidlowo rozpoznaje adresy ip i nazwy Hostow)


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: poniedziałek, 22 listopada 2004, 17:49 
Offline
MODERATOR

Rejestracja: poniedziałek, 27 stycznia 2003, 23:39
Posty: 3065
Lokalizacja: Kraków/Częstochowa
przecież tu wszystko widać, są błędy w konfigu, te zlinie z --checklist i kolejne po nich
skrypt generujący chyba się zaplątał


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: poniedziałek, 22 listopada 2004, 18:19 
Offline
PGF

Rejestracja: niedziela, 14 lipca 2002, 14:33
Posty: 3234
Lokalizacja: Radziejów
Proponuje Ci najpierw prawidlowo wszystko skonfigurowac, wpisac wszystkich do /etc/hosts itd..
A na koniec instalowac mrtg.

A problem lezy w rozpoznaniu dyskow.


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: poniedziałek, 22 listopada 2004, 19:15 
Offline

Rejestracja: sobota, 19 czerwca 2004, 17:52
Posty: 85
hmmm dziwne...
Wydaje mi sie ze mam wszystko skonfigurowane... po uruchomieniu mrtg.install prawidlowo wybiera sie interfejsy potem prawidlowo rozpoznaje aresy IP oraz hosty i prawidlowo wybiera sie mem i swap... i potem wyskakuje ten glupi komunikat... to jest cos z tym --checklist po kilku probach oznaczylem swap i mem ale nic to nie dalo :(

Kurde siedze juz nad tym troche i nie moge dojsc d co tu chodzi


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: poniedziałek, 22 listopada 2004, 20:02 
Offline
PGF

Rejestracja: niedziela, 14 lipca 2002, 14:33
Posty: 3234
Lokalizacja: Radziejów
problem lezy w rozpoznaniu dyskow.


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: poniedziałek, 22 listopada 2004, 22:21 
Offline

Rejestracja: sobota, 19 czerwca 2004, 17:52
Posty: 85
hmmm a moze cos konkretniej bo nie moge sie doszukac bledow...
jesli poprawie cos w mrtg.conf i wrzuce skrypt mrtg.install conf zostaje poprawiony i problem znowu wychodzi... jakpoprawic tego conf'a zeby wszystko gralo... dodam ze system chodzi na scsi i to moze dlatego ?


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: poniedziałek, 22 listopada 2004, 22:46 
Offline
PGF

Rejestracja: niedziela, 14 lipca 2002, 14:33
Posty: 3234
Lokalizacja: Radziejów
No i wydalo sie, kto serek zjadl :)
/var/mrtg.install
linia 49...
: [/] [] ()
for each in `mount|grep hd|sed s/\\\\/dev\\\\///|awk '{print $1}'`
    do DISKS="$DISKS $each $each on";
done


zmien hd na odpowiednie dla dyskow scii.


Na górę
 Wyświetl profil  
 
 Tytuł:
Post: czwartek, 25 listopada 2004, 13:27 
No wlasnie walczylem z mrtg i dyskiem scsi :D
I wystarczylo zmienic z hd na sd i po sprawie :D


Na górę
  
 
Wyświetl posty nie starsze niż:  Sortuj wg  
Nowy temat Odpowiedz w temacie  [ Posty: 19 ] 

Strefa czasowa UTC+2godz.


Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 9 gości


Nie możesz tworzyć nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz dodawać załączników

Szukaj:
Przejdź do:  
cron
Technologię dostarcza phpBB® Forum Software © phpBB Group
Hosting: Compus-Net
RobertKonik.pl