Displaying 2 results from an estimated 2 matches for "su_type_int".
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 ;)
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