|
From: DoubleHP <dou...@do...> - 2016-11-23 10:33:06
|
On 23/11/16 05:18, Lars Kruse wrote:
> Hello,
>
>> And the problem is,to draw the main picture
>> edf_teleinformation_new_demaine, process is expecting the existance
>> of rpi-03.doublehp.org-edf_teleinformation_demaine-adps-g.rrd which has no
>> reason to exists.
>
> Which filename did you expect to be used instead?
No file name expected at all when a field is not mentinned in the CONFIG
of a graph.
> Wild guessing: did you try to change the name of the field ("adps")?
I have duplicated the plugin, and renamed every single occurance of the
word adps with a number: adps01 adps02 adps03 ... to see which one injects
the bug ... and I got a graph without any problem.
Still there is a bug in Munin, because the same issue occurs with a truck
plugin that was "just installed and never modified". See first message.
> In order to help reproducing this issue: could you send us a valid example
> output of your plugin?
I repaste my first message (and hope this will not trigger the html bug)
It's not the verbatim output; the real output is 4 times longer; only
showing relevant part to illustrate that adps is not mentionned in the
first graph. And have never been in any past dev version.
Here is the output of the config of my plugin:
multigraph edf_teleinformation_new_demaine
graph_title EDF TIC for Demaine40
graph_category edf
graph_args --base 1000
graph_vtitle vtitle
graph_vlabel vlabel
graph_info Numero de serie
pappavg.label PAPP
pappavg.info Puissance apparente totale en W (compteur)
multigraph edf_teleinformation_new_demaine.abonnement
graph_title Abonnement
graph_category edf
graph_args --base 1000
graph_vtitle vtitle
graph_vlabel -
optarif.label OPTARIF
optarif.info Option tarifaire: 1=BASE 2=HC 3=EJP 4=TEMPO(BBR)
isousc.label Courant souscrit
isousc.info en A
psousc.label Puissance souscrite
psousc.info en W - diviser par 1000 pour avoir les KW
tarif1.label Prix1 kWh
tarif1.info tarif periode 1 en eur(HT)/KWh
tarif2.label Prix2 kWh
tarif2.info tarif periode 2 en eur(HT)/KWh
phasecount.label phases
phasecount.info Nombre de phases
multigraph edf_teleinformation_new_demaine.costprevday
graph_title Cout1 jour precedant
graph_category edf
graph_args --base 1000
graph_vtitle vtitle
graph_vlabel euros/jour
cost.label Cout hier
cost.info Cout de la journee d'hier en eur TTC
lines.label Lignes a calculer
lines.info N / 1000 (W=0.2)
lines.cdef lines,1000,/
lines.warning 200:
multigraph edf_teleinformation_new_demaine.costprevweek
graph_title Cout2 semaine precedante
graph_category edf
graph_args --base 1000
graph_vtitle vtitle
graph_vlabel euros/semaine
cost.label Cout semaine
cost.info Cout semaine passee en eur TTC
lines.label Lignes a calculer
lines.info N / 1000 (W=1.5)
lines.cdef lines,1000,/
lines.warning 1500:
multigraph edf_teleinformation_new_demaine.costprevmonth
graph_title Cout3 mois precedant
graph_category edf
graph_args --base 1000
graph_vtitle vtitle
graph_vlabel euros/mois
cost.label Cout mois
cost.info Cout mois passe en eur TTC
lines.label Lignes a calculer
lines.info N / 1000 (W=5.0)
lines.cdef lines,1000,/
lines.warning 5000:
multigraph edf_teleinformation_new_demaine.flags
graph_title Flags
graph_category edf
graph_args --base 1000
graph_vtitle vtitle
graph_vlabel -
ptec.label PTEC
ptec.info Periode tarifaire en cours: 1='EJPHN', 2='EJPHPM'
ptec.warning 1
preavis.label Preavis
preavis.info Preavis EJP - TODO a verifier
preavis.warning 0
demain.label Demain
demain.info Couleur demain TEMPO - TODO
hhphc.label HHPHC
hhphc.info Horaires HP-HC - deprecated
motdetat.label Motdetat
motdetat.info Mot d etat - TODO a verifier
motdetat.warning 0
ppot.label PPOT
ppot.info Presence des potentiels - TODO a verifier
ppot.critical 0
adir1.label ADPS
adir1.info ADPS or ADIRn
adir1.critical 1
adir2.label ADPS
adir2.info ADPS or ADIRn
adir2.critical 1
adir3.label ADPS
adir3.info ADPS or ADIRn
adir3.critical 1
multigraph edf_teleinformation_new_demaine.adps
graph_title ADPS-ADIRn
graph_category edf
graph_args --base 1000
graph_vtitle vtitle
graph_vlabel A
adps.label ADPS
adps.info ADPS or ADIRn
adps.critical 1
multigraph edf_teleinformation_new_demaine.conso_inst_current_p1
graph_title Consommation isntantannee courant phase 1
graph_category edf
graph_args --base 1000
graph_vtitle vtitle
graph_vlabel A
iinst1max.label Iinst 1 max
iinst1max.info Courant max phase 1 sur 5mn. Precision 1A
iinst1max.warning 25
iinst1max.critical 30
iinst1min.label Iinst 1 min
iinst1min.info Courant min phase 1 sur 5mn. Precision 1A
iinst1min.warning 25
iinst1min.critical 30
iinst1avg.label Iinst 1 avg
iinst1avg.info Courant avg phase 1 sur 5mn. Precision 1A
iinst1avg.warning 25
iinst1avg.critical 30
> PS: please adjust the configuration of your email client - it forgot to attach a
> plain text representation of your text, which made it quite hard for me to read.
> Thank you!
It should not have been sent in HTML at all; I just asked to use double
format; but in first place none of my messages should not contain any
HTML. Still they do ...
--
>o_/ DEMAINE Benoît-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would'nt have work \_o<
"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)
|