Icinga2
Version vom 25. Januar 2018, 06:59 Uhr von 178.2.63.56 (Diskussion) (Die Seite wurde neu angelegt: „Kategorie:ServerApplikation = Installation = <pre>apt-get install icinga2 </pre> = Konfiguration = <pre>object Host NodeName { /* Import the default ho…“)
Installation
apt-get install icinga2
Konfiguration
object Host NodeName { /* Import the default host template defined in `templates.conf`. */ import "generic-host" /* Specify the address attributes for checks e.g. `ssh` or `http`. */ address = "127.0.0.1" address6 = "::1" /* Set custom attribute `os` for hostgroup assignment in `groups.conf`. */ vars.os = "Linux" /* Define http vhost attributes for service apply rules in `services.conf`. */ vars.http_vhosts["http"] = { http_uri = "/" } /* Uncomment if you've sucessfully installed Icinga Web 2. */ //vars.http_vhosts["Icinga Web 2"] = { // http_uri = "/icingaweb2" //} /* Define disks and attributes for service apply rules in `services.conf`. */ vars.disks["disk"] = { /* No parameters. */ } vars.disk_exclude_type = ["gvfsd-fuse", "tmpfs"] vars.disks["disk /home"] = { disk_partitions = "/home" } vars.disks["disk /"] = { disk_partitions = "/" } vars.procs_warning = 400 vars.procs_critical = 500 vars.disk_local = true /* Define notification mail attributes for notification apply rules in `notifications.conf`. */ vars.notification["mail"] = { /* The UserGroup `icingaadmins` is defined in `users.conf`. */ groups = [ "icingaadmins" ] } }