#include <netinet/in.h>
#include <ucd-snmp/ucd-snmp-config.h>
#include <ucd-snmp/ucd-snmp-includes.h>
#include <ucd-snmp/ucd-snmp-agent-includes.h>
#include "RMThresholdControl.h"
#include <string.h>
#include <ucd-snmp/util_funcs.h>
#include "utility.h"
#include "rmClient.h"
Go to the source code of this file.
Defines | |
#define | THRESHOLDCONTROLNEXTINDEX 1 |
#define | THRESHOLDTOLERANCEVALUELOW 5 |
#define | THRESHOLDTOLERANCEVALUEHIGH 6 |
#define | THRESHOLDSAMPLETIMES 7 |
#define | THRESHOLDLOGRATE 8 |
#define | THRESHOLDCONTROLREFCOUNT 9 |
#define | THRESHOLDCONTROLSTATUS 10 |
Functions | |
void | init_RMThresholdControl (void) |
unsigned char * | var_RMThresholdControl (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
unsigned char * | var_ThresholdControlTable (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
int | write_thresholdToleranceValueLow (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_thresholdToleranceValueHigh (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_thresholdSampleTimes (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_thresholdLogRate (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
int | write_thresholdControlStatus (int action, u_char *var_val, u_char var_val_type, size_t var_val_len, u_char *statP, oid *name, size_t name_len) |
Variables | |
oid | RMThresholdControl_variables_oid [] = { 1,3,6,1,4,1,343,2,15,1,2,3,2 } |
variable4 | RMThresholdControl_variables [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 83 of file RMThresholdControl.c. References RMThresholdControl_variables, and RMThresholdControl_variables_oid. Referenced by main. |
|
Definition at line 108 of file RMThresholdControl.c. References getNewId, and THRESHOLDCONTROL. |
|
|
Definition at line 624 of file RMThresholdControl.c. References ACTIVE, CREATEANDGO, CREATEANDWAIT, deleteEntry, DESTROY, getInteger32, header_writeGeneric, newEntry, NOTINSERVICE, NOTREADY, RMThresholdControl_variables_oid, setInteger32, THRESHOLDCONTROL, and THRESHOLDCONTROL_STATUS. Referenced by var_ThresholdControlTable. |
|
Definition at line 536 of file RMThresholdControl.c. References getUnsigned, header_writeGeneric, RMThresholdControl_variables_oid, setUnsigned, THRESHOLDCONTROL, and THRESHOLDCONTROL_LOGRATE. Referenced by var_ThresholdControlTable. |
|
Definition at line 448 of file RMThresholdControl.c. References getUnsigned, header_writeGeneric, RMThresholdControl_variables_oid, setUnsigned, THRESHOLDCONTROL, and THRESHOLDCONTROL_SAMPLETIME. Referenced by var_ThresholdControlTable. |
|
Definition at line 357 of file RMThresholdControl.c. References getUnsigned64, header_writeGeneric, RMThresholdControl_variables_oid, setHigh32, setUnsigned64, THRESHOLDCONTROL, and THRESHOLDCONTROL_TOLERANCE64. Referenced by var_ThresholdControlTable. |
|
Definition at line 269 of file RMThresholdControl.c. References getUnsigned, header_writeGeneric, RMThresholdControl_variables_oid, setUnsigned, THRESHOLDCONTROL, and THRESHOLDCONTROL_TOLERANCE32. Referenced by var_ThresholdControlTable. |
|
Initial value: { #define THRESHOLDCONTROLNEXTINDEX { THRESHOLDCONTROLNEXTINDEX, ASN_UNSIGNED , RONLY , var_RMThresholdControl, 1, { 1 } }, #define THRESHOLDTOLERANCEVALUELOW { THRESHOLDTOLERANCEVALUELOW, ASN_UNSIGNED , RWRITE, var_ThresholdControlTable, 3, { 2,1,2 } }, #define THRESHOLDTOLERANCEVALUEHIGH { THRESHOLDTOLERANCEVALUEHIGH, ASN_UNSIGNED , RWRITE, var_ThresholdControlTable, 3, { 2,1,3 } }, #define THRESHOLDSAMPLETIMES { THRESHOLDSAMPLETIMES, ASN_UNSIGNED , RWRITE, var_ThresholdControlTable, 3, { 2,1,4 } }, #define THRESHOLDLOGRATE { THRESHOLDLOGRATE , ASN_TIMETICKS , RWRITE, var_ThresholdControlTable, 3, { 2,1,5 } }, #define THRESHOLDCONTROLREFCOUNT { THRESHOLDCONTROLREFCOUNT, ASN_INTEGER , RONLY , var_ThresholdControlTable, 3, { 2,1,6 } }, #define THRESHOLDCONTROLSTATUS { THRESHOLDCONTROLSTATUS, ASN_INTEGER , RWRITE, var_ThresholdControlTable, 3, { 2,1,7 } }, } Definition at line 57 of file RMThresholdControl.c. Referenced by init_RMThresholdControl. |
|
Definition at line 47 of file RMThresholdControl.c. Referenced by init_RMThresholdControl, write_thresholdControlStatus, write_thresholdLogRate, write_thresholdSampleTimes, write_thresholdToleranceValueHigh, and write_thresholdToleranceValueLow. |