[mrtg] if one router fail, measurement aborts

Markus Gasser tux4all at bluewin.ch
Tue Jan 7 10:20:34 MET 2003


hi all

first of all, i've allready searched in the archive and found a smilliar 
question, but i did not found any answers :-( .

so what's the problem about :

my cfg file first looks for the single router and at the end it creates 
a total, but if only one of the routers fail (for example not 
resolveable) the whole measurement is dropped with the following error 
message.

#######################################################################
Error:
   can't resolve "dsl1ccc" to IP address
  at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 400
SNMPGET Problem for bwnwrocom at dsl1ccc
  at /usr/local/mrtg/bin/mrtg line 1620
WARNING: skipping because at least the query for 
1.3.6.1.4.1.9.10.24.1.1.4.1.3.2 on  dsl1ccc did not succeed
ERROR: Target[bwadslzhb-zhh][_IN_] ' $$target[0]{$mode}  + 
$$target[1]{$mode}  +  $$target[2]{$mode}  +  $$target[3]{$mode}  + 
$$target[4]{$mode}  +  $$target[5]{$mode}  +  $$target[6]{$mode}  + 
$$target[7]{$mode}  +  $$target[8]{$mode}  +  $$target[9]{$mode}  + 
$$target[10]{$mode}  +  $$target[11]{$mode}  +  $$target[12]{$mode}  + 
$$target[13]{$mode}  +  $$target[14]{$mode}  +  $$target[15]{$mode}  + 
$$target[16]{$mode}  +  $$target[17]{$mode}  +  $$target[18]{$mode}  + 
$$target[19]{$mode}  +  $$target[20]{$mode}  +  $$target[21]{$mode}  + 
$$target[22]{$mode}  +  $$target[23]{$mode}  +  $$target[24]{$mode}  + 
$$target[25]{$mode}  +  $$target[26]{$mode}  +  $$target[27]{$mode}  + 
$$target[28]{$mode}  +  $$target[29]{$mode}  +  $$target[30]{$mode}  + 
$$target[31]{$mode} ' (warn): Use of uninitialized value in addition (+) 
at (eval 6) line 1.
ERROR: Target[dsl1ccc-ccb][_OUT_] ' $$target[0]{$mode}  + 
$$target[1]{$mode}  +  $$target[2]{$mode}  +  $$target[3]{$mode}  + 
$$target[4]{$mode}  +  $$target[5]{$mode}  +  $$target[6]{$mode}  + 
$$target[7]{$mode}  +  $$target[8]{$mode}  +  $$target[9]{$mode}  + 
$$target[10]{$mode}  +  $$target[11]{$mode}  +  $$target[12]{$mode}  + 
$$target[13]{$mode}  +  $$target[14]{$mode}  +  $$target[15]{$mode}  + 
$$target[16]{$mode}  +  $$target[17]{$mode}  +  $$target[18]{$mode}  + 
$$target[19]{$mode}  +  $$target[20]{$mode}  +  $$target[21]{$mode}  + 
$$target[22]{$mode}  +  $$target[23]{$mode}  +  $$target[24]{$mode}  + 
$$target[25]{$mode}  +  $$target[26]{$mode}  +  $$target[27]{$mode}  + 
$$target[28]{$mode}  +  $$target[29]{$mode}  +  $$target[30]{$mode}  + 
$$target[31]{$mode} ' (warn): Use of uninitialized value in addition (+) 
at (eval 7) line 1.
WARNING: Skipping Update of dsl1ccc-ccb, inlast is not defined
WARNING: Skipping Update of dsl1ccc-ccb, outlast is not defined
#######################################################################

defined options in this cfg file are :

#######################################################################
WorkDir: /usr/local/apache/htdocs/nic/adsl
IconDir: /img/
Unscaled[^]:ymwd
Options[^]:growright,gauge,unknaszero
YLegend[^]:  ADSL User
ShortLegend[^]: ADSL
Legend1[^]:  Anzahl ADSL Session
Legend3[^]:  Max ADSL Sess.
Legend2[^]:  Anzahl Tunnels zu den ADSL Routern
LegendI[^]:  ADSL Sess.
LegendO[^]:  Tunnels
Legend4[^]:  Max Tunnels zu den ADSL Routern
WithPeak[^]: ymw
Colours[^]: BLUE#0099FF,BLUE#1000ff,DARK GREEN#006600,GREEN#00eb0c
#######################################################################

i also tried this cfg without unknaszero but nothing change.

anybody an idea? i think it should be possible with mrtg.

thanks for your help in advanced

cybergreetings

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