Executing a customized monitoring program

The monitor function can execute a customized monitoring utility to perform an additional WebSphere MQ Queue Manager server state check.

The monitor function executes the utility specified in the MonitorProgram attribute if the following conditions are satisfied:

The monitor function interprets the utility exit code as follows:

110 or 0

WebSphere MQ Queue Manager server instance is online

100 or 1

WebSphere MQ Queue Manager server instance is offline

99

WebSphere MQ Queue Manager server instance is unknown

Any other value

WebSphere MQ Queue Manager server instance is unknown

To ensure that the customized utility is always available to the agent, Symantec recommends storing the file in a shared directory that is available on an online node.