uchiwa_config.json.j2 667 B

12345678910111213141516171819202122232425
  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. "user": "{{ sensu_api_user_name }}",
  9. "pass": "{{ sensu_api_password }}",
  10. "path": "{{ sensu_api_uchiwa_path }}",
  11. "timeout": {{ sensu_api_timeout }}
  12. }
  13. ],
  14. "uchiwa": {
  15. "users": {{ uchiwa_users | to_nice_json }},
  16. "port": {{ uchiwa_port }},
  17. {% if uchiwa_auth_privatekey %}
  18. "auth": {
  19. "privatekey": "{{ uchiwa_auth_privatekey }}",
  20. "publickey": "{{ uchiwa_auth_publickey }}"
  21. },
  22. {% endif %}
  23. "refresh": {{ uchiwa_refresh }}
  24. }
  25. }