diff --git a/plugins/monit/monit_parser b/plugins/monit/monit_parser index 5d34a3a3..f89bd4db 100755 --- a/plugins/monit/monit_parser +++ b/plugins/monit/monit_parser @@ -54,6 +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) + if stat == 'total_memory': + print "monit_%s_%s.warning 1:" % (process, stat) sys.exit(0) for process in procs: