CTT - Escalation
From PlcWiki
(Difference between revisions)
Pavel.kruzik (Talk | contribs) |
Pavel.kruzik (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | === | + | ===Žolíky=== |
+ | |||
+ | Zadáváme přímo do textu v této formě: User login on server '''<%= ctt.record.data.server %>''' was detected. | ||
ctt.interval. | ctt.interval. |
Revision as of 12:09, 16 April 2021
Contents |
Žolíky
Zadáváme přímo do textu v této formě: User login on server <%= ctt.record.data.server %> was detected.
ctt.interval.
id uuid interval_definition_name start_event_id id_id value
ctt.sensor.
sender_id sensor_id sensor_type group_name group_order start_value sensor_name color machine workplace workplace_name line project place data
ctt.record.
id chart_time chart_value unit value_type sender_id sensor_id delivered_time subject_id subject_class_id subject_class_name author data
ctt.definition.
timeout_days, timeout_sensor
ctt.config.server.
appUrl, publicAppUrl, sentEmailURI, sentSmsURI, cleaUrl, cttRecUrl, pathCtt
Příklad
Předmět zprávy:
User login (<%= ctt.record.data.loginName %> from <%= ctt.record.data.hostIp %>) on server <%= ctt.record.data.server %> - request for reason
Tělo zprávy:
User login on server <%= ctt.record.data.server %> was detected. User:\t\t<%= ctt.record.data.loginName %> Source IP:\t<%= ctt.record.data.hostIp %> Login:\t\t<%= Date.parse("yyyy-MM-dd'T'HH:mm:ss.SSS",ctt.record.data.firstSessionLoginTime).format('yyyy-MM-dd HH:mm:ss') %> (<%= Date.parse("yyyy-MM-dd'T'HH:mm:ss.SSSXXX",ctt.record.data.firstSessionLoginTime).format('yyyy-MM-dd HH:mm:ss') %> CET) Logout:\t\t<%= Date.parse("yyyy-MM-dd'T'HH:mm:ss.SSS",ctt.record.data.serverEventTime).format('yyyy-MM-dd HH:mm:ss') %> (<%= Date.parse("yyyy-MM-dd'T'HH:mm:ss.SSSXXX",ctt.record.data.serverEventTime).format('yyyy-MM-dd HH:mm:ss') %> CET) Please, complete the reason on a form here: <%= ctt.config.server.publicAppUrl %>out.html?v=user_logout&id=<%= ctt.interval.uuid %>