MRTG Problem
MRTG Problem
Hi. Wenn ich die cfg Datei mit diesem befehl erstellen will:
cfgmaker -global 'WorkDir: /usr/local/httpd/htdocs/mrtg' -global 'Options[_]: growright' public@friesi
bekomme ich diese Meldungen!
kann mir vielleicht einer erklären was ich flasch mache?! oder liegt das am public@friesi?!
Die Meldung
###########
--base: Get Device Info on public@friesi:
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPGET Problem for public@friesi:
at /usr/bin/cfgmaker line 657
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because public@friesi: does not seem to support it
--snpo: Skipping ifDescr scanning because public@friesi: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public@friesi: does not seem to support it
--snpo: Skipping ifType scanning because public@friesi: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public@friesi: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPWALK Problem for public@friesi:
at /usr/bin/cfgmaker line 107
--base: Walking ifType
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPWALK Problem for public@friesi:
at /usr/bin/cfgmaker line 107
--base: Walking ifSpeed
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPWALK Problem for public@friesi:
at /usr/bin/cfgmaker line 107
--base: Walking ifAdminStatus
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPWALK Problem for public@friesi:
at /usr/bin/cfgmaker line 107
--base: Walking ifOperStatus
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPWALK Problem for public@friesi:
at /usr/bin/cfgmaker line 107
# Created by
# /usr/bin/cfgmaker -global 'WorkDir: /usr/local/httpd/htdocs/mrtg' -global 'Options[_]: growright' public@friesi
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
WorkDir: /usr/local/httpd/htdocs/mrtg
Options[_]: growright
#####################
cfgmaker -global 'WorkDir: /usr/local/httpd/htdocs/mrtg' -global 'Options[_]: growright' public@friesi
bekomme ich diese Meldungen!
kann mir vielleicht einer erklären was ich flasch mache?! oder liegt das am public@friesi?!
Die Meldung
###########
--base: Get Device Info on public@friesi:
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPGET Problem for public@friesi:
at /usr/bin/cfgmaker line 657
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because public@friesi: does not seem to support it
--snpo: Skipping ifDescr scanning because public@friesi: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public@friesi: does not seem to support it
--snpo: Skipping ifType scanning because public@friesi: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public@friesi: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPWALK Problem for public@friesi:
at /usr/bin/cfgmaker line 107
--base: Walking ifType
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPWALK Problem for public@friesi:
at /usr/bin/cfgmaker line 107
--base: Walking ifSpeed
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPWALK Problem for public@friesi:
at /usr/bin/cfgmaker line 107
--base: Walking ifAdminStatus
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPWALK Problem for public@friesi:
at /usr/bin/cfgmaker line 107
--base: Walking ifOperStatus
Error:
can't resolve "friesi" to IP address
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPWALK Problem for public@friesi:
at /usr/bin/cfgmaker line 107
# Created by
# /usr/bin/cfgmaker -global 'WorkDir: /usr/local/httpd/htdocs/mrtg' -global 'Options[_]: growright' public@friesi
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
WorkDir: /usr/local/httpd/htdocs/mrtg
Options[_]: growright
#####################
Last edited by friesi on 04. Jul 2002 11:35, edited 1 time in total.
- Stormbringer
- Posts: 1570
- Joined: 11. Jan 2001 11:01
- Location: Ruhrgebiet
Re: MRTG Problem
Hi,
wenn Du snmp auf dem System friesi korrekt konfiguriert hast, dann probiere es einfach einmal mit public@[ip Adresse friesi] (z. B. public@192.168.20.10).
Gruß
wenn Du snmp auf dem System friesi korrekt konfiguriert hast, dann probiere es einfach einmal mit public@[ip Adresse friesi] (z. B. public@192.168.20.10).
Gruß
Continuum Hierarchy Supervisor:
You have already been assimilated.
(Rechtschreibungsreformverweigerer!)
You have already been assimilated.
(Rechtschreibungsreformverweigerer!)
Re: MRTG Problem
mhm also an snmp hab ich noch nichts gemacht! wo kann ich das denn einstellen ?!
- Stormbringer
- Posts: 1570
- Joined: 11. Jan 2001 11:01
- Location: Ruhrgebiet
Re: MRTG Problem
Tja, wenn Du snmp nicht konfiguriert hast, wie soll dann die Community public inkl. Daten existieren?
Und eben jene versucht mrtg auszulesen.
Es kommt auf Deine snmp Version an .... evtl. hast Du das Tool snmp-conf installiert, mit welchem Du die Einstellungen durchführen kannst.
Gruß
Und eben jene versucht mrtg auszulesen.
Es kommt auf Deine snmp Version an .... evtl. hast Du das Tool snmp-conf installiert, mit welchem Du die Einstellungen durchführen kannst.
Gruß
Continuum Hierarchy Supervisor:
You have already been assimilated.
(Rechtschreibungsreformverweigerer!)
You have already been assimilated.
(Rechtschreibungsreformverweigerer!)
Re: MRTG Problem
ok snmp läuft nun!
aber jetzt bekomme ich diese fehlermeldung:
Rateup WARNING: /usr/bin/rateup could not read the primary log file for localhost_2
Rateup WARNING: /usr/bin/rateup The backup log file for localhost_2 was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove localhost_2.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename localhost_2.log to localhost_2.old updating log file
Rateup WARNING: /usr/bin/rateup could not read the primary log file for localhost_3
Rateup WARNING: /usr/bin/rateup The backup log file for localhost_3 was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove localhost_3.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename localhost_3.log to localhost_3.old updating log file
was kann ich dagegen machen ?!
aber jetzt bekomme ich diese fehlermeldung:
Rateup WARNING: /usr/bin/rateup could not read the primary log file for localhost_2
Rateup WARNING: /usr/bin/rateup The backup log file for localhost_2 was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove localhost_2.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename localhost_2.log to localhost_2.old updating log file
Rateup WARNING: /usr/bin/rateup could not read the primary log file for localhost_3
Rateup WARNING: /usr/bin/rateup The backup log file for localhost_3 was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove localhost_3.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename localhost_3.log to localhost_3.old updating log file
was kann ich dagegen machen ?!
Re: MRTG Problem
sorry nun geht alles brauchte nur etwas
aber gibt es eine möglichkeit das er die stats alle 5 min updatet?!
automatisch!
wenn ja wie ?!
aber gibt es eine möglichkeit das er die stats alle 5 min updatet?!
automatisch!
wenn ja wie ?!
Last edited by friesi on 04. Jul 2002 19:30, edited 1 time in total.
- Stormbringer
- Posts: 1570
- Joined: 11. Jan 2001 11:01
- Location: Ruhrgebiet
Re: MRTG Problem
Dein Freund ist der cron Job
Gruß
Gruß
Continuum Hierarchy Supervisor:
You have already been assimilated.
(Rechtschreibungsreformverweigerer!)
You have already been assimilated.
(Rechtschreibungsreformverweigerer!)
Re: MRTG Problem
kannst mir den mal "schnell" erklären
oder gibts eine anleitung
oder gibts eine anleitung
Re: MRTG Problem
entweder man cronttab
oder ein job in /etc/cronttab nach folgendem schema eintragen:
Minute Stunde Tag-im-Monat Monat Wochentag Benutzer Befehl [Argumente]
oder ein job in /etc/cronttab nach folgendem schema eintragen:
Minute Stunde Tag-im-Monat Monat Wochentag Benutzer Befehl [Argumente]
Re: MRTG Problem
Hast Du dazu infos ? Ich such immer noch ne DAU taugliche Einführung in (net-)snmp, hab da noch keinen wirklichen Schimmer, weder von der Einrichtung noch der Funktionsweise und würde das gerne ändern.