Skip to content

Graph aggregation

Christian edited this page Jan 16, 2022 · 4 revisions

Simple example to aggregate data from different hosts or sensors into one or multiple graphs:

a. Temperature

  • Building 1
  • Building 2
  • Building 3

b. Humidity

  • Building 1
  • Building 2
  • Building 3

Take a look at the official example from Munin too!

Munin-Master

/etc/munin/munin-conf.d/virtual

[Virtual;ISM]
contacts no
update no


temperature.update no
temperature.graph_title Temperature
temperature.graph_category sensors
temperature.graph_vlabel C
temperature.graph_scale no
temperature.line 0:BEBEBE
temperature.graph_order \
        b1=Category;b1.example.net:ism.temp \
        b2=Category;b2.example.net:ism.temp \
        b3=Category;b3.example.net:ism.temp

temperature.b1.label Building 1
temperature.b2.label Building 2
temperature.b3.label Building 3


humidity.update no
humidity.graph_title Humidity
humidity.graph_category sensors
humidity.graph_args -l 0 -u 100
humidity.graph_vlabel %
humidity.graph_scale no
humidity.graph_order \
        b1=Category;b1.example.net:ism.hum \
        b2=Category;b2.example.net:ism.hum \
        b3=Category;b3.example.net:ism.hum

humidity.b1.label Building 1
humidity.b2.label Building 2
humidity.b3.label Building 3
Clone this wiki locally