Closed Backtrack89 closed 2 years ago
Can you please try the PR #47 and use -AvoidEmptyChecks
? This would mitigate the problem and return Ok for empty packages.
If the check should return information but it doesn't, it is probably a permission problem, similar to #48.
You will either have to use Icinga for Windows JEA Profiles or grant the user the Icinga Agent is running with permissions to access Hyper-V information.
Hello
have you been able to test the linked PR?
I got the issue VM Snapshots: No checks added to this package
[2021-10-27 15:11:50 +0200] information/ExternalCommandListener: Executing external command: [1635340310] SCHEDULE_FORCED_SVC_CHECK;hostname;Invoke-IcingaCheckHyperVSnapshot;1635340310
and
StorageOverCommit: No checks added to this package
information/ExternalCommandListener: Executing external command: [1635340838] SCHEDULE_FORCED_SVC_CHECK;DATHSTHV01;Invoke-IcingaCheckHyperVOverCommitment;1635340838