Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Al2Klimov opened this issue Feb 18, 2025 · 2 comments

Comments

@Al2Klimov
Copy link
Member

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
@LRK1998
Copy link

LRK1998 commented Feb 19, 2025

It looks like this is no longer working properly in general.
As I wrote in the forum:
https://community.icinga.com/t/unit-conversion-error-icinga-for-windows-1-3-2/14551?u=lrk

@audiocoach
Copy link

Yes, I can also confirm that something is wrong here:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants