vmikes 8 anni fa
parent
commit
c168da8ffe
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      mongodb/meta/sensu.yml

+ 1
- 1
mongodb/meta/sensu.yml Vedi File

@@ -1,7 +1,7 @@
{%- from "mongodb/map.jinja" import server with context -%}
{%- if server.bind.address == '0.0.0.0' %}{%- set address = '127.0.0.1' %}{% else %}{%- set address = server.bind.address %}{% endif %}
check:
remote_mongodb_mdb_{{ grains.fqdn }}:
local_mongodb_mdb_{{ grains.fqdn }}:
command: "PATH=$PATH:/etc/sensu/plugins check_mongodb.py -H {{ address }} -A connect -P {{ server.bind.port }}"
interval: 60
occurrences: 1

Loading…
Annulla
Salva