mrtg Fehlermeldung

smithers

New Member
Hallo,

ich habe mrtg nach dieser Anleitung mrtg auf meinem debian vserver installiert.

Bei Indexmaker erhalte ich folgenden Hinweis:

Use of uninitialized value in hash element at /usr/bin/indexmaker line 352.

Die index.html bleibt leer. Ein Blick in die Zeile 352 hilft mir leider nicht weiter. Komisch finde ich, dass die komplette mrtg.cfg auskommentiert ist.

### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# for Debian
WorkDir: /var/www/web1/html/mrtg

# or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no

######################################################################
# System: rdsxx.i4e-server.de
# Description: Linux rdsxx.i4e-server.de 2.6.9-023stab046 #1 SMP Tue Dec 18 16:56:22 MSK 2007 i686
# Contact: Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
# Location: Unknown (configure /etc/snmp/snmpd.local.conf)
######################################################################


### Interface 1 >> Descr: 'lo' | Name: 'lo' | Ip: '127.0.0.1' | Eth: '' ###
### The following interface is commented out because:
### * it is a Software Loopback interface
#
# Target[localhost_1]: 1:fvh@localhost:
# SetEnv[localhost_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="lo"
# MaxBytes[localhost_1]: 1250000
# Title[localhost_1]: Traffic Analysis for 1 -- rdsxx.i4e-server.de
# PageTop[localhost_1]: <h1>Traffic Analysis for 1 -- rdsxx.i4e-server.de</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>rdsxx.i4e-server.de in Unknown (configure /etc/snmp/snmpd.local.conf)</td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td>Root &lt;root@localhost&gt; (configure /etc/snmp/snmpd.local.conf)</td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>lo </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>softwareLoopback (24)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>lo</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>1250.0 kBytes/s</td>
# </tr>
# <tr>
# <td>Ip:</td>
# <td>127.0.0.1 (rdsxx.i4e-server.de)</td>
# </tr>
# </table>
# </div>


### Interface 3 >> Descr: 'venet0' | Name: 'venet0' | Ip: '88.80.221.23' | Eth: '' ###
### The following interface is commented out because:
### * has a speed of 0 which makes no sense
#
# Target[localhost_3]: 3:fvh@localhost:
# SetEnv[localhost_3]: MRTG_INT_IP="88.80.221.23" MRTG_INT_DESCR="venet0"
# MaxBytes[localhost_3]: 0
# Title[localhost_3]: Traffic Analysis for 3 -- rdsxx.i4e-server.de
# PageTop[localhost_3]: <h1>Traffic Analysis for 3 -- rdsxx.i4e-server.de</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>rdsxx.i4e-server.de in Unknown (configure /etc/snmp/snmpd.local.conf)</td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td>Root &lt;root@localhost&gt; (configure /etc/snmp/snmpd.local.conf)</td>
# </tr>
# <tr>
# <td>Description:</td>
# <td>venet0 </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>Other (1)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td>venet0</td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>0.0 Bytes/s</td>
# </tr>
# <tr>
# <td>Ip:</td>
# <td>88.80.221.23 (rdsxx.i4e-server.de)</td>
# </tr>
# </table>
# </div>
 
Back
Top