5f3f3b1e58c0b602b98fcd7932927d8a95ed5261
4 FS = msg_fs ? msg_fs
: "|"
5 OFS = msg_fs ? msg_fs
: "|"
6 Kfs = key_fs ? key_fs
: ":"
11 # Not just using $6 for body - because body might contain a character
14 len_head =
length($
1 FS $
2 FS)
15 len_body = len_line
- len_head
16 body =
substr($
0, len_head
+ 1, len_body
)
17 alert
("hi", "Error_in_" src
, body
)
20 function alert
(priority
, subject
, body
) {
21 # priority : "low" | "med" | "hi"
24 print("OK", "khatus_monitor_errors", "alert", priority
, subject
, body
)
This page took 0.07868 seconds and 4 git commands to generate.