[mrtg] Re: trouble with indexmaker and Serial ports

markus auchmann auchi at orms.info
Wed Feb 4 10:49:04 MET 2004


it's me once again ...

now i tried to get the oid's for these 4 serial ports, so i tried the snmpwalk command and got the following numbers:

# 13.3.1.1.2.4 = "Serial1/0"
# 13.3.1.1.2.5 = "Serial1/1"
# 13.3.1.1.2.8 = "Serial2/0"
# 13.3.1.1.2.9 = "Serial2/1"

now i wrote Serial1/0 & Serial1/1 into the mrtg.cfg to look if it works:

# Target[izrz1.bmlv.gv.at]: 13.3.1.1.2.4&13.3.1.1.2.5:marilu at izrz01.bmlv.gv.at

but:

# cannot encode Object ID 13.3.1.1.2.4: first subid too big in Object ID 13.3.1.1.2.4 at /usr/bin/mrtg line 1607
# WARNING: skipping because at least the query for 13.3.1.1.2.4 on  izrz01.bmlv.gv.at did not succeed
# ERROR: Target[izrz1.bmlv.gv.at][_IN_] ' $$target[1]{$mode} ' did not eval into defined data
# ERROR: Target[izrz1.bmlv.gv.at][_OUT_] ' $$target[1]{$mode} ' did not eval into defined data
# WARNING: Skipping Update of izrz1.bmlv.gv.at, inlast is not defined
# WARNING: Skipping Update of izrz1.bmlv.gv.at, outlast is not defined

what the f*** am i doing wrong ? :(

help ? ;-)

thanks,
markus

>hi dudes,
>
>i'm an mrtg newbie so you're my last hope to handle this problem ;-)
>
>i created an indexmaker file for one of my routers which worked very fine. But now i have another >router where i want to query the load via the Serial Ports (4).
>If i make this command in mrtg.cfg it works fine (it shows me a very nice graph etc.):
>###########################
>Target[4.izrz01.xxx.at]: 4:xxx at izrz01
>MaxBytes[4.izrz01.xxx.at]: 32000
>Title[4.izrz01.xxx.at]: izrz01.bmlv.gv.at (izrz01.bmlv.gv.at): Serial1
>PageTop[4.izrz01.xxx.at]: <H1>Traffic Analysis for Serial1
></H1>
><TABLE>
>  <TR><TD>System:</TD><TD>4.izrz01.xxx.at </TD></TR>
>  <TR><TD>Maintainer:</TD><TD>ich </TD></TR>
>  <TR><TD>Interface:</TD><TD>Serial1 (4)</TD></TR>
>  <TR><TD>IP:</TD><TD>4.izrz01.xxx.at()</TD></TR>
>  <TR><TD>Max Speed:</TD>
>      <TD>32.0 kBytes/s (propPointToPointSerial)</TD></TR>
> </TABLE>
>###########################
>But how can i make an index file where all 4 serial ports were querried ?
>
>please help me !
>
>thanks in advance,
>markus

--
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