查看告警:
你好,请注意,最近1小时内语音告警有发送失败记录,失败条数为2,请及时处理--集团企信部计费网管
过程:WANGWENJIE.INFO_YUYIN
半小时跑一次
任务:
select * from tp_time_task where task_id=658
查看监控语句:
----查看具体的发送消息的失败记录
select * from notification_interface a
where a.notify_mode = 4
and a.notify_flag = 0
and a.generate_date >= sysdate - 1 / 24
----查看具体的发送消息的失败记录
select * from staff_contact where staff_id in(
select a.recipient from notification_interface a where a.notification_interface_id between 6959320 and 6959329 and a.notify_mode = 4)
boss1Abc.1234%
select sum(a_cnt)
from (select count(*) a_cnt
from notification_interface t
where t.notification_interface_id not in
(select a.bill_no
from cust_jt_notification_info a
where a.indb_date > sysdate - 1
union all
select a.bill_no
from cust_jt_notification_error a
where a.indb_date > sysdate - 1)
and t.generate_date > sysdate - 3 / 24
and t.notify_mode not in (2, 4)
union all
select count(*) a_cnt
from notification_interface_sh t
where t.notify_id not in
(select a.bill_no
from cust_jt_notification_info a
where a.indb_date > sysdate - 1
union all
select a.bill_no
from cust_jt_notification_error a
where a.indb_date > sysdate - 1)
and t.INDB_DATE > sysdate - 3 / 24);