search for: huawei_mib_h

Displaying 1 result from an estimated 1 matches for "huawei_mib_h".

2015 Mar 26
2
New snmp-ups subdriver for Huawei
...L, 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_H + +#include "main.h" +#include "snmp-ups.h" + +extern mib2nut_info_t huawei; + +#endif /* HUAWEI_MIB_H */ diff --git a/drivers/snmp-ups.c b/drivers/snmp-ups.c index e99615d..5b48f8a 100644 --- a/drivers/snmp-ups.c +++ b/drivers/snmp-ups.c @@ -48,6 +48,7 @@...