Am 28.09.2014 um 23:05 schrieb Tomasz Chmielewski:
Default Icinga2 installation comes with
/etc/icinga2/conf.d/hosts/localhost.conf, being host definition:
object Host "localhost" {
import "generic-host"
address = "127.0.0.1"
address6 = "::1"
vars.os = "Linux"
vars.sla = "24x7"
}
It
Nevermind, I've confused "apply" and "assign" (vs Object service) - I
have it working now, thanks for the hint!
--
Tomasz Chmielewski
http://www.sslrack.com
On 2014-09-29 17:15 (Mon), Tomasz Chmielewski wrote:
And, if I comment out host_name, it refuses to start with:
[2014-09-29 15:11:36 +0
And, if I comment out host_name, it refuses to start with:
[2014-09-29 15:11:36 +] critical/config:
Config error: Required attribute is missing: Object 'disk_nrpe' (Type:
'Service') at /etc/icinga2/conf.d/hosts/server1.example.com/disk.conf:7
-> Attribute 'host_name'
[2014-09-29 15:11:36 +
On 2014-09-29 14:15 (Mon), Kasia Macias wrote:
Maybe using "apply" keyword would be more convenient?
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/monitoring-basics#using-apply-services
I've tried to follow it, but Icinga2 refuses to start.
My host definition:
object Host "
Maybe using "apply" keyword would be more convenient?
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/monitoring-basics#using-apply-services
Greetings,
Kasia
2014-09-28 23:05 GMT+02:00 Tomasz Chmielewski :
> Default Icinga2 installation comes with
> /etc/icinga2/conf.d/hosts/lo
Default Icinga2 installation comes with
/etc/icinga2/conf.d/hosts/localhost.conf, being host definition:
object Host "localhost" {
import "generic-host"
address = "127.0.0.1"
address6 = "::1"
vars.os = "Linux"
vars.sla = "24x7"
}
It also comes with some services defined for this hos