2020-12-18 20:55:00 +00:00
|
|
|
{
|
|
|
|
"name": "Icinga2 Statusmonitor",
|
|
|
|
"permissions": {
|
|
|
|
"network": "Needs to connect to icinga2 api"
|
|
|
|
},
|
2020-12-20 08:41:39 +00:00
|
|
|
"optional": [
|
|
|
|
"README.md",
|
|
|
|
"COPYRIGHT",
|
|
|
|
"screenshot.jpg"
|
|
|
|
],
|
2020-12-18 20:55:00 +00:00
|
|
|
"options": [{
|
2020-12-19 08:08:53 +00:00
|
|
|
"title": "Display Options",
|
|
|
|
"type": "section"
|
|
|
|
}, {
|
2020-12-19 08:32:14 +00:00
|
|
|
"title": "Headings Font",
|
|
|
|
"ui_width": 6,
|
|
|
|
"name": "header_font",
|
|
|
|
"type": "font",
|
|
|
|
"default": "silkscreen.ttf"
|
2020-12-18 20:55:00 +00:00
|
|
|
}, {
|
2020-12-19 08:32:14 +00:00
|
|
|
"title": "Output Font",
|
|
|
|
"ui_width": 6,
|
|
|
|
"name": "output_font",
|
2020-12-18 20:55:00 +00:00
|
|
|
"type": "font",
|
|
|
|
"default": "silkscreen.ttf"
|
2020-12-19 08:08:53 +00:00
|
|
|
}, {
|
|
|
|
"title": "Screen Rotation",
|
|
|
|
"ui_width": 4,
|
|
|
|
"name": "rotate",
|
|
|
|
"type": "select",
|
|
|
|
"default": 0,
|
|
|
|
"hint": "Rotation of screen (clockwise)",
|
|
|
|
"options": [
|
|
|
|
[0, "0°"],
|
|
|
|
[90, "90°"],
|
|
|
|
[180, "180°"],
|
|
|
|
[270, "270°"]
|
|
|
|
]
|
|
|
|
}, {
|
|
|
|
"title": "Font Size (Headings)",
|
|
|
|
"ui_width": 4,
|
|
|
|
"name": "header_size",
|
|
|
|
"type": "select",
|
|
|
|
"default": 50,
|
|
|
|
"hint": "Font size of Host and Service name. Will be reduced to half screen width, if needed.",
|
|
|
|
"options": [
|
|
|
|
[20, "20px"],
|
2021-02-24 14:29:36 +00:00
|
|
|
[25, "25px"],
|
2020-12-19 08:08:53 +00:00
|
|
|
[30, "30px"],
|
2021-02-24 14:29:36 +00:00
|
|
|
[35, "35px"],
|
2020-12-19 08:08:53 +00:00
|
|
|
[40, "40px"],
|
2021-02-24 14:29:36 +00:00
|
|
|
[45, "45px"],
|
2020-12-19 08:08:53 +00:00
|
|
|
[50, "50px"],
|
2021-02-24 14:29:36 +00:00
|
|
|
[55, "55px"],
|
2020-12-19 08:08:53 +00:00
|
|
|
[60, "60px"]
|
|
|
|
]
|
|
|
|
}, {
|
|
|
|
"title": "Font Size (Output)",
|
|
|
|
"ui_width": 4,
|
|
|
|
"name": "output_size",
|
|
|
|
"type": "select",
|
|
|
|
"default": 30,
|
|
|
|
"hint": "Font size of Check Output.",
|
|
|
|
"options": [
|
|
|
|
[10, "10px"],
|
2021-02-24 14:29:36 +00:00
|
|
|
[15, "15px"],
|
2020-12-19 08:08:53 +00:00
|
|
|
[20, "20px"],
|
2021-02-24 14:29:36 +00:00
|
|
|
[25, "25px"],
|
2020-12-19 08:08:53 +00:00
|
|
|
[30, "30px"],
|
2021-02-24 14:29:36 +00:00
|
|
|
[35, "35px"],
|
2020-12-19 08:08:53 +00:00
|
|
|
[40, "40px"]
|
|
|
|
]
|
2020-12-19 08:32:14 +00:00
|
|
|
}, {
|
|
|
|
"title": "Background color",
|
2021-02-14 10:49:07 +00:00
|
|
|
"ui_width": 4,
|
2020-12-19 08:32:14 +00:00
|
|
|
"name": "background_color",
|
|
|
|
"type": "color",
|
|
|
|
"default": [0,0,0,1]
|
2021-02-14 10:49:07 +00:00
|
|
|
}, {
|
|
|
|
"title": "instance name",
|
|
|
|
"ui_width": 8,
|
|
|
|
"name": "instance_name",
|
|
|
|
"type": "string",
|
|
|
|
"default": "icinga2",
|
|
|
|
"hint": "Something to describe the displayed output, will be shown next to the update datum"
|
2021-01-02 10:49:59 +00:00
|
|
|
}, {
|
|
|
|
"title": "Show ACK",
|
2021-02-14 10:49:07 +00:00
|
|
|
"ui_width": 3,
|
2021-01-02 10:49:59 +00:00
|
|
|
"name": "show_ack",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"hint": "Show acknowledged problems (adds a note, too)"
|
2020-12-19 08:23:40 +00:00
|
|
|
}, {
|
2021-02-14 10:49:07 +00:00
|
|
|
"title": "Show SOFT",
|
|
|
|
"ui_width": 3,
|
|
|
|
"name": "show_soft",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"hint": "Show SOFT checks on bottom of the list"
|
2020-12-19 08:08:53 +00:00
|
|
|
}, {
|
|
|
|
"title": "Connection to icinga2",
|
|
|
|
"type": "section"
|
2020-12-18 20:55:00 +00:00
|
|
|
}, {
|
|
|
|
"title": "icinga2 API user",
|
2020-12-19 08:08:53 +00:00
|
|
|
"ui_width": 5,
|
2020-12-18 20:55:00 +00:00
|
|
|
"name": "api_user",
|
|
|
|
"type": "string",
|
|
|
|
"default": "readonly"
|
|
|
|
}, {
|
|
|
|
"title": "icinga2 API password",
|
2020-12-19 08:08:53 +00:00
|
|
|
"ui_width": 5,
|
2020-12-18 20:55:00 +00:00
|
|
|
"name": "api_password",
|
|
|
|
"type": "string",
|
|
|
|
"default": "really_secure"
|
2020-12-19 08:08:53 +00:00
|
|
|
}, {
|
|
|
|
"title": "Verify Certs",
|
|
|
|
"ui_width": 2,
|
|
|
|
"name": "ssl_verify",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"hint": "Verify SSL certificates when doing requests to icinga2?"
|
2020-12-18 20:55:00 +00:00
|
|
|
}, {
|
|
|
|
"title": "icinga2 API URL for hosts",
|
|
|
|
"ui_width": 12,
|
|
|
|
"name": "url_hosts",
|
|
|
|
"type": "string",
|
|
|
|
"default": "https://icinga2/api/v1/objects/hosts",
|
|
|
|
"hint": "Full URL to the API endpoint which returns a list of monitored hosts"
|
|
|
|
}, {
|
|
|
|
"title": "icinga2 API URL for services",
|
|
|
|
"ui_width": 12,
|
|
|
|
"name": "url_services",
|
|
|
|
"type": "string",
|
|
|
|
"default": "https://icinga2/api/v1/objects/services?filter=service.state!=ServiceOK",
|
|
|
|
"hint": "Full URL to the API endpoint which returns a list of monitored services. Keeping the filter is strongly recommended!"
|
|
|
|
}]
|
|
|
|
}
|