check_multi and exit status


With the state definition I can just “upgrade” a state, i.e. from ok to warning and from warning to critical.
It seems I can not use a

to set a state to OK after it got a critical from a previous state definition or from check_multi itself?

I want check_multi giving me OK when it could just execute the check_multi file. If any plug in failed (critical or warning), the status should not be shown. When I use a state definition on the end of the check_multi config file, the status is not changed to OK but remains CRITICAL.

Any help welcome


partially solved.
I can avoid a status critical now with the state definition.
I need to check, if there are errors (syntax errors) within the config file resp. if the config file is missing. This two cases should trigger a critical otherwise OK.