Skip to content

Performance Counter ThresholdInterval Problems #336

@GreyKestrel

Description

@GreyKestrel

Expected Behavior

After registering a PerformanceCounter, a query is to be executed in which the average value of two minutes is to be determined and outputted.

Current Behavior

After running the check in the Powershell console we only get an Unknown with a supposed error where the previously defined Average value is not defined.
See screenshot.

image

Registration command:
Register-IcingaServiceCheck -CheckCommand Invoke-IcingaCheckPerfCounter -Arguments @{ '-PerfCounter' = '\FileMaker Server 18\Cache Hit %'; } -TimeIndexes 1, 2, 3, 5 -Interval 30;

image

Without the parameter ThresholdInterval we get an actual result

Your Environment

  • PowerShell Version 4
    Tested with Icinga Powershell Framework 1.50, 1.51, 1.52 und 1.60
  • Operating System Windows Server 2012 R2

Metadata

Metadata

Assignees

Labels

FeedbackThe project is waiting for feedback of the issue creator / users

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions