On Aug 30, 2014, at 6:40 AM, Erik Hedgren <[email protected]> wrote:

> Hi all,
> 
> Trying to 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 },
> ...

You might need SU_FLAG_ABSENT for variables that don't have OIDs. Not sure if 
that just sets the dstate "input.phases" variable, or if it would affect 
input_phases as well.

-- 
Charles Lepple
clepple@gmail




_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

Reply via email to