#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 "RMSystemInfo.h"
#include "rmClient.h"
#include "utility.h"
#include <stdlib.h>
#include <string.h>
#include <ucd-snmp/util_funcs.h>
Go to the source code of this file.
Defines | |
#define | RMVERSIONSTRING 1 |
#define | RMSUBSYSTEMCOUNT 2 |
#define | SUBSYSTEMUUID 6 |
#define | SUBSYSTEMNAME 7 |
#define | SUBSYSTEMDESCRIPTION 8 |
#define | SUBSYSTEMRESOURCECOUNT 9 |
#define | SUBSYSTEMSTATISTICSCOUNT 10 |
#define | RESOURCENAME 14 |
#define | RESOURCEDESCRIPTION 15 |
#define | STATISTICNAME 19 |
#define | STATISTICDESCRIPTION 20 |
#define | STATISTICUNIT 21 |
#define | STATISTICTYPE 22 |
#define | STATISTICSIZE 23 |
#define | STATISTICSCALE 24 |
#define | STATISTICGAUGEUPPERBOUNDLOW 25 |
#define | STATISTICGAUGEUPPERBOUNDHIGH 26 |
#define | STATISTICCOUNTERRESETVALUELOW 27 |
#define | STATISTICCOUNTERRESETVALUEHIGH 28 |
#define | STATISTICCOUNTERRESET 29 |
#define | PLUGINUUID 30 |
#define | PLUGINNAME 31 |
Functions | |
void | init_RMSystemInfo (void) |
unsigned char * | var_RMSystemInfo (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
unsigned char * | var_RMSubsystemInfoTable (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
unsigned char * | var_RMResourceInfoTable (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
unsigned char * | var_RMStatisticInfoTable (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
unsigned char * | var_RMDataCapturePluginInfoTable (struct variable *vp, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) |
unsigned long | findStatisticID (oid *name, size_t name_len) |
int | write_statisticCounterResetValueLow (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_statisticCounterResetValueHigh (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_statisticCounterReset (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 | RMSystemInfo_variables_oid [] = { 1,3,6,1,4,1,343,2,15,1,2,1 } |
variable4 | RMSystemInfo_variables [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 531 of file RMSystemInfo.c. References getNextId, getUnsigned, STATISTICINFO, STATISTICINFO_ID, STATISTICINFO_RESOURCEID, and STATISTICINFO_SUBSYSTEMID. Referenced by write_statisticCounterReset, write_statisticCounterResetValueHigh, and write_statisticCounterResetValueLow. |
|
Definition at line 114 of file RMSystemInfo.c. References RMSystemInfo_variables, and RMSystemInfo_variables_oid. Referenced by main. |
|
Definition at line 464 of file RMSystemInfo.c. References DATACAPTUREPLUGININFO, DATACAPTUREPLUGININFO_NAME, DATACAPTUREPLUGININFO_UUID, getCount, getString, and getUUIDString. |
|
Definition at line 276 of file RMSystemInfo.c. References getString, header_resourceInfo, RESORUCEINFO, RESORUCEINFO_NAME, and RESOURCEINFO_DESCRIPTION. |
|
|
Definition at line 194 of file RMSystemInfo.c. References getString, getUnsigned, getUUIDString, header_MyGeneric, SUBSYSTEMINFO, SUBSYSTEMINFO_DESCRIPTION, SUBSYSTEMINFO_NAME, SUBSYSTEMINFO_RESOURCECOUNT, SUBSYSTEMINFO_STATISTICCOUNT, and SUBSYSTEMINFO_UUID. |
|
Definition at line 139 of file RMSystemInfo.c. References getCount, getRMVersion, and SUBSYSTEMINFO. |
|
Definition at line 721 of file RMSystemInfo.c. References findStatisticID, setInteger32, STATISTICINFO, and STATISTICINFO_COUNTERRESET. Referenced by var_RMStatisticInfoTable. |
|
Definition at line 640 of file RMSystemInfo.c. References findStatisticID, getUnsigned64, setHigh32, setUnsigned64, STATISTICINFO, and STATISTICINFO_COUNTERRESETVALUE64. Referenced by var_RMStatisticInfoTable. |
|
Definition at line 559 of file RMSystemInfo.c. References findStatisticID, getUnsigned, setUnsigned, STATISTICINFO, and STATISTICINFO_COUNTERRESETVALUE32. Referenced by var_RMStatisticInfoTable. |
|
Definition at line 57 of file RMSystemInfo.c. Referenced by init_RMSystemInfo. |
|
Definition at line 47 of file RMSystemInfo.c. Referenced by init_RMSystemInfo. |