Filip Pytloun | 818f5e1 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | {%- from "nginx/map.jinja" import server with context -%} |
| 2 | local_sensu_server_proc: |
| 3 | command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C sensu-server -u sensu -c 1:1" |
| 4 | interval: 60 |
| 5 | occurrences: 1 |
| 6 | subscribers: |
| 7 | - local-sensu-server |
| 8 | local_sensu_api_proc: |
| 9 | command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C sensu-api -u sensu -c 1:1" |
| 10 | interval: 60 |
| 11 | occurrences: 1 |
| 12 | subscribers: |
| 13 | - local-sensu-server |
| 14 | local_sensu_client_proc: |
| 15 | command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C sensu-client -u sensu -c 1:1" |
| 16 | interval: 60 |
| 17 | occurrences: 1 |
| 18 | subscribers: |
| 19 | - local-sensu-client |
| 20 | local_sensu_dashboard_proc: |
| 21 | command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C uchiwa -u uchiwa -c 1:1" |
| 22 | interval: 60 |
| 23 | occurrences: 1 |
| 24 | subscribers: |
| 25 | - local-sensu-dashboard |