search for: mib2nut

Displaying 15 results from an estimated 15 matches for "mib2nut".

Did you mean: hid2nut
2014 Feb 25
3
Arch Linux and Tripp Lite web snmp card issues.
2014-02-25 12:58 GMT+01:00 Charles Lepple <clepple at gmail.com>: > On Feb 24, 2014, at 11:48 PM, Jason R Begley wrote: > > > 0.073855 load_mib2nut: trying classic method with 'delta_ups' mib > > 0.073878 Entering nut_snmp_get_str() > > 0.073899 nut_snmp_get((null)) > > 0.073918 nut_snmp_walk((null)) > > Arnaud, > > The gen-snmp-subdriver.sh script is setting mib2nut[i]->oid_auto_check...
2011 Sep 21
1
PDU support for DigiPower and Aviosys devices
Hi, I'm thinking about adding support for PDU (Power Distribution Unit) devices from Digipower [1] and Aviosys [2] to NUT via the SNMP interface. The specific devices I have in mind are the following: Digipower AMz-1623/SW-08-1 Aviosys IP Power 925x (both are 8-port PDUs which are SNMP capable via an ethernet interface) Does anybody have other DigiPower or Aviosys devices and if so
2014 Feb 26
0
Arch Linux and Tripp Lite web snmp card issues.
...ve produced at least a bit more Hi Arnaud, I may not have been specific enough in my description. The crash that Jason saw is with the version of snmp-ups that is currently in Git - including the new 'xppc' MIB, but the NULL pointer in question is also in 'delta_ups'. Given that mib2nut[i]->oid_auto_check is only used for the "classic" OID check, I think we can just add a special case to check for NULL, and continue the loop if oid_auto_check has not been provided. > @Jason: how have you called the script? > could you please also send an archive including: >...
2014 Feb 25
0
Arch Linux and Tripp Lite web snmp card issues.
On Feb 24, 2014, at 11:48 PM, Jason R Begley wrote: > 0.073855 load_mib2nut: trying classic method with 'delta_ups' mib > 0.073878 Entering nut_snmp_get_str() > 0.073899 nut_snmp_get((null)) > 0.073918 nut_snmp_walk((null)) Arnaud, The gen-snmp-subdriver.sh script is setting mib2nut[i]->oid_auto_check to NULL for new drivers (with no...
2011 Oct 07
1
Dynamic HID driver mappings, Tripplite-hid.c
I think I'm going to have the slightly rejigger the tripplite-hid.c driver to 'properly' support all of the data I know about it's outlets. A given UPS may have 'n' output loads. I could have 5, I could have 10, I won't know until I actually ask the UPS. But in order to use the hid to nut struct, I'm actually going to have to modify that struct dynamically, or
2014 Feb 25
2
Arch Linux and Tripp Lite web snmp card issues.
...y "/usr/share/snmp/mibs/tripplite-mib.txt-mib.h" and "/usr/share/snmp/mibs/tripplite-mib.txt-mib.c" to "../../drivers" * add #include "/usr/share/snmp/mibs/tripplite-mib.txt-mib.h" to snmp-ups.c * add &/usr/share/snmp/mibs/tripplite-mib.txt to snmp-ups.c:mib2nut[] list, * add /usr/share/snmp/mibs/tripplite-mib.txt-mib.c to snmp_ups_SOURCES in drivers/Makefile.am * add /usr/share/snmp/mibs/tripplite-mib.txt-mib.h to dist_noinst_HEADERS in drivers/Makefile.am * "./autogen.sh && ./configure && make" from the top level directory &...
2012 Oct 16
2
NUT v2.6.4 with HP AF401A won't start
...t 0 ip 000000354707a98c sp 00007fff11f2a8b8 error 4 in libc-2.12.so<http://libc-2.12.so>[3547000000+189000] Debug output attached. I've downloaded the latest mib file (v1.64) from HP's website but I can't find any way to add it to the source files. I've seen references to the mib2nut mapping but, again, no help on how to achieve this. Thanks, Chris Pratt Development Infrastructure Manager Comptel Corporation 69 Suttons Business Park, Sutton Park Avenue, Reading, RG6 1AZ, UK T: +44 118 929 4176 | M: +44 7979 854 307 | F: +44 118 929 4001 Chris.Pratt at comptel.com<mailto:...
2014 Feb 10
0
Tripplite UPS (SU10KRT3/1X) through snmp-ups (nut 2.6.5)
...> Do not forget to: > * bump DRIVER_VERSION in snmp-ups.c (add "0.01") > * copy "netcard.mib-mib.h" and "netcard.mib-mib.c" to "../../drivers" > * add #include "netcard.mib-mib.h" to snmp-ups.c > * add &netcard.mib to snmp-ups.c:mib2nut[] list, > * add netcard.mib-mib.c to snmp_ups_SOURCES in drivers/Makefile.am > * add netcard.mib-mib.h to dist_noinst_HEADERS in drivers/Makefile.am > * copy netcard.mib-mib.c and netcard.mib-mib.h to ../drivers/ > * "autoreconf && configure && make" from the t...
2014 Feb 07
3
Tripplite UPS (SU10KRT3/1X) through snmp-ups (nut 2.6.5)
...6526 match_sysoid: comparing .1.3.6.1.4.1.935 with .1.3.6.1.2.1.33 0.026529 No matching MIB found for sysOID '.1.3.6.1.4.1.935'! Please report it to NUT developers, with an 'upsc' output for your device. Going back to the classic MIB detection method. 0.026534 load_mib2nut: trying classic method with 'apcc' mib 0.029602 load_mib2nut: trying classic method with 'mge' mib 0.032539 load_mib2nut: trying classic method with 'netvision' mib 0.035569 load_mib2nut: trying classic method with 'pw' mib 0.038493 load_m...
2014 Feb 26
2
Arch Linux and Tripp Lite web snmp card issues.
...aud, > > I may not have been specific enough in my description. > > The crash that Jason saw is with the version of snmp-ups that is > currently in Git - including the new 'xppc' MIB, but the NULL pointer > in question is also in 'delta_ups'. > > Given that mib2nut[i]->oid_auto_check is only used for the "classic" > OID check, I think we can just add a special case to check for NULL, > and continue the loop if oid_auto_check has not been provided. > >> @Jason: how have you called the script? >> could you please also send an...
2014 Feb 25
0
Arch Linux and Tripp Lite web snmp card issues.
On Feb 24, 2014, at 10:29 PM, Jason R Begley wrote: > Thanks for the quick response Charles! I may not have gotten the correct output from the snmpwalk, let me know if the attachment is usable. Thanks! Sorry, it's basically all comments. Do you have the stdout from the subdriver script? Also, how is the MIB file installed? > New data added, here is the gdb output: > Reading
2014 Feb 12
3
Tripplite UPS (SU10KRT3/1X) through snmp-ups (nut 2.6.5)
...; > Do not forget to: > * bump DRIVER_VERSION in snmp-ups.c (add "0.01") > * copy "netcard.mib-mib.h" and "netcard.mib-mib.c" to "../../drivers" > * add #include "netcard.mib-mib.h" to snmp-ups.c > * add &netcard.mib to snmp-ups.c:mib2nut[] list, > * add netcard.mib-mib.c to snmp_ups_SOURCES in drivers/Makefile.am > * add netcard.mib-mib.h to dist_noinst_HEADERS in drivers/Makefile.am > * copy netcard.mib-mib.c and netcard.mib-mib.h to ../drivers/ > * "autoreconf && configure && make" from the t...
2014 Feb 25
2
Arch Linux and Tripp Lite web snmp card issues.
.... Network UPS Tools - Generic SNMP UPS driver 0.71 (2.7.1-signed-54-g348cd84) 0.000000 debug level is '2' 0.002156 SNMP UPS driver : entering upsdrv_initups() 0.002169 SNMP UPS driver : entering nut_snmp_init(snmp-ups) 0.025430 SNMP UPS driver : entering load_mib2nut(auto) 0.025464 trying the new match_sysoid() method 0.028413 match_sysoid: device sysOID value = .1.3.6.1.4.1.850.1 0.028449 match_sysoid: checking MIB apcc 0.028474 match_sysoid: checking MIB mge 0.028497 match_sysoid: comparing .1.3.6.1.4.1.850.1 with .1.3...
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
2015 Mar 26
2
New snmp-ups subdriver for Huawei
...quot;, 0, 1, ".1.3.6.1.4.1.2011.6.174.1.6.100.1.4.1", NULL, SU_FLAG_OK, NULL }, + + + /* { "unmapped.hwUpsBattTest", 0, 1, ".1.3.6.1.4.1.2011.6.174.1.103.101.1.6.1", NULL, SU_FLAG_OK, NULL }, */ + + + /* end of structure. */ + { NULL, 0, 0, NULL, NULL, 0, NULL } +}; + +mib2nut_info_t huawei = { "huawei", HUAWEI_MIB_VERSION, NULL, NULL, huawei_mib, HUAWEI_SYSOID }; diff --git a/drivers/huawei-mib.h b/drivers/huawei-mib.h new file mode 100644 index 0000000..326a71e --- /dev/null +++ b/drivers/huawei-mib.h @@ -0,0 +1,9 @@ +#ifndef HUAWEI_MIB_H +#define HUAWEI_MIB_...