Commit 9653d146 authored by Tristan Cavelier's avatar Tristan Cavelier

monitor: note +1

parent 003a0a01
Monitor Monitor
======= =======
Activate monitoring
-------------------
Create a new buildout:
[buildout]
extends =
my_software_url
monitor_url
KVM Log access + parsing KVM Log access + parsing
------------------------ ------------------------
...@@ -58,7 +68,7 @@ the cgi path should be hardcoded to `${monitor:cgi-path}/${:name}.cgi so $instan ...@@ -58,7 +68,7 @@ the cgi path should be hardcoded to `${monitor:cgi-path}/${:name}.cgi so $instan
on cron, the command will be `${service:frequency} ${monitor:promise-executor-path} '${monitor:service-pid-folder}/${service:name}.pid' '${service:status-path}' '${promise_path}' ` on cron, the command will be `${service:frequency} ${monitor:promise-executor-path} '${monitor:service-pid-folder}/${service:name}.pid' '${service:status-path}' '${promise_path}' `
TODO cron accepts 999 characters maximum for a command TODO cron accepts 999 characters maximum for a command, so we should reduce the size of the cron command
and "monitor:promise-executor-path" is a script that would run a promise if not already on going (see `run-promise.py`) and "monitor:promise-executor-path" is a script that would run a promise if not already on going (see `run-promise.py`)
......
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