Re: [icinga-users] Icinga2: using services with hosts

2014-10-07 Thread Michael Friedrich
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

Re: [icinga-users] Icinga2: using services with hosts

2014-09-29 Thread Tomasz Chmielewski
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

Re: [icinga-users] Icinga2: using services with hosts

2014-09-29 Thread Tomasz Chmielewski
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 +

Re: [icinga-users] Icinga2: using services with hosts

2014-09-29 Thread Tomasz Chmielewski
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 "

Re: [icinga-users] Icinga2: using services with hosts

2014-09-29 Thread Kasia Macias
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

[icinga-users] Icinga2: using services with hosts

2014-09-28 Thread 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 also comes with some services defined for this hos