Query icinga database for stats and other information. It also allows you to subscribe to alters using alertmanager.
Icinga integration gives you ability to query your stats and other information and to run other management commands using maira commands.
You can also send your alerts to maira using Icinga alertmanager webhook. Details to be added.
For integrating with icinga, you need to provide your icinga host addresses and authorization token. Make sure that service_name is set as
icinga and there is one cluster named
icinga-default since this will be used by default if no cluster is specified in the command.
Below is sample configuration for enabling icinga integration through Helm Chart Values file
- disabled tag can be set to true to temporarily disable the service without removing the config
- multiple clusters can be added under tag "clusters"
- tags "tls_config" is optional
Below is sample configuration for enabling icinga integration
modules: - name: maira_io.module.http services: - name: maira_io.service.http typed_config: "@type": types.google.com/maira_io.config.service.http.v1.Config clusters: - name: icinga-default addresses: - "https://localhost:5665" request_headers_add: "content-type": "application/json" "Accept": "application/json" "Authorization": "Basic cm9vdDpCZWVoeXZAMTIz" service_name: icinga tls_config: cert_file: ./certs/dev/localhost.crt key_file: ./certs/dev/localhost.key ca_cert: ./certs/dev/CA.crt insecure: true