" /> Customized Alarm Condition - Genesys CTI User Forum

Author Topic: Customized Alarm Condition  (Read 1247 times)

Offline ragulkumar

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
  • Ragul
Customized Alarm Condition
« on: November 02, 2017, 10:27:13 AM »
Advertisement
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


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Customized Alarm Condition
« Reply #1 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]