If SENSOR_CHECKIN_INTERVAL_MS is still not set when using in a template, fallback to 10s

This commit is contained in:
Jason Ertel
2020-07-23 21:19:45 -04:00
parent 39426afffd
commit ec09c064d0

View File

@@ -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": {