mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Missing condition
This commit is contained in:
parent
7220fda4ad
commit
25a1a06a4a
@ -54,7 +54,8 @@ if len(sys.argv) > 1 and sys.argv[1] == 'config':
|
||||
for process in procs:
|
||||
for stat in procs[process]:
|
||||
print "monit_%s_%s.label %s.%s" % (process, stat, process, stat)
|
||||
print "monit_%s_%s.warning 1:" % (process, stat)
|
||||
if stat == 'total_memory':
|
||||
print "monit_%s_%s.warning 1:" % (process, stat)
|
||||
sys.exit(0)
|
||||
|
||||
for process in procs:
|
||||
|
Loading…
Reference in New Issue
Block a user