Remove executable permission from AWK source files
[khatus.git] / src / awk / exe / monitor_devices.awk
old mode 100755 (executable)
new mode 100644 (file)
index a37a30c..efb7b79
@@ -1,5 +1,10 @@
-$1 == "OK" && \
-$2 == "khatus_sensor_devices" \
+$2 == "khatus_sensor_devices" && \
+$3 == "data" \
 {
-    alert("low", "BlockDeviceEvent", $3 " " $4)
+    delete msg
+    msg_in_parse(msg, $0)
+    msg_out_alert_low( \
+        "BlockDeviceEvent",
+        msg["key"] " " msg["val"] " on " msg["node"]\
+    )
 }
This page took 0.038252 seconds and 4 git commands to generate.