穆宁Windows总和堆栈图

我正在尝试将多个graphics叠加在一起。 这个想法是将所有的Web服务器CPUgraphics堆叠成一个graphics。

Muninconfiguration源图:

[WEB1.virtualservers] address 10.11.6.72 use_node_name yes memory.swap.label swap memory.swap.draw STACK memory.swap.info Swap memory used [WEB2.virtualservers] address 10.11.6.73 use_node_name yes memory.swap.label swap memory.swap.draw STACK memory.swap.info Swap memory used [WEB3.virtualservers] address 10.11.6.74 use_node_name yes memory.swap.label swap memory.swap.draw STACK memory.swap.info Swap memory used 

这是我申请总和/堆栈的muninconfiguration:

 [virtualservers;secure2] update no contacts no web_cpu.graph_title Secure - CPU Usage web_cpu.cpu_user.label user web_cpu.cpu_user.sum WEB1.virtualservers:cpu_user.user WEB2.virtualservers:cpu_user.user WEB3.virtualservers:cpu_user.user 

我试过了:

  • 更新是的
  • 更新编号
  • cpu_user.user
  • cpu_user.cpu
  • cpu.cpu_user
  • user.cpu
  • cpu.cpu

这是我每次得到的错误:

 2015/02/03 10:10:35 [ERROR] filename is empty for $VAR1 = { '#%#name' => 'z1_0', 'cdef' => 'z1_0,UN,0,z1_0,IF', 'graph' => 'no', 'label' => 'z1_0' }; , WEB1.virtualservers:cpu_user.user 2015/02/03 10:10:35 [PERL WARNING] Use of uninitialized value within @group in concatenation (.) or string at /usr/share/perl5/vendor_perl/Munin/Master/Utils.pm line 1171, <GEN1> line 745. 2015/02/03 10:10:35 [ERROR] filename is empty for $VAR1 = { '#%#name' => 'z1_1', 'cdef' => 'z1_1,UN,0,z1_1,IF', 'graph' => 'no', 'label' => 'z1_1' }; , WEB2.virtualservers:cpu_user.user 2015/02/03 10:10:35 [PERL WARNING] Use of uninitialized value within @group in concatenation (.) or string at /usr/share/perl5/vendor_perl/Munin/Master/Utils.pm line 1171, <GEN1> line 745. 2015/02/03 10:10:35 [ERROR] filename is empty for $VAR1 = { '#%#name' => 'z1_2', 'cdef' => 'z1_2,UN,0,z1_2,IF,z1_0,ADDNAN,z1_1,ADDNAN', 'colour' => undef, 'draw' => undef, 'graph' => 'yes', 'label' => 'user' }; , WEB3.virtualservers:cpu_user.user 

我的源图工作正常

我的networking服务器正在运行与munin-node-win32-1.6.0.0-installer的窗口…不知道这是否会导致这个问题…

它是否与一个外部数据源一起工作? GOOT。 你有错行:

 web_cpu.cpu_user.sum WEB1.virtualservers:cpu_user.user WEB2.virtualservers:cpu_user.user WEB3.virtualservers:cpu_user.user 

服务器不知道如何连接数据,因为'.sum'不是算术运算。

在绘制configuration你必须做:

 graph_order <list all direct order plus> DrawLocalName=ExternalDrawName.SpecifiedDrawName <next_def> <next2_def_etc> ... 

后来:

 your_sum.cdef SpecifiedName1,SpecifiedName2,+,SpecifiedName3,+ 

请注意,cdef使用逆波兰表示法。 它像堆栈一样工作。