search for: su_flag_absent

Displaying 3 results from an estimated 3 matches for "su_flag_absent".

Did you mean: hu_flag_absent
2015 Mar 26
2
New snmp-ups subdriver for Huawei
...d of declaration, outside of the present snmp_info_t[]: + * static info_lkp_t onbatt_info[] = { + * { 1, "OB" }, + * { 2, "OL" }, + * { 0, "NULL" } + * }; + */ + + /* UPS page */ + + { "ups.mfr", ST_FLAG_STRING, SU_INFOSIZE, NULL, "Huawei", SU_FLAG_ABSENT | SU_FLAG_OK, NULL }, + { "ups.model", ST_FLAG_STRING, SU_INFOSIZE, ".1.3.6.1.4.1.2011.6.174.1.2.100.1.2.1", "Generic SNMP UPS", SU_FLAG_STATIC | SU_FLAG_OK, NULL }, + { "ups.id", ST_FLAG_STRING, SU_INFOSIZE, ".1.3.6.1.4.1.2011.6.174.1.1.1.2.0", NUL...
2014 Aug 30
1
snmp-ups and constants in snmp_info_t snmp2nut tables
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 }, ... That ends up as (snmp-ups -a foo -DDDD) ... 0.177686 getting
2006 Jan 21
2
snmp-ups hacking
Hi all! I'm wondering if there's anyone doing any hacking on the snmp-ups driver at the moment. I've started looking at implementing 3phase-support, and this uncovered some rather unpleasant stuff in the snmp-ups driver that I really need to fix in order to get things sane. Those of you that's allergic to SNMP might want to stop reading now, this is rather icky ;)