ich möchte mit mrtg mein netzwerk überwachen, und habe im linux-magazin (09/02) einen artikel, mjit dessen hilfe ich anfangen will, aber nach der installation kommen die listings un mit ihnen die probleme..
wo liegt das problem ?, ich hoffe ihr könnt mir helfen
root@1[root]# cat cfgm
cfgmaker --output=/home/root/monkey-0.6.3/htdocs/mrtg/linux.cfg --global "workdir:/home/root/monkey-0.6.3/htdocs/mrtg/" --global "Language:german" --global "options[_]: growright" --global "Background[_]: #eeeeee" --ifdesc=descr public@localhost
root@1[root]# ./cfgm
--base: Get Device Info on public@localhost:
--base: Vendor Id:
--base: Populating confcache
--snpo: confcache public@localhost: Descr lo --> 1
--snpo: confcache public@localhost: Descr eth0 --> 2
--snpo: confcache public@localhost: Ip 127.0.0.1 --> 1
--snpo: confcache public@localhost: Ip 192.168.42.7 --> 2
--snpo: confcache public@localhost: Type 24 --> 1
--snpo: confcache public@localhost: Type 6 --> 2
--snpo: confcache public@localhost: Eth --> 1
--snpo: confcache public@localhost: Eth 00-00-e2-7d-d0-95 --> 2
--base: Get Interface Info
--base: Walking ifIndex
--base: Walking ifType
--base: Walking ifAdminStatus
--base: Walking ifOperStatus
--base: Walking ifSpeed
--base: Writing /home/root/monkey-0.6.3/htdocs/mrtg/linux.cfg
root@1[root]#
root@1[root]# cat Listing1
WorkDir: /home/root/monkey-0.6.3/htdocs/mrtg/
Language: german
Background[_]: #eeeeee
Target[interfaceerrors_2]:1.3.6.1.2.1.2.2.1.14.2&1.3.6.1.2.1.2.2.1.20.2:public@192.168.42.7
Options[interfaceerrors_2]: growright,nopercent
Title[interfaceerrors_2]: Fehler auf Interface eth0
MaxBytes[interfaceerrors_2]: 10000
Ylegend[interfaceerrors_2]: Fehler
ShortLegend[interfaceerrors_2]:
Legend1[interfaceerrors_2]: Input Fehler
Legend2[interfaceerrors_2]: Output Fehler
LegendI[interfaceerrors_2]: INPUT
LegendO[interfaceerrors_2]: OUTPUT
PageTop[interfaceerrors_2]: <H1>Input / Output Errors</H1>
Fehler auf Interface eth0
root@1[root]# mrtg Listing1
SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.42.7" [192.168.42.7].161)
community: "public"
request ID: -733261871
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/share/perl5/SNMP_util.pm line 465
SNMPGET Problem for 1.3.6.1.2.1.2.2.1.14.2 1.3.6.1.2.1.2.2.1.20.2 sysUptime sysName on public@192.168.42.7
at /usr/bin/mrtg line 1683
WARNING: skipping because at least the query for 1.3.6.1.2.1.2.2.1.14.2 on 192.168.42.7 did not succeed
WARNING: no data for 1.3.6.1.2.1.2.2.1.14&1.3.6.1.2.1.2.2.1.20:public@192.168.42.7. Skipping further queries for Host 192.168.42.7 in this round.
ERROR: Target[interfaceerrors_2][_IN_] ' $$target[0]{$mode} ' did not eval into defined data
ERROR: Target[interfaceerrors_2][_OUT_] ' $$target[0]{$mode} ' did not eval into defined data
WARNING: Skipping Update of interfaceerrors_2, inlast is not defined
WARNING: Skipping Update of interfaceerrors_2, outlast is not defined
danke
david[/code]