Open doublehp opened 7 years ago
I have found a similar case. This plugin conf:
echo "multigraph weather_wtrr_villers"
echo "graph_title Weather wtrr_villers";
echo 'graph_vtitle °C';
echo "graph_args --base 1000";
echo "graph_category weather";
echo "temp_min.label Min temperature";
echo "temp_max.label Max temperature";
echo "alarm.label Alarm (no data)"
echo "alarm.critical 0.5"
echo "multigraph weather_wtrr_villers.temp"
echo "graph_title Temperature";
echo "graph_info Values are read from the website ${weather_wttr_villers_URL}"
echo 'graph_vtitle °C';
echo "graph_args --base 1000";
echo "graph_category weather";
echo "temp_min.label Min temperature";
echo "temp_max.label Max temperature";
echo "multigraph weather_wtrr_villers.rain"
echo "graph_title Rain";
echo "graph_info Values are read from the website ${weather_wttr_villers_URL}"
echo 'graph_vtitle mm';
echo "graph_args --base 1000";
echo "graph_category weather";
echo "rain.label Rain";
echo "multigraph weather_wtrr_villers.wind"
echo "graph_title Wind";
echo "graph_info Values are read from the website ${weather_wttr_villers_URL}"
echo "graph_vtitle km/h";
echo "graph_args --base 1000";
echo "graph_category weather";
echo "wind.label Wind";
echo "multigraph weather_wtrr_villers.visu"
echo "graph_title Visibility";
echo "graph_info Values are read from the website ${weather_wttr_villers_URL}"
echo "graph_vtitle km";
echo "graph_args --base 1000";
echo "graph_category weather";
echo "visibility.label Visibility";
randomly produces this error (note that it randomly complains alternately between rain and wind):
# tail -n 6000 munin-graph.log | grep -i err | grep weather_wtrr -A1
2017/11/28 20:27:32 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-rain-g.rrd': No such file or directory
2017/11/28 20:27:32 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png' \
2017/11/28 20:27:32 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-rain-g.rrd': No such file or directory
2017/11/28 20:27:32 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png' \
2017/11/28 20:27:32 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-rain-g.rrd': No such file or directory
2017/11/28 20:27:32 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png' \
2017/11/28 20:27:55 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-03.doublehp.org/slab/reclaim-month.png : opening '/var/lib/munin/doublehp.org/leon-03.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd': No such file or directory
--
2017/11/28 20:33:16 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-rain-g.rrd': No such file or directory
2017/11/28 20:33:16 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png' \
2017/11/28 20:33:16 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-rain-g.rrd': No such file or directory
2017/11/28 20:33:16 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png' \
2017/11/28 20:33:16 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-rain-g.rrd': No such file or directory
2017/11/28 20:33:16 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png' \
2017/11/28 20:33:56 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-03.doublehp.org/slab/reclaim-day.png : opening '/var/lib/munin/doublehp.org/leon-03.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd': No such file or directory
--
2017/11/28 20:37:35 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-wind-g.rrd': No such file or directory
2017/11/28 20:37:35 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png' \
2017/11/28 20:37:35 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-wind-g.rrd': No such file or directory
2017/11/28 20:37:35 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png' \
2017/11/28 20:37:35 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-wind-g.rrd': No such file or directory
2017/11/28 20:37:35 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png' \
2017/11/28 20:37:56 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-03.doublehp.org/slab/reclaim-week.png : opening '/var/lib/munin/doublehp.org/leon-03.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd': No such file or directory
--
2017/11/28 20:42:43 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-rain-g.rrd': No such file or directory
2017/11/28 20:42:43 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png' \
2017/11/28 20:42:43 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-rain-g.rrd': No such file or directory
2017/11/28 20:42:43 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png' \
2017/11/28 20:42:43 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-rain-g.rrd': No such file or directory
2017/11/28 20:42:43 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png' \
2017/11/28 20:42:56 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-03.doublehp.org/slab/reclaim-year.png : opening '/var/lib/munin/doublehp.org/leon-03.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd': No such file or directory
--
2017/11/28 20:47:38 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-wind-g.rrd': No such file or directory
2017/11/28 20:47:38 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png' \
2017/11/28 20:47:38 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-wind-g.rrd': No such file or directory
2017/11/28 20:47:38 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png' \
2017/11/28 20:47:38 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-wind-g.rrd': No such file or directory
2017/11/28 20:47:38 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png' \
2017/11/28 20:47:53 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-03.doublehp.org/slab/reclaim-week.png : opening '/var/lib/munin/doublehp.org/leon-03.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd': No such file or directory
--
2017/11/28 20:52:31 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-rain-g.rrd': No such file or directory
2017/11/28 20:52:31 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-day.png' \
2017/11/28 20:52:31 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-wind-g.rrd': No such file or directory
2017/11/28 20:52:31 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-month.png' \
2017/11/28 20:52:32 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png : opening '/var/lib/munin/doublehp.org/leon-02.doublehp.org-weather_wtrr_villers-wind-g.rrd': No such file or directory
2017/11/28 20:52:32 [RRD ERROR] rrdtool 'graph' '/var/cache/munin/www/doublehp.org/leon-02.doublehp.org/weather_wtrr_villers-week.png' \
2017/11/28 20:52:45 [RRD ERROR] Unable to graph /var/cache/munin/www/doublehp.org/leon-03.doublehp.org/slab/reclaim-week.png : opening '/var/lib/munin/doublehp.org/leon-03.doublehp.org/slab-reclaim-slab_unreclaimable-g.rrd': No such file or directory
and after this small changes, it all works fine (adding one letter to the sub-grah name).
echo "multigraph weather_wtrr_villers"
echo "graph_title Weather wtrr_villers";
echo 'graph_vtitle °C';
echo "graph_args --base 1000";
echo "graph_category weather";
echo "temp_min.label Min temperature";
echo "temp_max.label Max temperature";
echo "alarm.label Alarm (no data)"
echo "alarm.critical 0.5"
echo "multigraph weather_wtrr_villers.temp"
echo "graph_title Temperature";
echo "graph_info Values are read from the website ${weather_wttr_villers_URL}"
echo 'graph_vtitle °C';
echo "graph_args --base 1000";
echo "graph_category weather";
echo "temp_min.label Min temperature";
echo "temp_max.label Max temperature";
echo "multigraph weather_wtrr_villers.rainn"
echo "graph_title Rain";
echo "graph_info Values are read from the website ${weather_wttr_villers_URL}"
echo 'graph_vtitle mm';
echo "graph_args --base 1000";
echo "graph_category weather";
echo "rain.label Rain";
echo "multigraph weather_wtrr_villers.windd"
echo "graph_title Wind";
echo "graph_info Values are read from the website ${weather_wttr_villers_URL}"
echo "graph_vtitle km/h";
echo "graph_args --base 1000";
echo "graph_category weather";
echo "wind.label Wind";
echo "multigraph weather_wtrr_villers.visu"
echo "graph_title Visibility";
echo "graph_info Values are read from the website ${weather_wttr_villers_URL}"
echo "graph_vtitle km";
echo "graph_args --base 1000";
echo "graph_category weather";
echo "visibility.label Visibility";
... once again, it looks like munin has troubles when a field has the same name as a plugin.
Note that in the present case, all sub-plugins were graphed correctly; the graph that was not drawn was the parent image on main page.
Initially, a previous version of the plugin was working fine, with same sub-plugins names, but different field names. Plugin broke after changing echo "humidity.label Rain"; into echo "rain.label Rain";
In other words, renaming a field in a sub-graph to give it the name of the sub-plugin itself ... broke the parent image.
I am not creating a different bug report because I believe it's the same root problem.
Same issue here:
graph_title Uplink usage for xxx
graph_category network
graph_vlabel bytes
graph_period hour
usage.label Total usage
usage.draw AREA
usage.colour 77FF6F
usage.extinfo NBN FTTP Gold 500; rollover: 2019-04-18
usage.critical 500000000000
usage.warning 375000000000.00
ideal.label Ideal usage
ideal.colour FFA500
multigraph internode_usage_xxx.main
graph_title Uplink usage for xxx
graph_category network
graph_vlabel bytes
graph_period hour
usage.label Total usage
usage.draw AREA
usage.colour 77FF6F
usage.extinfo NBN FTTP Gold 500; rollover: 2019-04-18
usage.critical 500000000000
usage.warning 375000000000.00
ideal.label Ideal usage
ideal.colour FFA500
multigraph internode_usage_xxx.rate
graph_title Usage rate for xxx
graph_category network
graph_vlabel bytes
graph_period hour
rate.label Usage rate
rate.type COUNTER
Note the rate
subgraph has a rate
field.
Munin version 2.0.33-1
munin-graph.log
Config:
{ echo "cap multigraph dirtyconfig" ; sleep 2 ; echo "config edf_teleinformation" ; sleep 5 ; } | telnet rpi-08-locataire-42-etage-droit 4949
values:
What is 100% sure for me: Munin is complaining about missing rrd for field ADPS, to graph main png for the plugin, while the config of plugin does not talk about this field.
What I have found with time, but I am not 100% certain for now: this SEEMS to happen when a subgraph contains a field which has the same name as the subgraph: "multigraph edf_teleinformation_locataire42dtagedroit.adps" mentions field "adps.label ADPS"
NB: in future messages, locataire42dtagedroit will be renamed locataire42etagedroit.
Issue persists even after changing adps.label ADPS to adpss.label ADPS. Where is the dep tree stored ?