affe23
14.02.07, 08:38
Hi
habe folgendes Problem:
versuche gerade ein MRTG (Multi Router Traffic Grapher) System zusammen zu schrauben. Ich möchte damit zuerstmal nur eine RMS (Rack Monitoring System) abfragen (nur zwei Temperaturwerte) und mir eine Grafik erstellen lassen. Die RMS liefert SNMP Status-Meldungen die vom MRTG in Graphen und dann in html Seiten eingebettet werden. Mein Problem liegt jetzt schon bei der Erstellung eines config-files, Aufgrund dieses config-files wird dann eine Grafik erstellt.
Und hier liegt der Hase im Pfeffer.
Anleitung gelesen, nochmal gelesen, nochmal gelesen und anscheinend immer die falsche systax zur Erstellung eben dieses config-files benutzt.
./cfgmaker --global 'WorkDir: /home/mrtg/cfg' --global 'Options[_]:bits,growright' --output /home/mrtg/cfg/mrtg.cfg geheim@192.168.0.101: 1.3.6.1.4.1.1909.10.4.1.1.3.1:geheim@192.168.0.101
(syntax um config-file zu erstellen)
(objectid--> 1.3.6.1.4.1.1909.10.4.1.1.3.1: readcommunity-->geheim@ rms-adresse-->192.168.0.101 )
--base: Get Device Info on geheim@192.168.0.101:
--base: Vendor Id:
--base: Populating confcache
--coca: populate confcache geheim@192.168.0.101:
--coca: store in confcache geheim@192.168.0.101_ Descr eth0 --> 1
--coca: store in confcache geheim@192.168.0.101_ Descr lo --> 2
--coca: store in confcache geheim@192.168.0.101_ Type 6 --> 1
--coca: store in confcache geheim@192.168.0.101_ Type 24 --> 2
--coca: store in confcache geheim@192.168.0.101_ Ip 127.0.0.1 --> 2
--coca: store in confcache geheim@192.168.0.101_ Ip 192.168.0.101 --> 1
--coca: store in confcache geheim@192.168.0.101_ Eth 00-10-6c-00-1e-0a --> 1
--coca: store in confcache geheim@192.168.0.101_ Eth --> 2
--base: Get Interface Info
--base: Walking ifIndex
--base: Walking ifType
--base: Walking ifAdminStatus
--base: Walking ifOperStatus
--base: Walking ifMtu
--base: Walking ifSpeed--base: Get Device Info on 1.3.6.1.4.1.1909.10.4.1.1.3.1:geheim@192.168.0.101 :
SNMP Error:no response received
SNMPv1_Session (remote host: "192.168.0.101"[192.168.0.101].161)
community: "1.3.6.1.4.1.1909.10.4.1.1.3.1:geheim"
request ID: 2112924239
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/src/mrtg-2.15.0/bin/../lib/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on1.3.6.1.4.1.1909.10.4.1.1.3.1:geheim@192.168.0.1 01:::::v4only at
./cfgmaker line 915
WARNING: Skipping 1.3.6.1.4.1.1909.10.4.1.1.3.1:geheim@192.168.0.101 : as no info could be retrieved
--base: Writing /home/mrtg/cfg/mrtg.cfg
ich weiß das es viel Text ist aber vielleicht hat ja jemand ne Idee oder schonmal ein MRTG Projekt gemacht der mir mit seiner Doku bzw. Ideen helfen könnte.
habe folgendes Problem:
versuche gerade ein MRTG (Multi Router Traffic Grapher) System zusammen zu schrauben. Ich möchte damit zuerstmal nur eine RMS (Rack Monitoring System) abfragen (nur zwei Temperaturwerte) und mir eine Grafik erstellen lassen. Die RMS liefert SNMP Status-Meldungen die vom MRTG in Graphen und dann in html Seiten eingebettet werden. Mein Problem liegt jetzt schon bei der Erstellung eines config-files, Aufgrund dieses config-files wird dann eine Grafik erstellt.
Und hier liegt der Hase im Pfeffer.
Anleitung gelesen, nochmal gelesen, nochmal gelesen und anscheinend immer die falsche systax zur Erstellung eben dieses config-files benutzt.
./cfgmaker --global 'WorkDir: /home/mrtg/cfg' --global 'Options[_]:bits,growright' --output /home/mrtg/cfg/mrtg.cfg geheim@192.168.0.101: 1.3.6.1.4.1.1909.10.4.1.1.3.1:geheim@192.168.0.101
(syntax um config-file zu erstellen)
(objectid--> 1.3.6.1.4.1.1909.10.4.1.1.3.1: readcommunity-->geheim@ rms-adresse-->192.168.0.101 )
--base: Get Device Info on geheim@192.168.0.101:
--base: Vendor Id:
--base: Populating confcache
--coca: populate confcache geheim@192.168.0.101:
--coca: store in confcache geheim@192.168.0.101_ Descr eth0 --> 1
--coca: store in confcache geheim@192.168.0.101_ Descr lo --> 2
--coca: store in confcache geheim@192.168.0.101_ Type 6 --> 1
--coca: store in confcache geheim@192.168.0.101_ Type 24 --> 2
--coca: store in confcache geheim@192.168.0.101_ Ip 127.0.0.1 --> 2
--coca: store in confcache geheim@192.168.0.101_ Ip 192.168.0.101 --> 1
--coca: store in confcache geheim@192.168.0.101_ Eth 00-10-6c-00-1e-0a --> 1
--coca: store in confcache geheim@192.168.0.101_ Eth --> 2
--base: Get Interface Info
--base: Walking ifIndex
--base: Walking ifType
--base: Walking ifAdminStatus
--base: Walking ifOperStatus
--base: Walking ifMtu
--base: Walking ifSpeed--base: Get Device Info on 1.3.6.1.4.1.1909.10.4.1.1.3.1:geheim@192.168.0.101 :
SNMP Error:no response received
SNMPv1_Session (remote host: "192.168.0.101"[192.168.0.101].161)
community: "1.3.6.1.4.1.1909.10.4.1.1.3.1:geheim"
request ID: 2112924239
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/src/mrtg-2.15.0/bin/../lib/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on1.3.6.1.4.1.1909.10.4.1.1.3.1:geheim@192.168.0.1 01:::::v4only at
./cfgmaker line 915
WARNING: Skipping 1.3.6.1.4.1.1909.10.4.1.1.3.1:geheim@192.168.0.101 : as no info could be retrieved
--base: Writing /home/mrtg/cfg/mrtg.cfg
ich weiß das es viel Text ist aber vielleicht hat ja jemand ne Idee oder schonmal ein MRTG Projekt gemacht der mir mit seiner Doku bzw. Ideen helfen könnte.