Hello, I would like to know why the following problem occurs in the configuration of my notifications of the client computers that I have connected: I only see the computer that acts as the server, but the client computers (the ones I am monitoring) do not appear, in addition to 2 of The events associated with my latop server appear with the error: check_ping: Invalid hostname / address - I leave you my configuration of my hosts.conf file so that you can help me:
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 variable 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.disks[“disk /”] = {
disk_partitions = “/”
}
/* Define notification mail attributes for notification apply rules in notifications.conf
. /
vars.notification[“mail”] = {
/ The UserGroup icingaadmins
is defined in users.conf
. */
groups = [ “icingaadmins” ]
users = [ “icingaadmin” ]
}
}
object Host “innovex_ubuntu1” {
address = “192.168.1.2”
max_check_attempts = 3
check_interval = 1m
retry_interval = 1m
check_command = “hostalive”
}
object Host “innovex_ubuntu2” {
address = “192.168.1.3”
check_command = “hostalive”
max_check_attempts = 3
check_interval = 1m
retry_interval = 1m
}
object Host “rpi_2” {
address = “192.168.1.5”
check_command = “hostalive”
max_check_attempts = 3
check_interval = 1m
retry_interval = 1m
}