Commit f836d702 authored by Lisa Casino's avatar Lisa Casino

stack/monitor: add threshold parameter

parent 0cfa2cab
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# not need these here). # not need these here).
[monitor2-template] [monitor2-template]
filename = instance-monitor.cfg.jinja2.in filename = instance-monitor.cfg.jinja2.in
md5sum = d4185c191e8b9df20e1f98cd8c556b1d md5sum = 05697b7ee5058702daf6efcfd662f85e
[monitor-httpd-conf] [monitor-httpd-conf]
_update_hash_filename_ = templates/monitor-httpd.conf.in _update_hash_filename_ = templates/monitor-httpd.conf.in
......
...@@ -339,6 +339,7 @@ username = admin ...@@ -339,6 +339,7 @@ username = admin
# XXX: type key value # XXX: type key value
# ex raw monitor-password resqdsdsd34 # ex raw monitor-password resqdsdsd34
instance-configuration = instance-configuration =
threshold-check-free-disk-space =
configuration-file-path = ${monitor-directory:etc}/monitor_knowledge0.cfg configuration-file-path = ${monitor-directory:etc}/monitor_knowledge0.cfg
...@@ -397,6 +398,7 @@ module = check_free_disk_space ...@@ -397,6 +398,7 @@ module = check_free_disk_space
name = check-free-disk-space.py name = check-free-disk-space.py
config-collectordb = ${monitor-instance-parameter:collector-db} config-collectordb = ${monitor-instance-parameter:collector-db}
config-threshold-file = ${directory:etc}/min-free-disk-size config-threshold-file = ${directory:etc}/min-free-disk-size
config-threshold = ${monitor-instance-parameter:threshold-check-free-disk-space}
[monitor-base] [monitor-base]
# create dependencies between required monitor parts # create dependencies between required monitor parts
......
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