110 lines
3.4 KiB
Plaintext
110 lines
3.4 KiB
Plaintext
|
#include <net-snmp/net-snmp-config.h>
|
||
|
#include <agent/mibgroup/mibdefs.h>
|
||
|
|
||
|
s/EREMOVEMEXTENSIBLEDOTMIB/NETSNMP_UCDAVIS_DOT_MIB/g
|
||
|
|
||
|
s/PREMOVEMEROCMIBNUM/NETSNMP_PROCMIBNUM/g
|
||
|
s/NETSNMP_PREMOVEMEROCMIBNUM/NETSNMP_PROCMIBNUM/g
|
||
|
s/SREMOVEMEHELLMIBNUM/NETSNMP_SHELLMIBNUM/g
|
||
|
s/NETSNMP_SREMOVEMEHELLMIBNUM/NETSNMP_SHELLMIBNUM/g
|
||
|
s/MREMOVEMEEMMIBNUM/NETSNMP_MEMMIBNUM/g
|
||
|
s/NETSNMP_MREMOVEMEEMMIBNUM/NETSNMP_MEMMIBNUM/g
|
||
|
s/DREMOVEMEISKMIBNUM/NETSNMP_DISKMIBNUM/g
|
||
|
s/NETSNMP_DREMOVEMEISKMIBNUM/NETSNMP_DISKMIBNUM/g
|
||
|
s/LREMOVEMEOADAVEMIBNUM/NETSNMP_LOADAVEMIBNUM/g
|
||
|
s/NETSNMP_LREMOVEMEOADAVEMIBNUM/NETSNMP_LOADAVEMIBNUM/g
|
||
|
s/VREMOVEMEERSIONMIBNUM/NETSNMP_VERSIONMIBNUM/g
|
||
|
s/NETSNMP_VREMOVEMEERSIONMIBNUM/NETSNMP_VERSIONMIBNUM/g
|
||
|
s/EREMOVEMERRORMIBNUM/NETSNMP_ERRORMIBNUM/g
|
||
|
s/NETSNMP_EREMOVEMERRORMIBNUM/NETSNMP_ERRORMIBNUM/g
|
||
|
|
||
|
s/MREMOVEMEIBINDEX/MIBINDEX/g
|
||
|
s/EREMOVEMERRORFLAG/ERRORFLAG/g
|
||
|
s/EREMOVEMERRORMSG/ERRORMSG/g
|
||
|
s/EREMOVEMERRORFIX/ERRORFIX/g
|
||
|
s/EREMOVEMERRORNAME/ERRORNAME/g
|
||
|
|
||
|
#ifdef USING_UCD_SNMP_PROC_MODULE
|
||
|
#include <agent/mibgroup/ucd-snmp/proc.h>
|
||
|
s/PREMOVEMEROCMIN/3/g
|
||
|
s/PREMOVEMEROCMAX/4/g
|
||
|
s/PREMOVEMEROCCOUNT/5/g
|
||
|
#endif
|
||
|
|
||
|
#ifdef USING_UCD_SNMP_EXTENSIBLE_MODULE
|
||
|
#include <agent/mibgroup/ucd-snmp/extensible.h>
|
||
|
s/SREMOVEMEHELLCOMMAND/SHELLCOMMAND/g
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#ifdef USING_UCD_SNMP_MEMORY_MODULE
|
||
|
#include <agent/mibgroup/ucd-snmp/memory.h>
|
||
|
s/MREMOVEMEEMTOTALSWAPTXT/MEMTOTALSWAPTXT/g
|
||
|
s/MREMOVEMEEMUSEDSWAPTXT/MEMUSEDSWAPTXT/g
|
||
|
s/MREMOVEMEEMTOTALREALTXT/MEMTOTALREALTXT/g
|
||
|
s/MREMOVEMEEMUSEDREALTXT/MEMUSEDREALTXT/g
|
||
|
s/MREMOVEMEEMTOTALSWAP/MEMTOTALSWAP/g
|
||
|
s/MREMOVEMEEMUSEDSWAP/MEMUSEDSWAP/g
|
||
|
s/MREMOVEMEEMTOTALREAL/MEMTOTALREAL/g
|
||
|
s/MREMOVEMEEMUSEDREAL/MEMUSEDREAL/g
|
||
|
s/MREMOVEMEEMTOTALFREE/MEMTOTALFREE/g
|
||
|
s/MREMOVEMEEMSWAPMINIMUM/MEMSWAPMINIMUM/g
|
||
|
#endif
|
||
|
|
||
|
#ifdef USING_UCD_SNMP_DISK_MODULE
|
||
|
#include <agent/mibgroup/ucd-snmp/disk.h>
|
||
|
s/DREMOVEMEEFDISKMINIMUMSPACE/DEFDISKMINIMUMSPACE/g
|
||
|
s/DREMOVEMEEFDISKMINPERCENT/DEFDISKMAXIMUMPERCENT/g
|
||
|
s/DREMOVEMEISKDEVICE/DISKDEVICE/g
|
||
|
s/DREMOVEMEISKMINIMUM/DISKMINIMUM/g
|
||
|
s/DREMOVEMEISKTOTAL/DISKTOTAL/g
|
||
|
s/DREMOVEMEISKAVAIL/DISKAVAIL/g
|
||
|
s/DREMOVEMEISKUSED/DISKUSED/g
|
||
|
s/DREMOVEMEISKPERCENT/DISKPERCENT/g
|
||
|
s/DREMOVEMEISKPERCENTNODE/DISKPERCENTNODE/g
|
||
|
#endif
|
||
|
|
||
|
#ifdef USING_UCD_SNMP_LOADAVE_MODULE
|
||
|
#include <agent/mibgroup/ucd-snmp/loadave.h>
|
||
|
s/DREMOVEMEEFMAXLOADAVE/NETSNMP_DEFMAXLOADAVE/g
|
||
|
s/NETSNMP_DREMOVEMEEFMAXLOADAVE/NETSNMP_DEFMAXLOADAVE/g
|
||
|
s/LREMOVEMEOADAVE/LOADAVE/g
|
||
|
s/LREMOVEMEOADMAXVAL/LOADMAXVAL/g
|
||
|
#endif
|
||
|
|
||
|
#ifdef USING_UCD_SNMP_VERSIONINFO_MODULE
|
||
|
#include <agent/mibgroup/ucd-snmp/versioninfo.h>
|
||
|
s/VREMOVEMEERDATE/VERDATE/g
|
||
|
s/VREMOVEMEERCDATE/VERCDATE/g
|
||
|
s/VREMOVEMEERIDENT/VERIDENT/g
|
||
|
s/VREMOVEMEERCLEARCACHE/VERCLEARCACHE/g
|
||
|
s/VREMOVEMEERUPDATECONFIG/VERUPDATECONFIG/g
|
||
|
s/VREMOVEMEERRESTARTAGENT/VERRESTARTAGENT/g
|
||
|
#endif
|
||
|
|
||
|
s/EREMOVEMERRORTIMELENGTH/ERRORTIMELENGTH/g
|
||
|
|
||
|
s/AREMOVEMEGENTID/AGENTID/g
|
||
|
s/HREMOVEMEPUX9ID/HPUX9ID/g
|
||
|
s/HREMOVEMEPUX10ID/HPUX10ID/g
|
||
|
s/HREMOVEMEPUX11ID/HPUX11ID/g
|
||
|
s/SREMOVEMEUNOS4ID/SUNOS4ID/g
|
||
|
s/SREMOVEMEOLARISID/SOLARISID/g
|
||
|
s/OREMOVEMESFID/OSFID/g
|
||
|
s/UREMOVEMELTRIXID/ULTRIXID/g
|
||
|
s/NREMOVEMEETBSD1ID/NETBSD1ID/g
|
||
|
s/FREMOVEMEREEBSDID/FREEBSDID/g
|
||
|
s/IREMOVEMERIXID/IRIXID/g
|
||
|
s/LREMOVEMEINUXID/LINUXID/g
|
||
|
s/BREMOVEMESDIID/BSDIID/g
|
||
|
s/OREMOVEMEPENBSDID/OPENBSDID/g
|
||
|
s/WREMOVEMEIN32ID/WIN32ID/g
|
||
|
s/AREMOVEMEIXID/AIXID/g
|
||
|
s/MREMOVEMEACOSXID/MACOSXID/g
|
||
|
s/DREMOVEMERAGONFLYID/DRAGONFLYID/g
|
||
|
s/UREMOVEMENKNOWNID/UNKNOWNID/g
|
||
|
|
||
|
s#PREMOVEMESCMD#PSCMD#g
|
||
|
s#AREMOVEMEGENTX_SOCKET#AGENTX_SOCKET#g
|
||
|
s#NREMOVEMEETSNMP_TEMP_FILE_PATTERN#NETSNMP_TEMP_FILE_PATTERN#g
|