#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 "RMMonitors.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 | MONITORNEXTINDEX 1 |
#define | MONITORUUID 5 |
#define | MONITORCONTROLINDEX 6 |
#define | MONITORCONFIGINDEX 7 |
#define | MONITORLOCATION 8 |
#define | MONITORTYPE 9 |
#define | MONITORSUBSYSTEMID 10 |
#define | MONITORRESOUCEID 11 |
#define | MONITORSTATISTICID 12 |
#define | MONITORLASTVALUELOW 13 |
#define | MONITORLASTVALUEHIGH 14 |
#define | MONITORSTARTTIME 15 |
#define | MONITORSTOPTIME 16 |
#define | MONITORTHRESHOLDLASTEVENTTIME 17 |
#define | MONITORHIGHWATERMARKVALUELOW 18 |
#define | MONITORHIGHWATERMARKVALUEHIGH 19 |
#define | MONITORLOWWATERMARKVALUELOW 20 |
#define | MONITORLOWWATERMARKVALUEHIGH 21 |
#define | MONITORHIGHWATERMARKTIME 22 |
#define | MONITORLOWWATERMARKTIME 23 |
#define | MONITORLEAKYBUCKETLASTEVENTTIME 24 |
#define | MONITORLEAKYBUCKETVALUELOW 25 |
#define | MONITORLEAKYBUCKETVALUEHIGH 26 |
#define | MONITORNOTIFICATIONSTATUS 27 |
#define | MONITORSTATUS 28 |
#define | MONITORSNMPTRAP 29 |
#define | MONITORCOMMAND 30 |
Functions | |
void | init_RMMonitors (void) |
unsigned char * | var_RMMonitors (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
unsigned char * | var_MonitorTable (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
int | write_monitorControlIndex (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_monitorConfigIndex (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_monitorSNMPTrap (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_monitorCommand (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 | RMMonitors_variables_oid [] = { 1,3,6,1,4,1,343,2,15,1,2,4 } |
variable4 | RMMonitors_variables [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 123 of file RMMonitors.c. References RMMonitors_variables, and RMMonitors_variables_oid. Referenced by main. |
|
|
Definition at line 148 of file RMMonitors.c. |
|
Definition at line 721 of file RMMonitors.c. References CREATE_MONITOR, DELETE_MONITOR, deleteEntry, header_writeGeneric, MONITOR, MONITOR_COMMAND, NEW_MONITORENTRY, newEntry, RESET_NOTIFICATION, RMMonitors_variables_oid, and setInteger32. Referenced by var_MonitorTable. |
|
Definition at line 544 of file RMMonitors.c. References getUnsigned, header_writeGeneric, MONITOR, MONITOR_CONFIGID, RMMonitors_variables_oid, and setUnsigned. Referenced by var_MonitorTable. |
|
Definition at line 456 of file RMMonitors.c. References getUnsigned, header_writeGeneric, MONITOR, MONITOR_CONTROLID, RMMonitors_variables_oid, and setUnsigned. Referenced by var_MonitorTable. |
|
Definition at line 632 of file RMMonitors.c. References getInteger32, header_writeGeneric, MONITOR, MONITOR_SNMPTRAP, RMMonitors_variables_oid, and setInteger32. Referenced by var_MonitorTable. |
|
Definition at line 57 of file RMMonitors.c. Referenced by init_RMMonitors. |
|
Definition at line 47 of file RMMonitors.c. Referenced by init_RMMonitors, write_monitorCommand, write_monitorConfigIndex, write_monitorControlIndex, and write_monitorSNMPTrap. |