Re: [icinga-users] (no subject)

2016-10-04 Thread Marcelus Trojahn
Thanks, I failed to see that. PS: Sorry for the forgetting the subject on the message. I didn't notice until it was too late. -- Marcelus Trojahn On Tue, Oct 4, 2016 at 8:01 PM, Barry Quiel wrote: > For an initial query to sync up just query the objects tree. The objects > include the state.

Re: [icinga-users] (no subject)

2016-10-04 Thread Barry Quiel
For an initial query to sync up just query the objects tree. The objects include the state. If you wanted to have a smaller query assume that all objects are OK/UP and do a filtered query for all non-ok states. On 10/4/2016 7:47 AM, Marcelus Trojahn wrote: Hello, I've been using the stream

[icinga-users] how to ignore a Host

2016-10-04 Thread Michael Martinez
Is there a way to tell Icinga2 not to monitor a particular Host object? To completely ignore it. Does putting it into Downtime achieve this, or is there another way? Thanks for your help! -- --- Michael Martinez http://www.michael--martinez.com ___ ici

[icinga-users] (no subject)

2016-10-04 Thread Marcelus Trojahn
Hello, I've been using the stream API for /v1/events so I can update in realtime a map of hosts. This is working as intended. However, I wonder if I can get an initial state of the current events being displayed in Icinga, not just the stream. The stream is useful to update the map, but I need to

[icinga-users] apply notification question

2016-10-04 Thread Mathieu Arnold
Hi, I'm converting an old nagios installation, and I am trying to make things a bit more meta[1], and I'm a bit stuck... I have this: apply Notification "mail-host" to Host { import "host-notification" command = "mail-host-notification" user_groups = host.vars.notification.groups assig