Hello,

We have two master nodes in a top-down configuration.
The Service is active (not agent) and is executed on the master node, and has 
an event_command of a local script.

However, I've noticed the event_command script gets executed on both master 
nodes, simultaneously, for each check attempt/state change.

Is this the intended behavior?

While it _may_ not cause any issues (two scripts trying to reboot a server), 
there could obviously be timing issues:
 (one WMI call almost times out, but reboots it again just as it comes back up).

---
icinga2 - The Icinga 2 network monitoring daemon (version: v2.6.2)

Copyright (c) 2012-2017 Icinga Development Team (https://www.icinga.com/)
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Application information:
  Installation root: /usr
  Sysconf directory: /etc
  Run directory: /run
  Local state directory: /var
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid

System information:
  Platform: CentOS Linux
  Platform version: 7 (Core)
  Kernel: Linux
  Kernel version: 3.10.0-514.6.2.el7.x86_64
  Architecture: x86_64

Build information:
  Compiler: GNU 4.8.5
  Build host: unknown



Thanks,
Lee Clemens
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to