No performance graphs

Here’s the translation:

Hello everyone, Can anyone explain to me why the check ‘Invoke-IcingaCheckUsedPartitionSpace’ in my Icinga Web is not showing any performance graphs? All other checks are working fine. The whisper *.wsp files are being created. Via the Graphite browser I can see the diagrams.

Where can I start troubleshooting?

Thank you very much for your help

Stefan

Hello

Thank you for your message. Could you please share the output of the plugin call on the PowerShell itself and a screenshot of the performance data panel of Icinga Web?

Hello ,

Here is the output of the Powershell command.

C:\Users\administrator.XXX> Invoke-IcingaCheckUsedPartitionSpace -v2
[INFO] Free Partition Space: 4 Ok
| volumed73ef062a44745ebbea5536c03a7c9b4::ifw_partitionspace::free=506253300B;;;0;523239400 volumee21c222166f3459fb946195b633b19d1::ifw_partitionspace::free=69873660B;;;0;103809000 c::ifw_partitionspace::free=62577990000B;;;0;135719300000 d::ifw_partitionspace::free=108598100000B;;;0;5498103000000

and the screenshot

Thank You

Kind regards

Stefan

Is process performance data activated for this service?

Yes, i think so

IcingaCheckUsedPartitionSpace_Switchparameter_NoPerfData false

here the hole command

'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' '-NoProfile' '-NoLogo' '-ExecutionPolicy' 'ByPass' '-C' 'try { Use-Icinga -Minimal; } catch { Write-Output '\''The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check https://icinga.com/docs/windows for further details'\''; Write-Output '\''Error:'\'' $($_.Exception.Message)Components:`r`n$( Get-Module -ListAvailable '\''icinga-powershell-*'\'' )`r`n'\''Module-Path:'\''`r`n$($Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command '\''Invoke-IcingaCheckUsedPartitionSpace'\'' ' '-Warning' '90%' '-Critical' '95%' '-Include' '@()' '-Exclude' '@()' '-Verbosity' '2' '-CheckUsedSpace' '-NoPerfData'

Thx Stefan

Not on the check plugin but on the icinga2 service that calls the check.

If you use IcingaDB, you should see enable_perfdata true in the source tab of the service in icingaweb2.

Do you mean this one?

zones.d/director-global/service_templates.conf

template Service “Invoke-IcingaCheckUsedPartitionSpace” {
check_command = “Invoke-IcingaCheckUsedPartitionSpace”
max_check_attempts = “3”
check_period = “24/7”
check_interval = 5m
retry_interval = 30s
enable_notifications = true
enable_active_checks = true
enable_event_handler = true
enable_perfdata = true
command_endpoint = host_name
vars.IcingaCheckCPU_Object_Critical = “90”
vars.IcingaCheckCPU_Object_Warning = “80”
vars.IcingaCheckCPU_Switchparameter_OverallOnly = true
vars.IcingaCheckCPU_Switchparameter_OverallTotalAsSum = false
vars.IcingaCheckUsedPartitionSpace_Array_Exclude = [ “‘`\\?’” ]
vars.IcingaCheckUsedPartitionSpace_Int32_Verbosity = “2”
vars.IcingaCheckUsedPartitionSpace_Object_Critical = “95%”
vars.IcingaCheckUsedPartitionSpace_Object_Warning = “90%”
vars.IcingaPowerShellBase_String_ExecutionPolicy = “RemoteSigned”
}

Now the question is, how you write into a time series DB and how you get the graph into the icingaweb2 page of the service.

Strangely enough, I see the digagrams in the “graphite composer”.

Thank you for your effort

Stefan