Displaying 1 result from an estimated 1 matches for "_phases".
Did you mean:
phases
2014 Aug 30
1
snmp-ups and constants in snmp_info_t snmp2nut tables
...o add support for my unit, which is a 3-phase UPS.
I can't find any oids that holds that data so I can determine that, so I
think I need to add it statically.
I've tried the following, (nut-2.7.2)
...
{ "input.phases", 0, 1.0, NULL, "3", SU_FLAG_SETINT, NULL, &input_phases },
...
That ends up as (snmp-ups -a foo -DDDD)
...
0.177686 getting data: input.phases ((null))
0.177690 su_ups_get: input.phases (null)
...
How do I add a constant value to {input|output|bypass}_phases ?
//Erik