Commit 7874c9c6 authored by Seth D. Galitzer's avatar Seth D. Galitzer

add readme, tweak config

parent 3cc75121
This dashboard was originally created to connect to a classic Icinga server (very similar to Nagios) and was modified to use the Icinga2 API. To change the version you want to read from, modify the `$icingaversion` variable in `config.php`.
You will need to modify `config.php` to work with your installation of Icinga, specifically connection parameters and authentication variables.
......@@ -20,14 +20,14 @@ $icingaversion=2;
// Icinga1 connection parameters
$icingaurl="https://your.icinga.host.org";
$icingaport=8443; // use your port here
$icingacgi="cgi-bin/icinga/status.cgi";
$icingaport=443; // change if using non-standard port
$icingacgi="cgi-bin/icinga/status.cgi"; // should not change
// Icinga2 connection parameters
$icinga2url="https://your.icinga2.host.org";
$icinga2port=5665; // change if using non-standard port
$icinga2apipath="v1/objects";
$icinga2ca="/path/to/your/ca/cert.crt";
$icinga2apipath="v1/objects"; // should not change
// authentication for either version
$icingauser="username";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment