[mrtg] Using LoadMIBS

Herve.Gilibert Herve.Gilibert at univ-st-etienne.fr
Fri Jul 6 13:36:18 MEST 2001


I'd like to use symbolic names for an APC UPS.
I get this error and cannot figure what means "strict subs" :

---------------
ERROR: Target[temp.ondul-t] eval warning: Bareword 
"mUpsEnvironAmbientTemperature" not allowed while "strict subs" in use at 
(eval 6) line 1.
Bareword "mUpsEnvironAmbientTemperature" not allowed while "strict subs" in 
use at (eval 6) line 1.



*************************************************
Cron: The previous message is the standard output
       and standard error of one of your cron commands.
----------------------

Here is my mrtg.cfg :


######################################################################
# Multi Router Traffic Grapher --
######################################################################
WorkDir: /data/web/criter/stats/mrtg
LoadMIBs: /usr/users/criter/gilibert/POWERNET.MIB
#Refresh: 600
#Interval: 10
#WriteExpires: Yes
#-----------------------------------------------------------------------------
Target[temp.ondul-t]: mUpsEnvironAmbientTemperature.1&
  mUpsEnvironAmbientTemperature.1:public at ondul-t
MaxBytes[temp.ondul-t]: 100
Title[temp.ondul-t]: Temperature ambiante onduleur Trefilerie
PageTop[temp.ondul-t]: <H1>Temperature ambiante onduleur Trefilerie</H1>
Options[temp.ondul-t]: gauge
Unscaled[temp.ondul-t]: dwmy
Ylegend[temp.ondul-t]: Temperature (Celsius)
ShortLegend[temp.ondul-t]: degres
Legend1[temp.ondul-t]: Temperature
Legend2[temp.ondul-t]: Temperature
Legend3[temp.ondul-t]: Max temperature
Legend4[temp.ondul-t]: Max temperature
LegendI[temp.ondul-t]: &nbsp;%
LegendO[temp.ondul-t]:
#
..............

Thanks in advance for any clue.

PS: I'm using MRTG 2.9.9


--
Hervé GILIBERT
CRITeR Université Jean Monnet ST ETIENNE
21, Rue du Dr Paul Michelon
42023 ST ETIENNE Cedex 2

Tél: 04 77 48 50 52
Fax: 04 77 48 50 69
Herve.Gilibert at Univ-St-Etienne.fr


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