CMON_FAIL_ACTION

This parameter is used only when the CMON configuration parameter is set to 1 (the recommended setting), and when the CMON thread that monitors the health of the Adaptive Server fails to start. See “[CONFIG]” for details about the CMON parameter.

NoteCMON_FAIL_ACTION is not specific to only mutually-aware OpenSwitch servers; it applies to all OpenSwitch servers with CMON set to 1.

Actions and reason codes

Use:

NoteOpenSwitch currently supports only the DEFAULT action for CMON_FAIL_ACTION.

See “User-specified actions” for additional details about these actions.

Exit codes for custom and manual scripts

Use an exit code of 0 (zero). For CMON_FAIL_ACTION, the exit code only provides a way to notify the administrator how the script ran. Regardless of the exit code you provide, CMON_FAIL_ACTION performs the DEFAULT action after the script executes.