Imported Upstream version 2.7.1

This commit is contained in:
Laurent Bigonville 2013-11-24 16:00:12 +01:00
parent a1fa151fc7
commit 0121794af9
451 changed files with 41339 additions and 10887 deletions

View file

@ -200,6 +200,11 @@ typedef struct {
#define SU_ERR_LIMIT 10 /* start limiting after this many errors in a row */
#define SU_ERR_RATE 100 /* only print every nth error once limiting starts */
typedef struct {
const char * OID;
const char *info_value;
} alarms_info_t;
typedef struct {
const char *mib_name;
const char *mib_version;
@ -208,7 +213,7 @@ typedef struct {
snmp_info_t *snmp_info; /* pointer to the good Snmp2Nut lookup data */
const char *sysOID; /* OID to match against sysOID, aka MIB
* main entry point */
alarms_info_t *alarms_info;
} mib2nut_info_t;
/* Common SNMP functions */