uchiwa_config.json.j2 762 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "sensu": [
  3. {
  4. "name": "{{ uchiwa_dc_name }}",
  5. "host": "{{ sensu_api_host }}",
  6. "ssl": {{ sensu_api_ssl | lower }},
  7. "port": {{ uchiwa_sensu_api_port }},
  8. {% if sensu_api_user_name %}
  9. "user": "{{ sensu_api_user_name }}",
  10. "pass": "{{ sensu_api_password }}",
  11. {% endif %}
  12. "path": "{{ sensu_api_uchiwa_path }}",
  13. "timeout": {{ sensu_api_timeout }}
  14. }
  15. ],
  16. "uchiwa": {
  17. {% if uchiwa_users %}
  18. "users": {{ uchiwa_users | to_nice_json }},
  19. {% endif %}
  20. "port": {{ uchiwa_port }},
  21. {% if uchiwa_auth_privatekey %}
  22. "auth": {
  23. "privatekey": "{{ uchiwa_auth_privatekey }}",
  24. "publickey": "{{ uchiwa_auth_publickey }}"
  25. },
  26. {% endif %}
  27. "refresh": {{ uchiwa_refresh }}
  28. }
  29. }