wombat.ch

your Partner for Network Design and CMS

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

-

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 287 guests and no members online

We have 307 guests, one bot and no members online


one bot:
1 x BOT for JCE