Add graph_total

This commit is contained in:
Camille Dehecq 2014-10-01 19:13:47 +02:00 committed by Florent Fourcot
commit 3bfa13e64e

View file

@ -278,6 +278,8 @@ class GenericMuninPlugin(object):
self.write_output('graph_vlabel %s' % self.vlabel.encode('iso-8859-15'))
self.write_output('graph_category %s') % self.category
self.write_output('graph_args --rigid')
if self.cumulate:
self.write_output('graph_total Total')
try:
objects = []
if self.tomonitore or self.exclude: