Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: ragulkumar on November 02, 2017, 10:27:13 AM

Title: Customized Alarm Condition
Post by: ragulkumar on November 02, 2017, 10:27:13 AM
Hi,

I want to create customized alarm condition for the UCS DB timeout error. Usually for creating the application level alarm condition, i will find the log event id in the lms file which is available in the deployment folder.
But for the UCS DB, when the timeout error arise, i need to create alarm.

Error in the ORS log below:

[i][b]"METRIC <log sid='7P5V990A0T14F9DQJ0F6T9R1M0002BPE' expr='Data Fetched:{"errorType":"timeout","errorMsg":"The query timed out:  null"}"[/b][/i]

We need to handle in composer itself? I have no idea how to handle this. Please guide me.


Thanks in advance,
Ragulkumar

Title: Re: Customized Alarm Condition
Post by: Kubig on November 02, 2017, 11:54:15 AM
You can achieve that in two ways:

[list type=decimal]
[li]Via UCS's LMS file[/li]
[li]Within Composer script where you can catch the exception and handle it as a custom alarm[/li]
[/list]