Commit | Line | Data |
---|---|---|
1 | { | |
2 | delete msg | |
3 | msg_parse(msg, $0) | |
4 | } | |
5 | ||
6 | msg["module"] == "khatus_sensor_devices" && \ | |
7 | msg["type"] == "data" \ | |
8 | { | |
9 | msg_out_alert_low( \ | |
10 | "BlockDeviceEvent", | |
11 | msg["key"] " " msg["val"] " on " msg["node"]\ | |
12 | ) | |
13 | } |