Define a Hostgroup Debian for all your Debian 9 client and Server |
# vi /etc/icinga2/conf.d/groups.conf | object HostGroup "debian9" { display_name = "Debian 9" assign where host.vars.os == "debian9" } |
||
add definition to a Host | # cd /etc/icinga2/zones.d/master/ | open your hostfile endig with *.conf | object Host "client.kozo.ch" { check_command = "hostalive" //check is executed on the master display_name = "client name text" address = "10.147.42.63" vars.os = "debian9" vars.client_endpoint = "name" //follows the convention that host name == endpoint name } |
|
do a check if it is OK | # icinga2 daemon -C | |||
and if OK - restart | # systemctl reload icinga2 |
NOW --> add service to a hostgroup
-
modul-icinga-articlelist
- ✔ Icinga2 | (spez)Plugins | define path
- ✔ Icinga2 | add NAS-Qnap (check_qnap3)
- ✔ icinga2 | check_ssl_cert
- 01 ✔ Install graphite for incibaweb2 on Debian 9
- 02 Icinga2 Modul Director on Debian9
- 90_(Solved) Icinga error: icinga2: Can't send external Icinga command to the local command file "/var/run/icinga2/cmd/icinga2.cmd": Permission denied.
- 99_(solved) error after enter token
- add a client to Icinga / or Remove the client save
- critical/icinga-app: Another instance of Icinga already running with PID
- first Install check_nwc_health
- Icinga config
- Icinga2 | add a Windows Client to Icinga2 Master
- Icinga2 | add Cisco Switch 3560 Familie
- Icinga2 | add FreeNAS
- Icinga2 | add Fritzbox 7490
- Icinga2 | add Icinga2 Client (CentOS 7) to a Master (r2.10.3-1)
- Icinga2 | add Icinga2 Client to a Master (r2.9.0-1)
- Icinga2 | add NAS-Drobo
- Icinga2 | add OpnSense Check (check_opnsense)
- Icinga2 | add Proxmox
- Icinga2 | add Raspberry Pi (Debian9)
- Icinga2 | add service to a hostgroup
- Icinga2 | add Supermicro IPMI
- Icinga2 | add USV/UPS
- Icinga2 | check_logfiles
- Icinga2 | ClamAV ¦ check_clamav
- icinga2 | dashing test
- Icinga2 | define (setup) the Master
- Icinga2 | define Hostgroup & add Host to a Hostgroup
- Icinga2 | dependencies
- Icinga2 | Gude Expert Power Control 8220 Serie
- Icinga2 | notification telegram & Email
- Icinga2 | send email notification only once (on time)
- Icinga2 | snmp
- Icinga2 | SNMP Unifi Pro AP
- Icinga2 | Upgrade Information
- icinga2 |apt wrapper |-NOK 24.08.2018
- icinga2 |check_log
- icinga2 Problems
- Muster
- Path and Links to the documentation
- plugin - Servie - Host
- show Version & Check's & nice icinga2 commands
- tmpl-24x7-host-mail