please attach the log file and the logmon.cfg so we can help.
Just saying it does not work without providing details on exactly what you are doing will not allow us to help in any way.
If the example
@Franklin Ravi D'souza provided was not clear please show us what you did exactly and we will try to help.
The basic information provide will do what you are looking to do.
------------------------------
Gene Howard
Principal Support Engineer
Broadcom
------------------------------
Original Message:
Sent: 09-16-2019 12:53 PM
From: Nijin K
Subject: ORA Error
hi
i have tried this already and the alarms created only have message ORA- so please suggest any other watcher rule which could help me the get whole message in the alarms for eg:- if the ora error in the log is ORA-1654 the alarm should display ORA-1654 in the message.
Regards
Nijin
Original Message:
Sent: 09-15-2019 07:55 PM
From: Franklin D'souza
Subject: ORA Error
Hi
You can specify regex to match entire string example below in the Match Expression
/.*ORA.*/
Also in the message to send on match you can type $ to get list of variables from the matched line or put youe own custom message
Original Message:
Sent: 09-15-2019 04:23 PM
From: Nijin K
Subject: ORA Error
hi luc
i have read the docops for logmon i am able to generate alarm for ora errors from log but what i want from logmon is to specify the error code after ora in message of alarm like if ORA-1564 the message should display the whole error code but instead i am onlyable to create message ORA-
need some suggestion to get the whole code in the alarm
regards
nijin
Original Message:
Sent: 09-15-2019 03:52 AM
From: Luc Christiaens
Subject: ORA Error
https://docops.ca.com/ca-unified-infrastructure-management-probes/ga/en/alphabetical-probe-articles/logmon-log-monitoring/logmon-use-case-examples#logmonUseCaseExamples-Monitoralogfileusingregularexpressionandusethematchedstringasthealarmmessage
Original Message:
Sent: 09-14-2019 05:04 PM
From: Nijin K
Subject: ORA Error
Hi
i want to monitor all ora error coming in the oracle error log with the message displaying the error code and the meaning of error displayed in the logs
what watcher should i set in logmon to get the message as required
regards
nijin