salt-formula-heat/heat/meta/sensu.yml

25 lines
1018 B
YAML

check:
local_heat_api_cfn_proc:
command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C heat-api-cfn -u heat -c 1:10"
interval: 60
occurrences: 1
subscribers:
- local-heat-server
local_heat_engine_proc:
command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C heat-engine -u heat -c 1:1024"
interval: 60
occurrences: 1
subscribers:
- local-heat-server
local_heat_api_proc:
command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C heat-api -u heat -c 1:10"
interval: 60
occurrences: 1
subscribers:
- local-heat-server
remote_heat_stack_create:
command: "PATH=$PATH:/usr/local/bin check_heat-stack.py --auth_url http://:::openstack.host::::35357/v2.0/ --username :::openstack.user::: --password :::openstack.password::: --tenant :::openstack.tenant::: --template check_heat-stack.hot"
interval: 300
occurrences: 1
subscribers:
- remote-network