Displaying 5 results from an estimated 5 matches for "su_flag_ok".
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 ;)
2015 Mar 26
2
New snmp-ups subdriver for Huawei
...es
+ * 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 present snmp_info_t[]:
+ * static info_lkp_t onbatt_info[] = {
+ * { 1, "OB" },
+ * { 2, "OL" },
+ * { 0,...
2007 Aug 09
2
Powerware 9155 with SNMP card
Hi,
I got a shiny pair of new PowerWare 9155 UPS (3 input phaes, one output
phase), running parallel. Since I didn't want to install a Windows box
to run Powerwares software I now went nut(s) ;-)
So far things look pretty good, snmp-ups talks to both ups using the pw
mib. Though I get these messages, when I start the driver:
[ups2] nut_snmp_get: 1.3.6.1.4.1.534.1.4.4.1.3: Error in packet:
2007 Aug 09
2
Powerware 9155 with SNMP card
Hi,
I got a shiny pair of new PowerWare 9155 UPS (3 input phaes, one output
phase), running parallel. Since I didn't want to install a Windows box
to run Powerwares software I now went nut(s) ;-)
So far things look pretty good, snmp-ups talks to both ups using the pw
mib. Though I get these messages, when I start the driver:
[ups2] nut_snmp_get: 1.3.6.1.4.1.534.1.4.4.1.3: Error in packet:
2023 Mar 30
1
Issue with On Line Status (APC MGE Galaxy 5500 + AP9635CH)
Well thanks,
The solution for my problem was kinda easy (still need some testing
though): found out my ups status is a string, so then I changed the way
snmp-ups.c gets the status.
Had to change *nut_snmp_get_int *to *nut_snmp_get_str *at around line 3470,
then grab fourth char out, use *strtol *function to then send it to
*su_status_set
*function.
I created my copy of *apc-mib.c *with my OID at