2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Include graph_total as current fail2ban plugin does

This commit is contained in:
Lee Clemens 2015-02-12 18:21:05 -05:00 committed by Stig Sandbeck Mathisen
parent a11e32ff40
commit c91df8ccc9

View File

@ -217,6 +217,7 @@ def config(flavor, field):
print("graph_info"
" Number of hosts banned using status flavor %s and field %s" %
(flavor, field))
print("graph_total total")
munin_fields, field_labels, values = parse_fail2ban_status(flavor, field)
for munin_field in munin_fields:
print("%s.label %s" % (munin_field, field_labels[munin_field]))