-
Notifications
You must be signed in to change notification settings - Fork 0
/
sedscript.in
109 lines (96 loc) · 3.38 KB
/
sedscript.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#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