From ec09c064d0ca9b6b55dbf8dba580d2cd00beb5f5 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Thu, 23 Jul 2020 21:19:45 -0400 Subject: [PATCH] If SENSOR_CHECKIN_INTERVAL_MS is still not set when using in a template, fallback to 10s --- salt/pcap/files/sensoroni.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/pcap/files/sensoroni.json b/salt/pcap/files/sensoroni.json index e379d5003..ab99c175c 100644 --- a/salt/pcap/files/sensoroni.json +++ b/salt/pcap/files/sensoroni.json @@ -5,7 +5,7 @@ "logFilename": "/opt/sensoroni/logs/sensoroni.log", "logLevel":"debug", "agent": { - "pollIntervalMs": {{ CHECKININTERVALMS }}, + "pollIntervalMs": {{ CHECKININTERVALMS if CHECKININTERVALMS else 10000 }}, "serverUrl": "https://{{ MANAGER }}/sensoroniagents", "verifyCert": false, "modules": {