function track_method.cfgvalue(self, s)
local tracked = self.map:get(s, "track_ip")
if tracked then
- return self.map:get(s, "track_method") or "—"
+ return self.map:get(s, "track_method") or "ping"
else
return "—"
end
function reliability.cfgvalue(self, s)
local tracked = self.map:get(s, "track_ip")
if tracked then
- return self.map:get(s, "reliability") or "—"
+ return self.map:get(s, "reliability") or "1"
else
return "—"
end
if intervalValue then
return intervalValue .. "s"
else
- return "—"
+ return "5s"
end
else
return "—"
function down.cfgvalue(self, s)
local tracked = self.map:get(s, "track_ip")
if tracked then
- return self.map:get(s, "down") or "—"
+ return self.map:get(s, "down") or "3"
else
return "—"
end
function up.cfgvalue(self, s)
local tracked = self.map:get(s, "track_ip")
if tracked then
- return self.map:get(s, "up") or "—"
+ return self.map:get(s, "up") or "3"
else
return "—"
end