From: Vincent W. <vwa...@ij...> - 2015-07-24 09:15:12
|
Hi everyone! Update: the issue has been solved. See Asfand's comment on ServerFault: "Exactly the issue! I was actually referencing nodes from another (implicitly created) group in my non-group aggregate node! Good spot! – Asfand Yar Qazi 17 hours ago" Regards, Vincent 2015-07-23 16:29 GMT+02:00 Vincent WATREMEZ <vwa...@ij...>: > Hi Asfand, > > > I may have a former version of Munin ; my configuration looks rather like this: > > [example.com;totals] > > lb_cpu.graph_title LB Total User CPU > lb_cpu.user.label User CPU > > lb_cpu.user.sum \ > example.com;lb1:cpu.user \ > example.com;lb2:cpu.user > > Maybe it needs the group for each existing node? > > I also graph the different values summed but I don't think it is the > problem here. > Of course, nodes lb1 and lb2 must exist inside the example.com group > (and you may adapt ; maybe it is "example.com;lb1.example.com" and so > on). > > I hope this helps! > > Regards > > Vincent > > 2015-07-23 14:47 GMT+02:00 Asfand Yar Qazi <ay...@gm...>: >> >> Unfortunately it still does not work. The log file states: >> >> 2015/07/23 07:40:30 [WARNING] Could not draw graph >> "/var/cache/munin/www/Load-Balancers/Load-Balancers/lb_cpu-day.png": >> /var/cache/munin/www/Load-Balancers/Load-Balancers/lb_cpu-day.png >> 2015/07/23 07:40:30 [ERROR] filename is empty for $VAR1 = { >> '#%#name' => 'z1_0', >> 'cdef' => 'z1_0,UN,0,z1_0,IF', >> 'graph' => 'no', >> 'label' => 'z1_0' >> }; >> , lb1.example.com:cpu.user >> 2015/07/23 07:40:30 [ERROR] filename is empty for $VAR1 = { >> '#%#name' => 'z1_1', >> 'cdef' => 'z1_1,UN,0,z1_1,IF,z1_0,ADDNAN', >> 'colour' => undef, >> 'draw' => undef, >> 'graph' => 'yes', >> 'label' => 'Total User CPU' >> }; >> , lb2.example.com:cpu.user >> 2015/07/23 07:40:30 [RRD ERROR] rrdtool graph did not generate the >> image (make sure there are data to graph). >> Regards, >> Asfand Yar Qazi >> >> >> On 23 July 2015 at 11:23, Bjørn Ruberg <bj...@ru...> wrote: >> > On 23. juli 2015 11:48, Asfand Yar Qazi wrote: >> >> Hello, >> >> >> >> I am trying to get an aggregated graph of CPU usage across some >> >> servers. I have come up with this so far: >> >> >> >> [example.com;totals] >> >> update no >> >> contacts no >> >> >> >> lb_cpu.graph_title LB Total User CPU >> >> lb_cpu.user.sum lb1.example.com:cpu.user lb2.example.com:cpu.user >> > >> > When using sum, you need to declare the constructed "user" field with a >> > label first: >> > >> > lb_cpu.graph_title LB Total User CPU >> > lb_cpu.user.label Total user CPU >> > lb_cpu.user.sum lb1.example.com:cpu.user lb2.example.com:cpu.user >> > >> > A label is not required when using graph_order. >> > >> > >> > -- >> > Bjørn >> > >> > >> > ------------------------------------------------------------------------------ >> > _______________________________________________ >> > munin-users mailing list >> > mun...@li... >> > https://lists.sourceforge.net/lists/listinfo/munin-users >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> munin-users mailing list >> mun...@li... >> https://lists.sourceforge.net/lists/listinfo/munin-users |