| #include <net-snmp/net-snmp-config.h> |
| #include <agent/mibgroup/mibdefs.h> |
| |
| s#PREMOVEMEREFIX#PREFIX#g |
| s#DREMOVEMEATADIR#DATADIR#g |
| s#LREMOVEMEIBDIR#LIBDIR#g |
| s#BREMOVEMEINDIR#BINDIR#g |
| s#PREMOVEMEERSISTENT_DIRECTORY#PERSISTENT_DIRECTORY#g |
| |
| s/EREMOVEMEXTENSIBLEDOTMIB/UCDAVIS_DOT_MIB/g |
| |
| s/PREMOVEMEROCMIBNUM/PROCMIBNUM/g |
| s/SREMOVEMEHELLMIBNUM/SHELLMIBNUM/g |
| s/MREMOVEMEEMMIBNUM/MEMMIBNUM/g |
| s/DREMOVEMEISKMIBNUM/DISKMIBNUM/g |
| s/LREMOVEMEOADAVEMIBNUM/LOADAVEMIBNUM/g |
| s/VREMOVEMEERSIONMIBNUM/VERSIONMIBNUM/g |
| s/EREMOVEMERRORMIBNUM/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/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/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/UREMOVEMENKNOWNID/UNKNOWNID/g |
| |
| s#PREMOVEMESCMD#PSCMD#g |
| s/VERSIONINFO/5.0.1/g |