[mrtg] Long commandline / cfgmaker
Alexander Hoener
a.hoener at fraport.de
Tue Sep 4 21:05:51 MEST 2001
---------------------- Weitergeleitet von Alexander Hoener/IUK/FAG/DE on
04.09.2001 20:06 ---------------------------
Alexander Hoener; Tel.: 61259
03.09.2001 16:48
An: mrtg at list.ee.ethz.ch
Kopie:
Thema: Long commandline / cfgmaker
Hi
I got some trouble with using cfgmaker (NT) with following commandline:
perl C:\mrtg-2.9.17\bin\cfgmaker --global "Htmldir: c:\home\www-mrtg"
--global "Imagedir: c:\home\www-mrtg\Images" \
--global "Logdir: c:\home\www-mrtg\Logs" --global "RunAsDaemon: yes" --global
"Options[_]: growright,bits" \
--ifdesc=descr --dns-domain=net.fra.fraport.de --community=public
-snmp-options=::1:1::2 --subdirs=HOSTNAME \
"--if-filter=($default_iftype && $if_admin && ($if_type==6 || $if_type==7 ||
$if_type==39 || $if_type==62 || $if_type==69))" --output mrtg.cfg
r1-ipx-atm1-0-3
Ever I tried more than one router, i got this SNMP Error in mrtg.cfg file:
### Interface 1 >> Descr: 'ATM1/0' | Name: '' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * got 'close: Bad file descriptor
### SNMPv2c_Session (remote host: "r1-ipx-atm1-0-3.net.fra.fraport.de"
[10.1.12.1].161)
### community: "public"
### request ID: 465639765
### PDU bufsize: 8000 bytes
### timeout: 1s
### retries: 1
### backoff: 1)' from interface when trying to query
#
# Target[r1-ipx-atm1-0-3.net.fra.fraport.de_1]:
1:public at r1-ipx-atm1-0-3.net.fra.fraport.de::1:1::2
# SetEnv[r1-ipx-atm1-0-3.net.fra.fraport.de_1]: MRTG_INT_IP=""
MRTG_INT_DESCR="ATM1/0"
# Directory[r1-ipx-atm1-0-3.net.fra.fraport.de_1]:
r1-ipx-atm1-0-3.net.fra.fraport.de
# MaxBytes[r1-ipx-atm1-0-3.net.fra.fraport.de_1]: 18720000
# Title[r1-ipx-atm1-0-3.net.fra.fraport.de_1]: ATM1/0 -- R1-IPX
# PageTop[r1-ipx-atm1-0-3.net.fra.fraport.de_1]: <H1>ATM1/0 -- R1-IPX</H1>
# <TABLE>
# <TR><TD>System:</TD> <TD>R1-IPX in </TD></TR>
# <TR><TD>Maintainer:</TD> <TD></TD></TR>
# <TR><TD>Description:</TD><TD>ATM1/0 </TD></TR>
# <TR><TD>ifType:</TD> <TD>sonet (39)</TD></TR>
# <TR><TD>ifName:</TD> <TD></TD></TR>
# <TR><TD>Max Speed:</TD> <TD>149.8 Mbits/s</TD></TR>
# </TABLE>
Has anybody an idea, what's going wrong with this configuraton?
I also tried to generated cfg's in several steps with concating
to one master file. As a result of this, same error appeared while
starting mrtg.
Regards
Alexander Hoener
================================================================================================
Dipl.-inform. Alexander Hoener
Fraport AG, Frankfurt Airport Services Worldwide
Abteilung IUK-SI2
Tor 3, Geb. 173, Raum 2050
60547 Frankfurt
Telefon 069/690-61259
Fax 069/690-51111
Email a.hoener at fraport.de
================================================================================================
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list