icinga-powershell-framework
icinga-powershell-framework copied to clipboard
Invoke-IcingaCheckScheduledTask emits invalid perfdata: lastruntime=1999/11/30 00:00:00;;;;
First of all: yes, this is a framework issue, despite the specific plugin. At least I have the following reason to assume that:
- I install IfW 1.12
Update-Icinga -Name plugins -Version 1.12.0 -ForceUpdate-Icinga -Name framework -Version 1.12.3 -Force
- I run Invoke-IcingaCheckScheduledTask for a specific task (admin PS)
- Perfdata:
...::nextruntime'=133843696470000000s;; ...✅ - I update the framework:
Update-Icinga -Name framework -Version 1.13.0 - I run Invoke-IcingaCheckScheduledTask again (admin PS)
- Perfdata:
...::lastruntime=1999/11/30 00:00:00;;;; ...🛑
AFAIK, "1999/11/30" is not a valid perfdata value.
Neither Update-Icinga -Name framework nor Update-Icinga -Name plugins help.
*******************************************
** Icinga for Windows Management Console **
** Copyright (c) 2025 Icinga GmbH | MIT **
** User environment AKW\Administrator **
** Icinga PowerShell Framework v1.13.2 **
*******************************************
Icinga for Windows environment overview:
Environment configuration:
PowerShell Root => C:\Program Files\WindowsPowerShell\Modules\
Icinga for Windows Service Path => C:\Program Files\icinga-framework-service\
Icinga for Windows Service User => NT Authority\NetworkService
Icinga for Windows Service Pid => 2412
Icinga for Windows JEA Pid =>
Icinga Agent Path => C:\Program Files\ICINGA2\
Icinga Agent User => NT AUTHORITY\NetworkService
Defined Default User => NT Authority\NetworkService
Icinga Managed User => False
PowerShell Version => 5.1.14393.693
Operating System => Microsoft Windows Server 2016 Standard Evaluation
Operating System Version => 10.0.14393
JEA Context =>
JEA Session File =>
Api Check Forwarder => True
Debug Mode => False
Icinga for Windows Certificate:
Issuer => CN=Icinga CA
Subject => CN=akw
List of configured background daemons on this system:
Start-IcingaServiceCheckDaemon
-----------
No arguments defined
Start-IcingaWindowsRESTApi
-----------
No arguments defined
List of configured background service checks on this system:
=> https://icinga.com/docs/icinga-for-windows/latest/doc/110-Installation/06-Collect-Metrics-over-Time/
No background service checks configured
List of configured repositories on this system. The list order matches the apply order:
Icinga Stable
-----------
CloneSource =>
Enabled => True
LocalPath =>
Order => 0
RemotePath => https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json
UseSCP => False
Installed components on this system:
Component Version Available
--- --- ---
agent 2.14.3 2.14.5
framework 1.13.2 1.13.2
plugins 1.13.0 1.13.0
service 1.2.0 1.2.0
Available versions flagged with "*" mean that this component is locked to this version