代码拉取完成,页面将自动刷新
同步操作将从 openKylin/net-snmp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。