mod_munin: Don’t use host when it is nil.
--- a/mod_munin/mod_munin.lua Thu Jun 21 22:15:15 2018 +0200
+++ b/mod_munin/mod_munin.lua Thu Jun 21 22:38:56 2018 +0200
@@ -104,7 +104,7 @@
if host then
meta:set(key, "", "graph_title", s_format("%s %s on %s", sect, typ, host));
else
- meta:set(key, "", "graph_title", s_format("Global %s %s", sect, typ, host));
+ meta:set(key, "", "graph_title", s_format("Global %s %s", sect, typ));
end
meta:set(key, "", "graph_vlabel", this and this.units or typ);
meta:set(key, "", "graph_category", sect);