Developing lightweight computation at the DSG edge

Commit 19346a77 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[monitor-*] Set loops interval to 150 s



The devices are to be monitored twice every 5 min. Checking
everything every 5 or 30 seconds is overkill for AntidoteDB (it was
inherited from the assign-view demo): loops interval to 150 s are OK.
Signed-off-by: Roger Pueyo Centelles's avatarRoger Pueyo Centelles <rpueyo@ac.upc.edu>
parent 330cbcd5
......@@ -74,16 +74,16 @@ var minMonsHelp = "Minimum number of monitors to assign to each device"
var maxDevs = 1000
var maxDevsHelp = "Maximum number of devices to monitor"
var devsCheckInterval = 5 //60
var devsCheckInterval = 150
var devsCheckIntervalHelp = "Interval (in seconds) in which to check for changes in the devices list"
var fillingTime = 30 //60
var fillingTime = 150
var fillingTimeHelp = "Interval (in seconds) for filling the local assignation list"
var reassignInterval = 5 //60
var reassignInterval = 150
var reassignIntervalHelp = "Interval (in seconds) in which to update the local devices assignation list"
var globalAssignCheckInterval = 5 //60
var globalAssignCheckInterval = 150
var globalAssignCheckIntervalHelp = "Interval (in seconds) in which to check for changes in the global devices assignation list"
// Global data structures
......
......@@ -47,10 +47,10 @@ var idNum int
var ID = "0"
var idHelp = "Numeric ID of this monitoring instance"
var localAssignCheckInterval = 5 //60
var localAssignCheckInterval = 150
var localAssignCheckIntervalHelp = "Interval (in seconds) in which to check for changes in the local devices assignation list"
var pingCheckInterval = 60 //300
var pingCheckInterval = 150
var pingCheckIntervalHelp = "Interval (in seconds) in which to perform the ping checks to the devices"
var pingCount = 5 //Number of pings to perform
......
......@@ -54,10 +54,10 @@ var idNum int
var ID = "0"
var idHelp = "Numeric ID of this monitoring instance"
var localAssignCheckInterval = 5 //60
var localAssignCheckInterval = 150
var localAssignCheckIntervalHelp = "Interval (in seconds) in which to check for changes in the local devices assignation list"
var snmpQueryInterval = 60 //300
var snmpQueryInterval = 150
var snmpQueryIntervalHelp = "Interval (in seconds) in which to perform the SNMP queries to the devices"
// Global data structures
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment