[mrtg] "Logformat: rrdtool" and Thresholds: possible bug

Inaki Sanchez isanchez at unav.es
Sat Jun 15 13:37:35 MEST 2002


Hi all,

I'm using mrtg 2.9.18pre11, with log format rrdtool. Now I want to set
up some thresholds on the Temperature of some of my switches, and I
can't get the program being executed at all; but surprisely I've found
that when I don't use rrdtool, all goes fine: the program gets executed
without any problems.

I have found nothing in the docs nor in the archive regarding this. Is
there anything I am missing?
Here are the relevant lines of my .cfg file:

RunAsDaemon: Yes
WorkDir: /var/mrtg
LogFormat: rrdtool
PathAdd: /usr/local/rrdtool-1.0.37/bin
LibAdd: /usr/local/rrdtool-1.0.37/lib/perl
LoadMIBS: /opt/alcatel/MIB/xylan.mib,/opt/alcatel/MIB/xylan-health.mib
Options[_]: growright, gauge
ThreshDir: /var/mrtg/thresh


Target[abc]:
health2DeviceTemperatureLatest.0&health2DeviceTemperature1MinAvg.0:public at 192.168.10.1.1
Directory[abc]: temperatura
MaxBytes[abc]: 100
Title[abc]: Temperatura
YLegend[abc]: TempC
ShortLegend[abc]: C
Legend1[abc]: Temperatura
Legend2[abc]: Temp. media 1 min.
Legend3[abc]:
Legend4[abc]:
LegendI[abc]:  T.:
LegendO[abc]:  T. 1m:
PageTop[abc]: <H1>Temperatura</H1>
 <TABLE>
   <TR><TD>System:</TD>Switch<TD>Switch in Central</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>SRC</TD></TR>
   <TR><TD>Description:</TD><TD>Temperatura en switch 1</TD></TR>
 </TABLE>
ThreshMaxI[abc]: 35
ThreshDesc[abc]: Switch
ThreshProgI[abc]: /var/www/mrtg/thresh/tempermax.pl
ThreshProgOKI[abc]: /var/www/mrtg/thresh/tempermaxOK.pl


Any help would be greatly appreciated.

Regards,

-- 
Inaki Sanchez
Redes y Comunicaciones
Universidad de Navarra, Spain      <http://www.unav.es> 
<mailto:isanchez at unav.es>          948425600 ext. 2020

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