mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Not using memory is a warning condition
When a daemon fails `-nan` is its memory usage.
This commit is contained in:
parent
c5238dbc5f
commit
c72251a7f9
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ if len(sys.argv) > 1 and sys.argv[1] == 'config':
|
||||||
for process in procs:
|
for process in procs:
|
||||||
for stat in procs[process]:
|
for stat in procs[process]:
|
||||||
print "monit_%s_%s.label %s.%s" % (process, stat, process, stat)
|
print "monit_%s_%s.label %s.%s" % (process, stat, process, stat)
|
||||||
|
print "monit_%s_%s.warning 1:"
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
for process in procs:
|
for process in procs:
|
||||||
|
|
Loading…
Reference in a new issue