|
From: DoubleHP <dou...@do...> - 2016-11-22 07:22:01
|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">Here is the output of the config of my plugin:<br>
<br>
<font size="-1">multigraph edf_teleinformation_new_demaine<br>
graph_title EDF TIC for Demaine40<br>
graph_category edf<br>
graph_args --base 1000<br>
graph_vtitle vtitle<br>
graph_vlabel vlabel<br>
graph_info Numero de serie<br>
pappavg.label PAPP<br>
pappavg.info Puissance apparente totale en W (compteur)<br>
multigraph edf_teleinformation_new_demaine.abonnement<br>
graph_title Abonnement<br>
graph_category edf<br>
graph_args --base 1000<br>
graph_vtitle vtitle<br>
graph_vlabel -<br>
optarif.label OPTARIF<br>
optarif.info Option tarifaire: 1=BASE 2=HC 3=EJP 4=TEMPO(BBR)<br>
isousc.label Courant souscrit<br>
isousc.info en A<br>
psousc.label Puissance souscrite<br>
psousc.info en W - diviser par 1000 pour avoir les KW<br>
tarif1.label Prix1 kWh<br>
tarif1.info tarif periode 1 en eur(HT)/KWh<br>
tarif2.label Prix2 kWh<br>
tarif2.info tarif periode 2 en eur(HT)/KWh<br>
phasecount.label phases<br>
phasecount.info Nombre de phases<br>
multigraph edf_teleinformation_new_demaine.costprevday<br>
graph_title Cout1 jour precedant<br>
graph_category edf<br>
graph_args --base 1000<br>
graph_vtitle vtitle<br>
graph_vlabel euros/jour<br>
cost.label Cout hier<br>
cost.info Cout de la journee d'hier en eur TTC<br>
lines.label Lignes a calculer<br>
lines.info N / 1000 (W=0.2)<br>
lines.cdef lines,1000,/<br>
lines.warning 200:<br>
multigraph edf_teleinformation_new_demaine.costprevweek<br>
graph_title Cout2 semaine precedante<br>
graph_category edf<br>
graph_args --base 1000<br>
graph_vtitle vtitle<br>
graph_vlabel euros/semaine<br>
cost.label Cout semaine<br>
cost.info Cout semaine passee en eur TTC<br>
lines.label Lignes a calculer<br>
lines.info N / 1000 (W=1.5)<br>
lines.cdef lines,1000,/<br>
lines.warning 1500:<br>
multigraph edf_teleinformation_new_demaine.costprevmonth<br>
graph_title Cout3 mois precedant<br>
graph_category edf<br>
graph_args --base 1000<br>
graph_vtitle vtitle<br>
graph_vlabel euros/mois<br>
cost.label Cout mois<br>
cost.info Cout mois passe en eur TTC<br>
lines.label Lignes a calculer<br>
lines.info N / 1000 (W=5.0)<br>
lines.cdef lines,1000,/<br>
lines.warning 5000:<br>
multigraph edf_teleinformation_new_demaine.flags<br>
graph_title Flags<br>
graph_category edf<br>
</font>graph_args --base 1000<br>
graph_vtitle vtitle<br>
graph_vlabel -<br>
ptec.label PTEC<br>
ptec.info Periode tarifaire en cours: 1='EJPHN', 2='EJPHPM'<br>
ptec.warning 1<br>
preavis.label Preavis<br>
preavis.info Preavis EJP - TODO a verifier<br>
preavis.warning 0<br>
demain.label Demain<br>
demain.info Couleur demain TEMPO - TODO<br>
hhphc.label HHPHC<br>
hhphc.info Horaires HP-HC - deprecated<br>
motdetat.label Motdetat<br>
motdetat.info Mot d etat - TODO a verifier<br>
motdetat.warning 0<br>
ppot.label PPOT<br>
ppot.info Presence des potentiels - TODO a verifier<br>
ppot.critical 0<br>
adir1.label ADPS<br>
adir1.info ADPS or ADIRn<br>
adir1.critical 1<br>
adir2.label ADPS<br>
adir2.info ADPS or ADIRn<br>
adir2.critical 1<br>
adir3.label ADPS<br>
adir3.info ADPS or ADIRn<br>
adir3.critical 1<br>
multigraph edf_teleinformation_new_demaine.adps<br>
graph_title ADPS-ADIRn<br>
graph_category edf<br>
graph_args --base 1000<br>
graph_vtitle vtitle<br>
graph_vlabel A<br>
adps.label ADPS<br>
adps.info ADPS or ADIRn<br>
adps.critical 1<br>
multigraph edf_teleinformation_new_demaine.conso_inst_current_p1<br>
graph_title Consommation isntantannee courant phase 1<br>
graph_category edf<br>
graph_args --base 1000<br>
graph_vtitle vtitle<br>
graph_vlabel A<br>
iinst1max.label Iinst 1 max<br>
iinst1max.info Courant max phase 1 sur 5mn. Precision 1A<br>
iinst1max.warning 25<br>
iinst1max.critical 30<br>
iinst1min.label Iinst 1 min<br>
iinst1min.info Courant min phase 1 sur 5mn. Precision 1A<br>
iinst1min.warning 25<br>
iinst1min.critical 30<br>
iinst1avg.label Iinst 1 avg<br>
iinst1avg.info Courant avg phase 1 sur 5mn. Precision 1A<br>
iinst1avg.warning 25<br>
iinst1avg.critical 30<br>
<br>
<font size="-1">Here is the log complaining it can no<font
size="-1">t gr<font size="-1">aph the main image:<br>
<br>
<font size="-1">2016/11/22 07:47:47 [WARNING] Could not draw
graph
"/var/cache/munin/www/doublehp.org/rpi-03.doublehp.org/edf_teleinformation_demaine-month.png":
/var/cache/munin/www/doublehp.org/rpi-03.doublehp.org/edf_teleinformation_demaine-month.png<br>
</font>2016/11/22 07:47:48 [RRD ERROR] Unable to graph
/var/cache/munin/www/doublehp.org/rpi-03.doublehp.org/edf_teleinformation_demaine-day.png
: opening
'/var/lib/munin/doublehp.org/rpi-03.doublehp.org-edf_teleinformation_demaine-adps-g.rrd':
No such file or directory<br>
2016/11/22 07:47:48 [RRD ERROR] rrdtool 'graph'
'/var/cache/munin/www/doublehp.org/rpi-03.doublehp.org/edf_teleinformation_demaine-day.png'
\<br>
'--title' \<br>
'EDF TIC for Demaine40 - by day' \<br>
'--start' \<br>
'-2000m' \<br>
'--base' \<br>
'1000' \<br>
'--vertical-label' \<br>
'vlabel' \<br>
'--slope-mode' \<br>
'--height' \<br>
'175' \<br>
'--width' \<br>
'400' \<br>
'--imgformat' \<br>
'PNG' \<br>
'--lazy' \<br>
'--font' \<br>
'DEFAULT:0:DejaVuSans,DejaVu Sans,DejaVu LGC
Sans,Bitstream Vera Sans' \<br>
'--font' \<br>
'LEGEND:7:DejaVuSansMono,DejaVu Sans Mono,DejaVu LGC
Sans Mono,Bitstream Vera Sans Mono,monospace' \<br>
'--color' \<br>
'BACK#F0F0F0' \<br>
'--color' \<br>
'FRAME#F0F0F0' \<br>
'--color' \<br>
'CANVAS#FFFFFF' \<br>
'--color' \<br>
'FONT#666666' \<br>
'--color' \<br>
'AXIS#CFD6F8' \<br>
'--color' \<br>
'ARROW#CFD6F8' \<br>
'--border' \<br>
'0' \<br>
'-W' \<br>
'Munin 2.0.27-1' \<br>
'DEF:aadps=/var/lib/munin/doublehp.org/rpi-03.doublehp.org-edf_teleinformation_demaine-adps-g.rrd:42:MAX'
\<br>
'DEF:iadps=/var/lib/munin/doublehp.org/rpi-03.doublehp.org-edf_teleinformation_demaine-adps-g.rrd:42:MIN'
\<br>
'DEF:gadps=/var/lib/munin/doublehp.org/rpi-03.doublehp.org-edf_teleinformation_demaine-adps-g.rrd:42:AVERAGE'
\<br>
'DEF:apappavg=/var/lib/munin/doublehp.org/rpi-03.doublehp.org-edf_teleinformation_demaine-pappavg-g.rrd:42:MAX'
\<br>
'DEF:ipappavg=/var/lib/munin/doublehp.org/rpi-03.doublehp.org-edf_teleinformation_demaine-pappavg-g.rrd:42:MIN'
\<br>
'DEF:gpappavg=/var/lib/munin/doublehp.org/rpi-03.doublehp.org-edf_teleinformation_demaine-pappavg-g.rrd:42:AVERAGE'
\<br>
'CDEF:cpappavg=gpappavg' \<br>
'COMMENT: ' \<br>
'COMMENT: Cur\:' \<br>
'COMMENT:Min\:' \<br>
'COMMENT:Avg\:' \<br>
'COMMENT:Max\: \j' \<br>
'LINE1:gpappavg#00CC00:PAPP ' \<br>
'GPRINT:cpappavg:LAST:%6.2lf%s' \<br>
'GPRINT:ipappavg:MIN:%6.2lf%s' \<br>
'GPRINT:gpappavg:AVERAGE:%6.2lf%s' \<br>
'GPRINT:apappavg:MAX:%6.2lf%s\j' \<br>
'CDEF:cadps=gadps,POP,UNKN' \<br>
'VRULE:1479797110#999999' \<br>
'COMMENT:Last update\: Tue Nov 22 07\:45\:10 2016\r'
\<br>
'--end' \<br>
'1479797100'<br>
<br>
<br>
<font size="-1">I wrote that plugin a few weeks ago; it was
working fine, untill I add the ADPS/ADIR <font size="-1">sub-plugin</font>
and fields.</font> And 1h later, the main picture was no
more updated; but all sub pictures were fine. So, I waited
24h, and things went even wost: the image disapeared from
the main page; I still had the entry in the html page, but
browser was showing a broken link. So I started to dig in
logs. And the probl<font size="-1">em is, to draw the main
picture </font></font></font></font></font><font
size="-1"><font size="-1"><font size="-1"><font size="-1"><font
size="-1"><font size="-1"><font size="-1">edf_teleinformation_new_demaine,
process is expecting the existance of </font></font></font></font></font></font></font><font
size="-1"><font size="-1"><font size="-1"><font size="-1"><font
size="-1"><font size="-1"><font size="-1"><font size="-1"><font
size="-1"><font size="-1"><font size="-1"><font
size="-1"><font size="-1"><font size="-1"><font
size="-1">rpi-03.doublehp.org-edf_teleinformation_demaine-adps-g.rrd</font></font></font></font>
which has no reason to exists. Other ADPS rrd
exists, a<font size="-1">s sub RRDs for sub
plugins:
rpi-03.doublehp.org-edf_teleinformation_demaine-flags-adps-g.rrd
and
rpi-03.doublehp.org-edf_teleinformation_demaine-adps-adir1-g.rrd
... but here RRD is asking for an ADPS field
for the main root graph; which is not, and h<font
size="-1">ave never been declared in the
config (not even in a broken temp<font
size="-1">orary version).<br>
<br>
<font size="-1">This is not the <font
size="-1">first time it's happenning
to me. I had the <font size="-1">issue
many times in the past with munin
v1. And now occuring on several
plugins in v2. This home made
plugin I absolutely need, an<font
size="-1">d also a truck plugin:
since I did not dev the
following plugin, I don't know
how it should work and what are
the relevant parts of the log,
but, it complains about the same
issue<font size="-1">, and
produces similar bugs in the
web page:<br>
<br>
<font size="-1">2016/11/22
08:02:33 [WARNING] Could not
draw graph
"/var/cache/munin/www/doublehp.org/leon-01.doublehp.org/slab/reclaim-day.png":
/var/cache/munin/www/doublehp.org/leon-01.doublehp.org/slab/reclaim-day.png<br>
2016/11/22 08:02:33 [RRD
ERROR] Unable to graph
/var/cache/munin/www/doublehp.org/leon-01.doublehp.org/slab/reclaim-month.png
: opening
'/var/lib/munin/doublehp.org/leon-01.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd':
No such file or directory<br>
2016/11/22 08:02:33 [RRD
ERROR] rrdtool 'graph'
'/var/cache/munin/www/doublehp.org/leon-01.doublehp.org/slab/reclaim-month.png'
\<br>
'--title' \<br>
'Reclaim - by month'
\<br>
'--start' \<br>
'-48000m' \<br>
'--base' \<br>
'1024' \<br>
'--vertical-label' \<br>
'bytes' \<br>
'--slope-mode' \<br>
'--height' \<br>
'175' \<br>
'--width' \<br>
'400' \<br>
'--imgformat' \<br>
'PNG' \<br>
'--lazy' \<br>
'--font' \<br>
'DEFAULT:0:DejaVuSans,DejaVu
Sans,DejaVu LGC
Sans,Bitstream Vera Sans' \<br>
'--font' \<br>
'LEGEND:7:DejaVuSansMono,DejaVu
Sans Mono,DejaVu LGC Sans
Mono,Bitstream Vera Sans
Mono,monospace' \<br>
'--color' \<br>
'BACK#F0F0F0' \<br>
'--color' \<br>
'FRAME#F0F0F0' \<br>
'--color' \<br>
'CANVAS#FFFFFF' \<br>
'--color' \<br>
'FONT#666666' \<br>
'--color' \<br>
'AXIS#CFD6F8' \<br>
'--color' \<br>
'ARROW#CFD6F8' \<br>
'--border' \<br>
'0' \<br>
'-W' \<br>
</font> 'Munin
2.0.27-1' \<br>
'DEF:a165c718cebb0b56=/var/lib/munin/doublehp.org/leon-01.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd:42:MAX'
\<br>
'DEF:i165c718cebb0b56=/var/lib/munin/doublehp.org/leon-01.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd:42:MIN'
\<br>
'DEF:g165c718cebb0b56=/var/lib/munin/doublehp.org/leon-01.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd:42:AVERAGE'
\<br>
'DEF:a399db9eeec37595=/var/lib/munin/doublehp.org/leon-01.doublehp.org/slab-reclaim-slab_reclaimable-g.rrd:42:MAX'
\<br>
'DEF:i399db9eeec37595=/var/lib/munin/doublehp.org/leon-01.doublehp.org/slab-reclaim-slab_reclaimable-g.rrd:42:MIN'
\<br>
'DEF:g399db9eeec37595=/var/lib/munin/doublehp.org/leon-01.doublehp.org/slab-reclaim-slab_reclaimable-g.rrd:42:AVERAGE'
\<br>
'CDEF:c399db9eeec37595=g399db9eeec37595,POP,UNKN'
\<br>
'COMMENT: ' \<br>
'COMMENT: Cur\:' \<br>
'COMMENT:Min\:' \<br>
'COMMENT:Avg\:' \<br>
'COMMENT:Max\: \j' \<br>
'AREA:g399db9eeec37595#00CC00:Slab
reclaimable ' \<br>
'GPRINT:c399db9eeec37595:LAST:%7.2lf%s'
\<br>
'GPRINT:i399db9eeec37595:MIN:%7.2lf%s'
\<br>
'GPRINT:g399db9eeec37595:AVERAGE:%7.2lf%s'
\<br>
'GPRINT:a399db9eeec37595:MAX:%7.2lf%s\j'
\<br>
'CDEF:c165c718cebb0b56=g165c718cebb0b56,POP,UNKN'
\<br>
'STACK:g165c718cebb0b56#0066B3:Slab
unreclaimable ' \<br>
'GPRINT:c165c718cebb0b56:LAST:%7.2lf%s'
\<br>
'GPRINT:i165c718cebb0b56:MIN:%7.2lf%s'
\<br>
'GPRINT:g165c718cebb0b56:AVERAGE:%7.2lf%s'
\<br>
'GPRINT:a165c718cebb0b56:MAX:%7.2lf%s\j'
\<br>
'CDEF:ipostotal=i399db9eeec37595,i165c718cebb0b56,ADDNAN'
\<br>
'CDEF:gpostotal=g399db9eeec37595,g165c718cebb0b56,ADDNAN'
\<br>
'CDEF:apostotal=a399db9eeec37595,a165c718cebb0b56,ADDNAN'
\<br>
'LINE1:gpostotal#000000:Total
' \<br>
'GPRINT:gpostotal:LAST:%7.2lf%s'
\<br>
'GPRINT:ipostotal:MIN:%7.2lf%s'
\<br>
'GPRINT:gpostotal:AVERAGE:%7.2lf%s'
\<br>
'GPRINT:apostotal:MAX:%7.2lf%s\j'
\<br>
'VRULE:0#999999' \<br>
'COMMENT:Last update\:
Thu Jan 1 01\:00\:00 1970\r'
\<br>
'--end' \<br>
'1479794400'<br>
2016/11/22 08:02:33 [WARNING]
Could not draw graph
"/var/cache/munin/www/doublehp.org/leon-01.doublehp.org/slab/reclaim-month.png":
/var/cache/munin/www/doublehp.org/leon-01.doublehp.org/slab/reclaim-month.png<br>
2016/11/22 08:02:33 [RRD
ERROR] Unable to graph
/var/cache/munin/www/doublehp.org/leon-01.doublehp.org/slab/reclaim-year.png
: opening
'/var/lib/munin/doublehp.org/leon-01.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd':
No such file or directory<br>
2016/11/22 08:02:33 [RRD
ERROR] rrdtool 'graph'
'/var/cache/munin/www/doublehp.org/leon-01.doublehp.org/slab/reclaim-year.png'
\<br>
<br>
<font size="-1"><font
size="-1">Unrecla<font
size="-1">imed is also a
multigraph, and also has
graphing issues: I have
a bit of the plugin
appearing <font
size="-1">as a
subhost; and SLAB<font
size="-1">/reclaim
is not listed at all
under the main host.<br>
<br>
<font size="-1">The
bug is not a
matter of history
of the <font
size="-1">plugin;
I have
duplicated the
plugin code many
times, and each
time the <font
size="-1">fresh
version had
the problem.
So, it's not a
cache issue. I
will keep a
copy of the
plugin if you
want me to
repro later<font
size="-1">.<br>
<br>
<font
size="-1">Attaching
two small
pictures.</font><br>
</font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font><br>
<br>
version 2.0.27-1 <br>
<br>
</font></font></font><br>
</font>
<pre class="moz-signature" cols="74">--
>o_/ DEMAINE Benoît-Pierre (aka DoubleHP) <a class="moz-txt-link-freetext" href="http://benoit.demaine.info/">http://benoit.demaine.info/</a>
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)
</pre>
</body>
</html>
|