monitoring.sls 975 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. monitoring:
  2. #
  3. # Used by netfilter module to generate nftables rules to allow monitoring access
  4. #
  5. librenms:
  6. role: librenms
  7. nftables_rule_spec: "udp dport 161"
  8. # A simple exporter which runs everywhere
  9. prometheus-node-exporter:
  10. role: prometheus-server
  11. nftables_rule_spec: "tcp dport 9100"
  12. prometheus-bind-exporter:
  13. # role of the node(s) running the server querying other nodes
  14. role: prometheus-server
  15. # list of roles where this exporter will be running and needs to be allowed
  16. node_roles:
  17. - dns-auth
  18. - dns-recursor
  19. nftables_rule_spec: "tcp dport 9119"
  20. prometheus-bird-exporter:
  21. role: prometheus-server
  22. node_roles:
  23. - router
  24. nftables_rule_spec: "tcp dport 9324"
  25. icinga2:
  26. role: icinga2server
  27. {% if grains['id'] in ["<id>"] %}
  28. users:
  29. ffho-ops:
  30. display_name: "<name>"
  31. telegram_chat_id: "-<group id>"
  32. # ...
  33. private:
  34. telegram_bot_token: "<token>"
  35. {% endif %}