[mrtg] 2.10.5 Threshold Problems

Martin Rheumer martinr at hotkey.net.au
Thu Oct 2 11:33:02 MEST 2003


Peeps,

Have upgraded my test host in the hope 2.10.5 fixes
the still outstanding issues with Thresholds.
It seems its still not functioning properly.

On 2.9.29 this config still runs perfectly and
triggers correctly, but on 2.10.5 it produces
either of 2 errors.

Use of uninitialized value in system at /usr/local/mrtg/mrtg line 1609.
Use of uninitialized value in system at /usr/local/mrtg/mrtg line 1609.

or

WARNING: can't do threshold checking for target mrac101(i) -- No valid
current data
WARNING: can't do threshold checking for target mrac102(i) -- No valid
current data



(linus)[/usr/local/mrtg]root# cat etc/test.cfg
WorkDir: /usr/local/mrtg/htdocs/mrac1
IconDir: /gifs
ThreshDir: /usr/local/mrtg/thresh_tmp

Options[_]: Growright, Absolute, Gauge, Integer
YLegend[_]: No Of Modems
ShortLegend[_]: Modems
LegendI[_]: Modems&nbsp:&nbsp
Legend1[_]:  Modems
Legend2[_]:

#+--------------------------------------------------------------+
Target[mrac101]: `/usr/local/mrtg/call_stats.pl 3 10.0.0.1 public`
Title[mrac101]: mrac101
MaxBytes[mrac101]: 60
LegendO[mrac101]:
ThreshMinI[mrac101]: 1
ThreshProgI[mrac101]: /usr/local/mrtg/bin_thresh/mail_thresh.pl
SetEnv[mrac101]: CFG_NAME="mrac1"
ThreshProgOKI[mrac101]: /usr/local/mrtg/bin_thresh/mail_threshok
PageTop[mrac101]: <H1>Traffic Analysis for Modem Rack mrac101</H1>
        <TABLE>
  <TR><TD>Max Modems :</TD><TD>60</TD></TR>
        </TABLE>
#+--------------------------------------------------------------+
Target[mrac102]: `/usr/local/mrtg/call_stats.pl 3 10.0.0.2 public`
Title[mrac102]: mrac102
MaxBytes[mrac102]: 60
LegendO[mrac102]:
ThreshMinI[mrac102]: 1
ThreshProgI[mrac102]: /usr/local/mrtg/bin_thresh/mail_thresh.pl
SetEnv[mrac102]: CFG_NAME="mrac1"
ThreshProgOKI[mrac102]: /usr/local/mrtg/bin_thresh/mail_threshok
PageTop[mrac102]: <H1>Traffic Analysis for Modem Rack mrac102</H1>
        <TABLE>
  <TR><TD>Max Modems :</TD><TD>60</TD></TR>
        </TABLE>


The output of the target line is always in the format.

5
0
3426616596
mrac101

If there is no response we get a "0" and triggers the Threshold.



Any help appreciated.

Martin

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