hallo
weiß jemand ob ich bei MRTG auch
den gesamten Traffic der geflossen ist
und nicht nur den momentanen Traffic
anzeigen lassen kann?
und wie kann ich mehrere snmp-clients abfragen
muss ich für jeden einen cfg datei anlegen
und ständig ausführen?
danke Jo
MRTG
- Stormbringer
- Posts: 1570
- Joined: 11. Jan 2001 11:01
- Location: Ruhrgebiet
Re: MRTG
Hi,
ob die Infos in eine db, oder eine andere Datei geschrieben werden können, um diese später noch zu analysieren, kann ich nicht sagen.
Aber Du kannst beliebig viele snmp Systeme durch eine cfg Datei abfragen.
Dies gescheiht in der Form:
--global 'WorkDir: /intranet/http/mrtg'
--global 'Options[_]: bits,growright'
--global 'Imagedir: /intranet/http/mrtg/images'
--global 'Logdir: /intranet/http/mrtg/logs'
--global 'Language: german'
--output /batch/mrtg.cfg
community@system1.domain.xxx
.....
# Ziel 1
Target[kpbnl1-chk-1]: `/usr/local/bin/perl /mrtg/scripts/chunkio.pl 1`
Title[kpbnl1-chk-1]: kpbnl1 chunk 1 (rootdbs)
PageTop[kpbnl1-chk-1]: <H2>kpbnl1 chunk 1 (rootdbs) 0504 </H2>
MaxBytes[kpbnl1-chk-1]: 10000000
Options[kpbnl1-chk-1]: growright, nopercent
YLegend[kpbnl1-chk-1]: reads/writes
ShortLegend[kpbnl1-chk-1]: io/s
Legend1[kpbnl1-chk-1]: reads/writes
Legend2[kpbnl1-chk-1]:
LegendI[kpbnl1-chk-1]: reads: 
LegendO[kpbnl1-chk-1]: writes: 
# Ziel 2
Target[kpbnl1-chk-2]: `/usr/local/bin/perl /mrtg/scripts/chunkio.pl 2`
Title[kpbnl1-chk-2]: kpbnl1 chunk 2 (q8_llogs)
PageTop[kpbnl1-chk-2]: <H2>kpbnl1 chunk 2 (q8_llogs) 0402 </H2>
MaxBytes[kpbnl1-chk-2]: 10000000
Options[kpbnl1-chk-2]: growright, nopercent
YLegend[kpbnl1-chk-2]: reads/writes
ShortLegend[kpbnl1-chk-2]: io/s
Legend1[kpbnl1-chk-2]: reads/writes
Legend2[kpbnl1-chk-2]:
LegendI[kpbnl1-chk-2]: reads: 
LegendO[kpbnl1-chk-2]: writes: 
ob die Infos in eine db, oder eine andere Datei geschrieben werden können, um diese später noch zu analysieren, kann ich nicht sagen.
Aber Du kannst beliebig viele snmp Systeme durch eine cfg Datei abfragen.
Dies gescheiht in der Form:
--global 'WorkDir: /intranet/http/mrtg'
--global 'Options[_]: bits,growright'
--global 'Imagedir: /intranet/http/mrtg/images'
--global 'Logdir: /intranet/http/mrtg/logs'
--global 'Language: german'
--output /batch/mrtg.cfg
community@system1.domain.xxx
.....
# Ziel 1
Target[kpbnl1-chk-1]: `/usr/local/bin/perl /mrtg/scripts/chunkio.pl 1`
Title[kpbnl1-chk-1]: kpbnl1 chunk 1 (rootdbs)
PageTop[kpbnl1-chk-1]: <H2>kpbnl1 chunk 1 (rootdbs) 0504 </H2>
MaxBytes[kpbnl1-chk-1]: 10000000
Options[kpbnl1-chk-1]: growright, nopercent
YLegend[kpbnl1-chk-1]: reads/writes
ShortLegend[kpbnl1-chk-1]: io/s
Legend1[kpbnl1-chk-1]: reads/writes
Legend2[kpbnl1-chk-1]:
LegendI[kpbnl1-chk-1]: reads: 
LegendO[kpbnl1-chk-1]: writes: 
# Ziel 2
Target[kpbnl1-chk-2]: `/usr/local/bin/perl /mrtg/scripts/chunkio.pl 2`
Title[kpbnl1-chk-2]: kpbnl1 chunk 2 (q8_llogs)
PageTop[kpbnl1-chk-2]: <H2>kpbnl1 chunk 2 (q8_llogs) 0402 </H2>
MaxBytes[kpbnl1-chk-2]: 10000000
Options[kpbnl1-chk-2]: growright, nopercent
YLegend[kpbnl1-chk-2]: reads/writes
ShortLegend[kpbnl1-chk-2]: io/s
Legend1[kpbnl1-chk-2]: reads/writes
Legend2[kpbnl1-chk-2]:
LegendI[kpbnl1-chk-2]: reads: 
LegendO[kpbnl1-chk-2]: writes: 
Continuum Hierarchy Supervisor:
You have already been assimilated.
(Rechtschreibungsreformverweigerer!)
You have already been assimilated.
(Rechtschreibungsreformverweigerer!)