Skip to content

puppi does not differentiate between ERROR and WARNING regarding exit-codes #59

@k9ert

Description

@k9ert

It seems that puppi returns 0 for OK and 1 for WARNING AND ERROR.

Didn't thought about that sideeffect at this commit:
https://github.com/hybris/puppi/commit/a6aeb58172be2575ca58c88720a7d8a98fb1a129

However, wouldn't it be a good idea that puppi returns 2 for ERROR? That would be the "nagios-convention" and would solve my issue that i have now: The autorun returns as successfull but is error because of my above change.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions