The logmon probe is deployed at DUxxxxxxxx030 with command: ksh /app/webservices/WAS_startup/WAS_mon.ksh, "Watcher Rules" configured under "Match Expression" keyword “ERROR”. The result trigger is missing if the result contains "_". Please see sample below:
The result from UIM was unexpected: ERROR: APP= cdxxx NOT RUNNING...
# ksh WAS_mon.ksh
ERROR: APP= cdxxx | PI_XXX | PI_ABCD | NOT RUNNING...
Expected result: ERROR: APP= cdxxx | PI_XXX | PI_ABCD | NOT RUNNING...
Release : 20.3
Component : UIM LOGMON
- logmon configuration
- command output format
Try this simple regex for the Watcher, this worked when tested:
*ERROR*
If the output of the command is not being processed correctly it may be due to the format of the result. In that case, you can use logmon with this text black approach:
logmon - run command and generate one alarm that contains all output