icinga-powershell-framework icon indicating copy to clipboard operation
icinga-powershell-framework copied to clipboard

Invoke-IcingaCheckScheduledTask emits invalid perfdata: lastruntime=1999/11/30 00:00:00;;;;

Open Al2Klimov opened this issue 10 months ago • 2 comments

First of all: yes, this is a framework issue, despite the specific plugin. At least I have the following reason to assume that:

  1. I install IfW 1.12
    • Update-Icinga -Name plugins -Version 1.12.0 -Force
    • Update-Icinga -Name framework -Version 1.12.3 -Force
  2. I run Invoke-IcingaCheckScheduledTask for a specific task (admin PS)
  3. Perfdata: ...::nextruntime'=133843696470000000s;; ...
  4. I update the framework: Update-Icinga -Name framework -Version 1.13.0
  5. I run Invoke-IcingaCheckScheduledTask again (admin PS)
  6. 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

Al2Klimov avatar Feb 18 '25 15:02 Al2Klimov