-
-

 1 #   mkdir -p /etc/sysconfig
#   ln -s /usr/lib/icinga2/icinga2 /etc/sysconfig/icinga2
#   apt -y install ruby bundler nodejs npm
 gem install bundler
gem install dashing
#   cd /usr/share
#   git clone https://github.com/dnsmichi/dashing-icinga2.git
#   cd dashing-icinga2
 bundle install --system
 icinga2 feature enable api
#    vi /etc/icinga2/conf.d/api-users.conf [...]
object ApiUser "dashing" {
  password = "f6acCfj4k8aC"
  permissions = [ "status/query", "objects/query/*" ]
}
[...]
#   systemctl restart icinga2
#  vi /usr/share/dashing-icinga2/config/icinga2.json [...]
{
  "icinga2": {
    "api": {
      "host": "10.147.42.36",
      "port": 5665,
      "user": "dashing",
      "password": "PASSWORD"
    }
  },
  "icingaweb2": {
    "url": "http://10.147.42.36/icingaweb2"
  }
}
 [...]











Quellen/Source:
https://monitoring-portal.org/t/icinga-installation-guide-1o1/3430
- Github | dnsmichi/dashing-icinga2
-
-
-
-
-