Figured out what was causing it to crash. A check command has gone missing.
Also the command used to run the icinga on Windows with verbose logging on the console: *C:\Program Files (x86)\ICINGA2\sbin>icinga2.exe daemon -x debug* [2016-01-29 16:06:01 GMT Standard Time] information/ApiListener: My API identity: LONL3IcingaAgent [2016-01-29 16:06:02 GMT Standard Time] notice/ThreadPool: Pool #1: Pending tasks: 0; Average latency: 0ms; Threads: 4; Pool utilization: 0% [2016-01-29 16:06:02 GMT Standard Time] critical/config: Error: Validation failed for object 'LONL3IcingaAgent!dhcp Lon 145' of type 'Service'; Attribute 'check _command': *Object 'powershell' of type 'CheckCommand' does not exist.* Location: in C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf: 96:5-96:32 C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(94): import "generic-service" C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(95): host_name = NodeName C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(96): check_command = "powershell" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(97): vars.ps_command = "& 'C:\\Program Files (x86)\\ICINGA2\\sbin\\DhcpScope-Stats-LON145.ps 1'" C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(98): } [2016-01-29 16:06:02 GMT Standard Time] critical/config: Error: Validation failed for object 'LONL3IcingaAgent!dhcp Lon 161' of type 'Service'; Attribute 'check _command': Object 'powershell' of type 'CheckCommand' does not exist. Location: in C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf: 103:5-103:32 C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(101): import "generic-service" C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(102): host_name = NodeName C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(103): check_command = "powershell" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(104): vars.ps_command = "& 'C:\\Program Files (x86)\\ICINGA2\\sbin\\DhcpScope-Stats-LON161.p s1'" C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(105): } [2016-01-29 16:06:02 GMT Standard Time] critical/config: Error: Validation failed for object 'LONL3IcingaAgent!dhcp Lon 175 scope_10.7.8.0' of type 'Service'; A ttribute 'check_command': Object 'powershell' of type 'CheckCommand' does not exist. Location: in C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf: 110:5-110:32 C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(108): import "generic-service" C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(109): host_name = NodeName C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(110): check_command = "powershell" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(111): vars.ps_command = "& 'C:\\Program Files (x86)\\ICINGA2\\sbin\\DhcpScope-Stats-LON175_1 .ps1'" C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(112): } [2016-01-29 16:06:02 GMT Standard Time] critical/config: Error: Validation failed for object 'LONL3IcingaAgent!dhcp Lon 175 scope_192.168.8.0' of type 'Service' ; Attribute 'check_command': Object 'powershell' of type 'CheckCommand' does not exist. Location: in C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf: 117:5-117:32 C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(115): import "generic-service" C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(116): host_name = NodeName C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(117): check_command = "powershell" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(118): vars.ps_command = "& 'C:\\Program Files (x86)\\ICINGA2\\sbin\\DhcpScope-Stats-LON175_2 .ps1'" C:\Program Files (x86)\ICINGA2\etc\icinga2/conf.d/services.conf(119): } [2016-01-29 16:06:02 GMT Standard Time] critical/config: 4 errors On Fri, 29 Jan 2016 at 15:37 Bertalan Voros <bertalan.vo...@gmail.com> wrote: > Hello All, > > The icinga agent crashes when during the service starting. > > This started happening after applying Windows patches and the server > having restarted. > > Has any of you encountered this before? > > Example event log entry: > > *Faulting application name: icinga2.exe, version: 1.0.0.0, time stamp: > 0x5656dfe4* > *Faulting module name: KERNELBASE.dll, version: 6.3.9600.18007, time > stamp: 0x55c4bcfc* > *Exception code: 0xe06d7363* > *Fault offset: 0x00015b68* > *Faulting process id: 0x8e8* > *Faulting application start time: 0x01d15aaa232ee923* > *Faulting application path: C:\Program Files > (x86)\ICINGA2\sbin\icinga2.exe* > *Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll* > *Report Id: 60f5aebe-c69d-11e5-80d8-0050568cf3e4* > *Faulting package full name: * > *Faulting package-relative application ID: * >
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users