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-IcingaCheckClusterSharedVolume - This argument does not support the % unit #36

Closed
K0nne opened this issue Nov 30, 2021 · 2 comments · Fixed by #37
Closed

Invoke-IcingaCheckClusterSharedVolume - This argument does not support the % unit #36

K0nne opened this issue Nov 30, 2021 · 2 comments · Fixed by #37
Assignees
Milestone

Comments

@K0nne
Copy link

K0nne commented Nov 30, 2021

Hello,

we are trying to set thresholds for the check Invoke-IcingaCheckClusterSharedVolume. According to the docs "SpaceWarning" and "SpaceCritical" can be defined with percentage unit, but it seems this is not supported yet.

*******************************************
**       Icinga for Windows v1.7.1       **
** Copyright (c) 2021 Icinga GmbH | MIT  **
** User environment                      **
*******************************************
icinga> Invoke-IcingaCheckClusterSharedVolume -Spacewarning 80% -SpaceCritical 90% -Verbosity 3

[UNKNOWN] Network Volumes Package: 3 Unknown 1 Ok [UNKNOWN] SharedVolume LUN002, SharedVolume LUN003, SharedVolume Test04 (All must be [OK])
\_ [OK] Cluster Resource Package (All must be [OK])
   \_ [OK] LUN001 Status: Online
   \_ [OK] Storage Qos Resource Status: Online
\_ [UNKNOWN] SharedVolume LUN002 (All must be [OK])
   \_ [OK] LUN002 Fault State: NoFaults
   \_ [OK] LUN002 State: Online
   \_ [UNKNOWN] LUN002 Used Space: This argument does not support the % unit
[...]

2021-11-30_08-54-51

We are using the latest cluster_bundle.conf as command definition.

@aheinhold
Copy link

Hallo @LordHepipud
Is it possible to add the support of threshold values in percent for this check?

@aheinhold
Copy link

Hi, i tested the PR and it works. We can now set %-thresholds.

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