2020-11-21 19:08:49 +00:00
|
|
|
# simple-icinga-dashboard
|
|
|
|
|
2021-01-02 12:47:09 +00:00
|
|
|
|
|
|
|
## Config file
|
2021-04-10 15:45:20 +00:00
|
|
|
This script requires an toml config file named `config.toml` for icinga base url and credentials.
|
2021-01-02 12:47:09 +00:00
|
|
|
```
|
|
|
|
[icinga2_api]
|
2021-04-10 14:07:17 +00:00
|
|
|
baseurl = "https://127.0.0.1:5665"
|
|
|
|
username = "root"
|
|
|
|
password = "foobar"
|
2021-01-02 13:02:14 +00:00
|
|
|
|
|
|
|
[filters]
|
2021-04-10 14:07:17 +00:00
|
|
|
services = '"checks_with_sms" in service.groups'
|
|
|
|
|
|
|
|
[prettify]
|
|
|
|
NGINX = "Webserver"
|
|
|
|
CONTENT = ""
|
|
|
|
PROCESS = ""
|
2021-01-02 13:02:14 +00:00
|
|
|
|
|
|
|
[output]
|
2021-04-10 14:07:17 +00:00
|
|
|
filename = "index.html"
|
2021-01-02 12:47:09 +00:00
|
|
|
```
|