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-IcingaCheckService - Service Exclusion #603

Closed
pakyg opened this issue Jan 5, 2023 · 5 comments · Fixed by #604
Closed

Invoke-IcingaCheckService - Service Exclusion #603

pakyg opened this issue Jan 5, 2023 · 5 comments · Fixed by #604
Assignees
Labels
Bug There is an issue present

Comments

@pakyg
Copy link

pakyg commented Jan 5, 2023

Hello,
through the "-Exclude" parameter I can't exclude all the services that start with the same name.
Example: "Invoke-IcingaCheckService -Exclude 'CDPUserSvc_*' -Status 'Running' -FilterSta
rtupType 'Automatic' -Verbosity 3"

image
How can I exclude n. services by setting the asterisk to take them all?

Thanks,
Greetings

@pakyg pakyg closed this as completed Jan 10, 2023
@LordHepipud
Copy link
Collaborator

Why did you close this issue? As far as I can tell, this is really an issue

@LordHepipud LordHepipud reopened this Jan 14, 2023
@LordHepipud LordHepipud self-assigned this Jan 14, 2023
@LordHepipud LordHepipud added the Bug There is an issue present label Jan 14, 2023
@LordHepipud LordHepipud transferred this issue from Icinga/icinga-powershell-plugins Jan 14, 2023
@drapiti
Copy link

drapiti commented Jan 14, 2023

Hi @LordHepipud, this was accidentally closed because there was a service remediation active which was making it seem as if the services had been excluded but rather they were excluded because they were up and running again not beacuase the filter was working.
Cheers.

@LordHepipud
Copy link
Collaborator

LordHepipud commented Jan 14, 2023

That makes sense. Thanks for the input!
Can you test the linked PR please or the v1.11.0 master? This should now work fine.

@drapiti
Copy link

drapiti commented Jan 14, 2023

That makes sense. Thanks for the input! Can you test the linked PR please or the v1.11.0 master? This should now work fine.

will do.

@drapiti
Copy link

drapiti commented Jan 16, 2023

Hi @LordHepipud I can confirm the fix is working for us.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug There is an issue present
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants