ups_inst[t] = graph.tree:data_instances( plugin, plugin_instance, t )
end
-
- -- Check if hash table or array is empty or nil-filled
+ -- Check if hash table or array is empty or nil-filled
local function empty( t )
for _, v in pairs(t) do
end
- -- Graph definitions for APC UPS measurements MUST use only 'instances':
- -- e.g. instances = { voltage = { "input", "output" } }
+ -- Graph definitions for APC UPS measurements MUST use only 'instances':
+ -- e.g. instances = { voltage = { "input", "output" } }
local voltagesdc = {
title = "%H: Voltages on APC UPS - Battery",