Imported Upstream version 2.7.4
This commit is contained in:
parent
fd413a3168
commit
c9cb2187ee
290 changed files with 7473 additions and 2607 deletions
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "raritan-pdu-mib.h"
|
||||
|
||||
#define RARITAN_MIB_VERSION "0.4"
|
||||
#define RARITAN_MIB_VERSION "0.5"
|
||||
|
||||
/* Raritan MIB
|
||||
* this one uses the same MIB as Eaton Revelation,
|
||||
|
|
@ -57,6 +57,8 @@ static snmp_info_t raritan_mib[] = {
|
|||
SU_FLAG_STATIC | SU_FLAG_OK, NULL, NULL },
|
||||
{ "device.type", ST_FLAG_STRING, SU_INFOSIZE, NULL, "pdu",
|
||||
SU_FLAG_STATIC | SU_FLAG_ABSENT | SU_FLAG_OK, NULL, NULL },
|
||||
{ "device.macaddr", ST_FLAG_STRING, SU_INFOSIZE, ".1.3.6.1.4.1.13742.1.1.6.0", "",
|
||||
SU_FLAG_STATIC | SU_FLAG_OK, NULL, NULL },
|
||||
|
||||
/* UPS page */
|
||||
{ "ups.mfr", ST_FLAG_STRING, SU_INFOSIZE, NULL, "Raritan",
|
||||
|
|
@ -71,8 +73,6 @@ static snmp_info_t raritan_mib[] = {
|
|||
SU_FLAG_STATIC | SU_FLAG_OK, NULL },
|
||||
{ "ups.type", ST_FLAG_STRING, SU_INFOSIZE, NULL, "pdu",
|
||||
SU_FLAG_STATIC | SU_FLAG_ABSENT | SU_FLAG_OK, NULL, NULL },
|
||||
{ "ups.macaddr", ST_FLAG_STRING, SU_INFOSIZE, ".1.3.6.1.4.1.13742.1.1.6.0", "",
|
||||
SU_FLAG_STATIC | SU_FLAG_OK, NULL, NULL },
|
||||
{ "ups.temperature", 0, 1, ".1.3.6.1.4.1.13742.1.3.1.5.0", NULL, 0, NULL, NULL },
|
||||
|
||||
/* Outlet page */
|
||||
|
|
@ -121,4 +121,4 @@ static snmp_info_t raritan_mib[] = {
|
|||
{ NULL, 0, 0, NULL, NULL, 0, NULL, NULL }
|
||||
};
|
||||
|
||||
mib2nut_info_t raritan = { "raritan", RARITAN_MIB_VERSION, "", RARITAN_OID_MODEL_NAME, raritan_mib, RARITAN_SYSOID };
|
||||
mib2nut_info_t raritan = { "raritan", RARITAN_MIB_VERSION, NULL, RARITAN_OID_MODEL_NAME, raritan_mib, RARITAN_SYSOID };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue