Expose STATUS From CHECK PROGRAM To EXEC Program As Parameter / Environment Variable
Issue #330
resolved
Would it be possible (or is it already supported) to expose the STATUS value from a CHECK PROGRAM call as either a command line parameter or an environment variable? This would be useful in order for the program invoked by EXEC on an alert to be able to add the STATUS value as a tag for events, in the case where the STATUS value is not arbitrary.
Comments (2)
-
-
repo owner - changed status to resolved
fixed Issue
#330: Added environment variable MONIT_PROGRAM_STATUS to allow exec actions read the last program status→ <<cset d0f361840192>>
- Log in to comment
I was the original creator of this ticket but hadn't created an account yet.