Displaying 2 results from an estimated 2 matches for "su_input_1".
2014 Aug 11
0
Meaning of Battery Resting/PW-MIBs
...ing to increase life time.
3rd: Because the fan is turned off, the ambient temperature rises to 61
?C an decreases lifetime:-)
I had to do some changes in the mibs to get all relevant data:
{ "input.voltage", 0, 1.0, PW_OID_IN_VOLTAGE ".1", "",
SU_INPUT_1, NULL },
{ "input.current", 0, 0.1, PW_OID_IN_CURRENT ".1", "",
SU_INPUT_1, NULL },
Must get ".1" there, as it is in output.voltage/current. (The input
current isn't returned, but I think it should be right with .1 there...)
TestB...
2015 Mar 26
2
New snmp-ups subdriver for Huawei
...r NULL
+ * dfl: default value
+ * flags: snmp-ups internal flags (FIXME: ...)
+ * oid2info: lookup table between OID and NUT values
+ * setvar: variable to set for SU_FLAG_SETINT
+ *
+ * Example:
+ * { "input.voltage", 0, 0.1, ".1.3.6.1.4.1.705.1.6.2.1.2.1", "", SU_INPUT_1, NULL },
+ * { "ups.status", ST_FLAG_STRING, SU_INFOSIZE, ".1.3.6.1.4.1.705.1.7.3.0", "", SU_FLAG_OK | SU_STATUS_BATT, onbatt_info },
+ *
+ * To create a value lookup structure (as needed on the 2nd line), use the
+ * following kind of declaration, outside of the p...