[icinga-users] Service object runtime attributes

2017-04-06 Thread Antony Stone
Hi. I'm reading section 9.29 of https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/object-types and wondering about the "last_" prefix: "state" is defined as "The current state" and "last_state" is defined as "The previous state" however "last_check_result" is defined as "The c

[icinga-users] A CheckCommand which can run two "command"s?

2017-04-06 Thread Antony Stone
Hi. Does anyone know of a way to write a CheckCommand definition which can run two commands, or alternatively a Service definition which can run two CheckCommands, and then combine the results to give a single result which Icinga reports? I've already written Service definitions which can take

Re: [icinga-users] A CheckCommand which can run two "command"s?

2017-04-06 Thread Rudy Gevaert
On Thu, 2017-04-06 at 15:32 +0200, Antony Stone wrote: > Hi. > > Does anyone know of a way to write a CheckCommand definition which > can run two  > commands, or alternatively a Service definition which can run two  > CheckCommands, and then combine the results to give a single result > which  > I

[icinga-users] Service dependency not working

2017-04-06 Thread Michael Martinez
I've got a bunch of hosts that have a "check_nrpe_service" check and a "check_radar" check. I've defined a dependency as shown below. I do a service icinga2 reload and the log file does not show any errors pertaining to the dependency, which I assume means it loaded correctly for all of the hosts t

Re: [icinga-users] Service dependency not working

2017-04-06 Thread Lee Clemens
On 04/06/2017 01:31 PM, Michael Martinez wrote: > I've got a bunch of hosts that have a "check_nrpe_service" check and a > "check_radar" check. I've defined a dependency as shown below. I do a > service icinga2 reload and the log file does not show any errors > pertaining to the dependency, which I

Re: [icinga-users] Service dependency not working

2017-04-06 Thread Michael Martinez
On Thu, Apr 6, 2017 at 11:16 AM, Lee Clemens wrote: > I would suggest running > icinga2 daemon -C > to see the count of Dependencies (and warning if it won't be applied to > anything). Good suggestion. Before making any changes it looks like this: information/ConfigItem: Instantiated 2665 Depe