#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 "RMThresholdConfig.h"
#include <string.h>
#include <ucd-snmp/util_funcs.h>
#include "rmClient.h"
#include "utility.h"
Go to the source code of this file.
Defines | |
#define | THRESHOLDCONFIGNEXTINDEX 1 |
#define | THRESHOLDTYPE 5 |
#define | THRESHOLDTESTCONDITION 6 |
#define | THRESHOLDPRECONDITION 7 |
#define | THRESHOLDEVENTSEVERITY 9 |
#define | THRESHOLDCANCELEVENTSEVERITY 10 |
#define | THRESHOLDVALUELOW 11 |
#define | THRESHOLDVALUEHIGH 12 |
#define | THRESHOLDCONFIGREFCOUNT 13 |
#define | THRESHOLDCONFIGSTATUS 14 |
Functions | |
void | init_RMThresholdConfig (void) |
unsigned char * | var_RMThresholdConfig (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
unsigned char * | var_ThresholdConfigTable (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
int | write_thresholdType (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_thresholdTestCondition (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_thresholdPreCondition (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_thresholdEventSeverity (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_thresholdCancelEventSeverity (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_thresholdValueLow (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_thresholdValueHigh (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_thresholdConfigStatus (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 | RMThresholdConfig_variables_oid [] = { 1,3,6,1,4,1,343,2,15,1,2,2,2 } |
variable4 | RMThresholdConfig_variables [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 90 of file RMThresholdConfig.c. References RMThresholdConfig_variables, and RMThresholdConfig_variables_oid. Referenced by main. |
|
Definition at line 115 of file RMThresholdConfig.c. References getNewId, and THRESHOLDCONFIG. |
|
|
Definition at line 654 of file RMThresholdConfig.c. References getInteger32, header_writeGeneric, RMThresholdConfig_variables_oid, setInteger32, THRESHOLDCONFIG, and THRESHOLDCONFIG_CANCELEVENTSEVERITY. Referenced by var_ThresholdConfigTable. |
|
Definition at line 922 of file RMThresholdConfig.c. References ACTIVE, CREATEANDGO, CREATEANDWAIT, deleteEntry, DESTROY, getInteger32, header_writeGeneric, newEntry, NOTINSERVICE, NOTREADY, RMThresholdConfig_variables_oid, setInteger32, THRESHOLDCONFIG, and THRESHOLDCONFIG_STATUS. Referenced by var_ThresholdConfigTable. |
|
Definition at line 566 of file RMThresholdConfig.c. References getInteger32, header_writeGeneric, RMThresholdConfig_variables_oid, setInteger32, THRESHOLDCONFIG, and THRESHOLDCONFIG_EVENTSEVERITY. Referenced by var_ThresholdConfigTable. |
|
Definition at line 476 of file RMThresholdConfig.c. References getInteger32, header_writeGeneric, RMThresholdConfig_variables_oid, setInteger32, THRESHOLDCONFIG, and THRESHOLDCONFIG_PRECONDITION. Referenced by var_ThresholdConfigTable. |
|
Definition at line 388 of file RMThresholdConfig.c. References getInteger32, header_writeGeneric, RMThresholdConfig_variables_oid, setInteger32, THRESHOLDCONFIG, and THRESHOLDCONFIG_TESTCONDITION. Referenced by var_ThresholdConfigTable. |
|
Definition at line 301 of file RMThresholdConfig.c. References getInteger32, header_writeGeneric, RMThresholdConfig_variables_oid, setInteger32, THRESHOLDCONFIG, and THRESHOLDCONFIG_TYPE. Referenced by var_ThresholdConfigTable. |
|
Definition at line 830 of file RMThresholdConfig.c. References getUnsigned64, header_writeGeneric, RMThresholdConfig_variables_oid, setHigh32, setUnsigned64, THRESHOLDCONFIG, and THRESHOLDCONFIG_VALUE64. Referenced by var_ThresholdConfigTable. |
|
Definition at line 742 of file RMThresholdConfig.c. References getUnsigned, header_writeGeneric, RMThresholdConfig_variables_oid, setUnsigned, THRESHOLDCONFIG, and THRESHOLDCONFIG_VALUE32. Referenced by var_ThresholdConfigTable. |
|
Initial value: { #define THRESHOLDCONFIGNEXTINDEX { THRESHOLDCONFIGNEXTINDEX, ASN_UNSIGNED , RONLY , var_RMThresholdConfig, 1, { 1 } }, #define THRESHOLDTYPE { THRESHOLDTYPE , ASN_INTEGER , RWRITE, var_ThresholdConfigTable, 3, { 2,1,2 } }, #define THRESHOLDTESTCONDITION { THRESHOLDTESTCONDITION, ASN_INTEGER , RWRITE, var_ThresholdConfigTable, 3, { 2,1,3 } }, #define THRESHOLDPRECONDITION { THRESHOLDPRECONDITION, ASN_INTEGER , RWRITE, var_ThresholdConfigTable, 3, { 2,1,4 } }, #define THRESHOLDEVENTSEVERITY { THRESHOLDEVENTSEVERITY, ASN_INTEGER , RWRITE, var_ThresholdConfigTable, 3, { 2,1,5 } }, #define THRESHOLDCANCELEVENTSEVERITY { THRESHOLDCANCELEVENTSEVERITY, ASN_INTEGER , RWRITE, var_ThresholdConfigTable, 3, { 2,1,6 } }, #define THRESHOLDVALUELOW { THRESHOLDVALUELOW , ASN_UNSIGNED , RWRITE, var_ThresholdConfigTable, 3, { 2,1,7 } }, #define THRESHOLDVALUEHIGH { THRESHOLDVALUEHIGH , ASN_UNSIGNED , RWRITE, var_ThresholdConfigTable, 3, { 2,1,8 } }, #define THRESHOLDCONFIGREFCOUNT { THRESHOLDCONFIGREFCOUNT, ASN_INTEGER , RONLY , var_ThresholdConfigTable, 3, { 2,1,9 } }, #define THRESHOLDCONFIGSTATUS { THRESHOLDCONFIGSTATUS, ASN_INTEGER , RWRITE, var_ThresholdConfigTable, 3, { 2,1,10 } }, } Definition at line 58 of file RMThresholdConfig.c. Referenced by init_RMThresholdConfig. |
|
Definition at line 48 of file RMThresholdConfig.c. Referenced by init_RMThresholdConfig, write_thresholdCancelEventSeverity, write_thresholdConfigStatus, write_thresholdEventSeverity, write_thresholdPreCondition, write_thresholdTestCondition, write_thresholdType, write_thresholdValueHigh, and write_thresholdValueLow. |