Commit b199000a authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Łukasz Nowak

software/monitor: Switch to monitor-promise-base

parent 1b0853e2
...@@ -18,7 +18,7 @@ md5sum = 1b7d2d097f208f6641bf98a17df079c8 ...@@ -18,7 +18,7 @@ md5sum = 1b7d2d097f208f6641bf98a17df079c8
[template-monitor] [template-monitor]
_update_hash_filename_ = instance-monitor.cfg.jinja2 _update_hash_filename_ = instance-monitor.cfg.jinja2
md5sum = dffe797be3a66d6838ffc70ee8f5f3ff md5sum = 373c79480e6425c20480fc911a56c3fd
[template-monitor-distributor] [template-monitor-distributor]
_update_hash_filename_ = instance-monitor-distributor.cfg.jinja2 _update_hash_filename_ = instance-monitor-distributor.cfg.jinja2
......
...@@ -80,12 +80,10 @@ command-line = ...@@ -80,12 +80,10 @@ command-line =
wrapper-path = ${monitor-directory:bin}/monitor-collect-csv-dump wrapper-path = ${monitor-directory:bin}/monitor-collect-csv-dump
[monitor-check-memory-usage] [monitor-check-memory-usage]
recipe = slapos.cookbook:wrapper <= monitor-promise-base
command-line = {{ buildout_bin}}/check-computer-memory module = check_command_execute
-db ${monitor-instance-parameter:collector-db} name = check-computer-memory-usage.py
--threshold ${slap-parameter:memory-percent-threshold} config-command = {{ buildout_bin}}/check-computer-memory -db ${monitor-instance-parameter:collector-db} --threshold ${slap-parameter:memory-percent-threshold} --unit percent
--unit percent
wrapper-path = ${directory:promises}/check-computer-memory-usage
[monitor-check-cpu-usage] [monitor-check-cpu-usage]
recipe = slapos.cookbook:promise.plugin recipe = slapos.cookbook:promise.plugin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment