Re: [icinga-users] icinga2 host configuration

2015-04-30 Thread John Nguyen
Thanks Michael for the links and clarification. It helps a lot John On Thu, Apr 30, 2015 at 10:22 AM, Michael Friedrich < michael.friedr...@netways.de> wrote: > Am 30.04.2015 um 14:49 schrieb John Nguyen: > >> Hi >> So what I've found was that there are many ways to organize your objects. >> > >

Re: [icinga-users] icinga2 host configuration

2015-04-30 Thread Michael Friedrich
Am 30.04.2015 um 14:49 schrieb John Nguyen: Hi So what I've found was that there are many ways to organize your objects. There's some hints on the documentation. http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/configuring-icinga2-first-steps#configuration-best-practice Feel fr

Re: [icinga-users] icinga2 host configuration

2015-04-30 Thread Daniel Bossert
Hi Tobias I did it! apply Service "ping4" { import "generic-service" check_command = "ping4" assign where host.address *&& host.vars.ping == "yes"* } apply Service "ping6" { import "generic-service" check_command = "ping6" assign where host.address6 *&& host.vars.ping == "yes"* }

Re: [icinga-users] icinga2 host configuration

2015-04-30 Thread Daniel Bossert
Hi Tobias Yes, that could be. But how can I disable this check for a specific host? In the services.conf-file I can see "assign where host.address" Is there a option to deactivate this ping-test in the object Host definition? Kind regards Daniel Am 30.04.15 um 15:31 schrieb Tobias von der Kro

Re: [icinga-users] icinga2 host configuration

2015-04-30 Thread Tobias von der Krone
Hi, maybe you mix up the host alive check (check_command in the Host object) and the PING service assigned to a host?! Regards Tobias On 2015-04-30 07:04, Daniel Bossert wrote: Hi all I'm new to icinga2 and I have problem to set up my own host (It's a very new concept). I added such a fi

Re: [icinga-users] icinga2 host configuration

2015-04-30 Thread Daniel Bossert
Hi John When I am on my icingaweb2 - Dashboard, I can see my ping-checks which aren't working since I installed icinga2. When I am on icingaweb2->Reporting->Alert Summary, I can't see the ping-failures. Is it possible that the dashboard doesn't get updated? Can I clear the history of these servic

Re: [icinga-users] icinga2 host configuration

2015-04-30 Thread John Nguyen
Hi So what I've found was that there are many ways to organize your objects. That is both very powerful and a little frustrating. For my network I have both pingable and non-pingable hosts. So I created a "non-standard" template with check command = "dummy". But that's my environment. I sugges

Re: [icinga-users] icinga2 host configuration

2015-04-30 Thread Daniel Bossert
Hi John Am 30.04.15 um 12:37 schrieb John Nguyen: > I'm pretty new too, but what I've found is the "generic-host" template uses a > host alive check that includes the ping. If you don't want to use the ping > check you need to use something other than "generic-host" Can I omit this line or do I

Re: [icinga-users] icinga2 host configuration

2015-04-30 Thread John Nguyen
Hi Daniel I'm pretty new too, but what I've found is the "generic-host" template uses a host alive check that includes the ping. If you don't want to use the ping check you need to use something other than "generic-host" Yours John > On Apr 30, 2015, at 1:04 AM, Daniel Bossert wrote: > > Hi

[icinga-users] icinga2 host configuration

2015-04-29 Thread Daniel Bossert
Hi all I'm new to icinga2 and I have problem to set up my own host (It's a very new concept). I added such a file: object Host "host1" { import "generic-host" display_name = "Host 1" address = "a.b.c.d" check_command = "dummy" } object Host "host2" { import "generic-h