Skip to content

Feature: Adds new [INFO] state for notice and un-checked monitoring objects#841

Merged
LordHepipud merged 1 commit intomasterfrom
feature/adds_new_type_info_for_checks_and_packages
Dec 15, 2025
Merged

Feature: Adds new [INFO] state for notice and un-checked monitoring objects#841
LordHepipud merged 1 commit intomasterfrom
feature/adds_new_type_info_for_checks_and_packages

Conversation

@LordHepipud
Copy link
Copy Markdown
Collaborator

@LordHepipud LordHepipud commented Dec 15, 2025

Adds new [INFO] state for New-IcingaCheck and New-IcingaCheckPackage, to allow the printing of simple informational objects as well as telling the user, which objects are currently actively checked by the plugin engine.

icinga> Invoke-IcingaCheckCPU -Verbosity 3;

[INFO] CPU Load (All must be [OK])
\_ [INFO] Overall Load: 8.714580%
\_ [INFO] Socket #0 (All must be [OK])
   \_ [INFO] Core 0: 22.63846%
   \_ [INFO] Core 1: 11.04723%
   \_ [INFO] Core 2: 0.672020%
   \_ [INFO] Core 3: 0.500612%
   \_ [INFO] Core Total: 8.714580%
| totalload::ifw_cpu::load=8.714580%;;;0;100 0_0::ifw_cpu::load=22.63846%;;;0;100 0_1::ifw_cpu::load=11.04723%;;;0;100 0_2::ifw_cpu::load=0.672020%;;;0;100 0_3::ifw_cpu::load=0.500612%;;;0;100 0_total::ifw_cpu::load=8.714580%;;;0;100
icinga> Invoke-IcingaCheckProcess -Verbosity 3 -Process  WmiApSrv -MemoryWarning '1MB' -PageFileWarning '1KiB';

[WARNING] Process Overview: 1 Warning [WARNING] WmiApSrv (All must be [OK])
\_ [WARNING] WmiApSrv (All must be [OK])
   \_ [WARNING] WmiApSrv [16476] (All must be [OK])
      \_ [INFO] CPU Usage: 0%
      \_ [WARNING] Memory Usage: Value 1.67MiB is greater than threshold 976.56KiB
      \_ [INFO] Page File Usage: 2.30KiB
      \_ [INFO] Thread Count: 5c
   \_ [INFO] WmiApSrv Summary (All must be [OK])
      \_ [INFO] CPU Usage: 0%
      \_ [INFO] Memory Usage: 1.67MiB
      \_ [INFO] Page File Usage: 2.30KiB
      \_ [INFO] Process Count: 1c
      \_ [INFO] Thread Count: 5c
| wmiapsrv::ifw_process::cpu=0%;;;0;100 wmiapsrv::ifw_process::memory=1748992B;;;0;8583315000 wmiapsrv::ifw_process::pagefile=2352B;;;0;34359740000 wmiapsrv::ifw_process::count=1c;;;; wmiapsrv::ifw_process::threads=5c;;;;

@LordHepipud LordHepipud self-assigned this Dec 15, 2025
@cla-bot cla-bot bot added the cla/signed label Dec 15, 2025
@LordHepipud LordHepipud force-pushed the feature/adds_new_type_info_for_checks_and_packages branch from 8054117 to 97f2cb8 Compare December 15, 2025 15:50
@LordHepipud LordHepipud added this to the v1.14.0 milestone Dec 15, 2025
@LordHepipud LordHepipud added the Enhancement New feature or request label Dec 15, 2025
@LordHepipud LordHepipud merged commit ff4a0b2 into master Dec 15, 2025
1 check passed
@LordHepipud LordHepipud deleted the feature/adds_new_type_info_for_checks_and_packages branch December 15, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant