Skip to content

Invoke-IcingaCheckUpdates only returns OK as status code #184

@TrailByte

Description

@TrailByte

Hello!

I am using the Invoke-IcingaCheckUpdates and I have noticed that the exit code of the command is every time 0 (no matter if there are pending updates), so icinga shows the service as always ok.

image

As you can see in the image the output of the script is WARNING and the Service status is OK.
Is this how it suppose to work?

Thanks,
Mike

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions