forked from yubo/rrdlite
-
Notifications
You must be signed in to change notification settings - Fork 16
/
rrd_error.h
126 lines (126 loc) · 6.93 KB
/
rrd_error.h
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#define RRD_ERR_START 0x0200
#define RRD_ERR_ALLOC 0x0200
#define RRD_ERR_INVALID_DS_NAME 0x0201
#define RRD_ERR_INVALID_DS_TYPE 0x0202
#define RRD_ERR_DUPLICATE_DS_NAME 0x0203
#define RRD_ERR_INVALID_DS_FORMAT 0x0204
#define RRD_ERR_INVALID_DS_TYPE_SPEC 0x0205
#define RRD_ERR_CREATE_WRITE 0x0206
#define RRD_ERR_FAILED_PARSE_CF_NAME 0x0207
#define RRD_ERR_UNREC_CONSOLIDATION_FUNC 0x0208
#define RRD_ERR_INVALID_ROW_COUNT 0x0209
#define RRD_ERR_INVALID_XFF 0x020a
#define RRD_ERR_INVALID_ALPHA 0x020b
#define RRD_ERR_INVALID_GAMMA 0x020c
#define RRD_ERR_FAILURE_THRESHOLD_OUT_OF_RANGE 0x020d
#define RRD_ERR_INVALID_STEP 0x020e
#define RRD_ERR_INVALID_BETA 0x020f
#define RRD_ERR_WIN_LEN_OUT_OF_RANGE 0x0210
#define RRD_ERR_WINLEN_SHORTER_FAILURE_THRESHOLD 0x0211
#define RRD_ERR_INVALID_ARG1 0x0212
#define RRD_ERR_TIME_TOO_LARGE 0x0213
#define RRD_ERR_INVALID_SMOOTHING_WINDOW 0x0214
#define RRD_ERR_INVALID_OPT 0x0215
#define RRD_ERR_LEN_OF_SEASONAL_CYCLE 0x0216
#define RRD_ERR_INVALID_ARG2 0x0217
#define RRD_ERR_UNKNOWN_ERROR 0x0218
#define RRD_ERR_ARG3 0x0219
#define RRD_ERR_CREATING_RRA 0x021a
#define RRD_ERR_ARG4 0x021b
#define RRD_ERR_ARG5 0x021c
#define RRD_ERR_ARG6 0x021d
#define RRD_ERR_ARG7 0x021e
#define RRD_ERR_ARG8 0x021f
#define RRD_ERR_CREATE_FILE1 0x0220
#define RRD_ERR_MALLOC1 0x0221
#define RRD_ERR_MALLOC2 0x0222
#define RRD_ERR_NO_MATCH_RRA 0x0223
#define RRD_ERR_MALLOC3 0x0224
#define RRD_ERR_SEEK_RRA 0x0225
#define RRD_ERR_SEEK_RRA1 0x0226
#define RRD_ERR_FETCH_CDP 0x0227
#define RRD_ERR_UNKNOWN_DS_NAME 0x0228
#define RRD_ERR_MALLOC4 0x0229
#define RRD_ERR_READ1 0x022a
#define RRD_ERR_SEEK1 0x022b
#define RRD_ERR_MALLOC5 0x022c
#define RRD_ERR_SEEK2 0x022d
#define RRD_ERR_READ2 0x022e
#define RRD_ERR_DEP1 0x022f
#define RRD_ERR_SEEK3 0x0230
#define RRD_ERR_WRITE1 0x0231
#define RRD_ERR_SEEK4 0x0232
#define RRD_ERR_WRITE2 0x0233
#define RRD_ERR_READ3 0x0234
#define RRD_ERR_MALLOC6 0x0235
#define RRD_ERR_READ4 0x0236
#define RRD_ERR_MALLOC7 0x0237
#define RRD_ERR_MALLOC8 0x0238
#define RRD_ERR_IO1 0x0239
#define RRD_ERR_OPEN_FILE 0x023a
#define RRD_ERR_STAT_FILE 0x023b
#define RRD_ERR_WRITE5 0x023c
#define RRD_ERR_MMAP 0x023d
#define RRD_ERR_FILE 0x023e
#define RRD_ERR_FILE1 0x023f
#define RRD_ERR_FILE2 0x0240
#define RRD_ERR_MALLOC9 0x0241
#define RRD_ERR_FILE3 0x0242
#define RRD_ERR_MSYNC 0x0243
#define RRD_ERR_MUNMAP 0x0244
#define RRD_ERR_CLOSE 0x0245
#define RRD_ERR_WRITE6 0x0246
#define RRD_ERR_ARG9 0x0247
#define RRD_ERR_WRITE7 0x0248
#define RRD_ERR_ARG10 0x0249
#define RRD_ERR_LOCK 0x024a
#define RRD_ERR_FAILED_STRDUP 0x024b
#define RRD_ERR_MALLOC10 0x024c
#define RRD_ERR_MALLOC11 0x024d
#define RRD_ERR_MALLOC12 0x024e
#define RRD_ERR_MALLOC13 0x024f
#define RRD_ERR_MALLOC14 0x0250
#define RRD_ERR_MALLOC15 0x0251
#define RRD_ERR_PARSE 0x0252
#define RRD_ERR_FAILED_STRDUP1 0x0253
#define RRD_ERR_MORE_DS 0x0254
#define RRD_ERR_UNKNOWN_DS_NAME1 0x0255
#define RRD_ERR_STR 0x0256
#define RRD_ERR_ARG11 0x0257
#define RRD_ERR_EXPECTED 0x0258
#define RRD_ERR_TIME1 0x0259
#define RRD_ERR_TIME2 0x025a
#define RRD_ERR_STRTOD 0x025b
#define RRD_ERR_TIME3 0x025c
#define RRD_ERR_INT 0x025d
#define RRD_ERR_DATA 0x025e
#define RRD_ERR_UNKNOWN_DS_TYPE 0x025f
#define RRD_ERR_SEEK5 0x0260
#define RRD_ERR_WRITE8 0x0261
#define RRD_ERR_SEEK6 0x0262
#define RRD_ERR_WRITE9 0x0263
#define RRD_ERR_WRITE10 0x0264
#define RRD_ERR_WRITE11 0x0265
#define RRD_ERR_WRITE12 0x0266
#define RRD_ERR_TIME4 0x0267
#define RRD_ERR_TIME5 0x0268
#define RRD_ERR_TIME6 0x0269
#define RRD_ERR_MALLOC16 0x026a
#define RRD_ERR_PARSE1 0x026b
#define RRD_ERR_DS 0x026c
#define RRD_ERR_EXPR 0x026d
#define RRD_ERR_STACK 0x026e
#define RRD_ERR_STACK1 0x026f
#define RRD_ERR_ABORT 0x0270
#define RRD_ERR_ALLOW 0x0271
#define RRD_ERR_ARG12 0x0272
#define RRD_ERR_STACK2 0x0273
#define RRD_ERR_DATA1 0x0274
#define RRD_ERR_DATA2 0x0275
#define RRD_ERR_MALLOC17 0x0276
#define RRD_ERR_UNKNOWN_DATA 0x0277
#define RRD_ERR_UPDATE_CDP 0x0278
#define RRD_ERR_UNKNOWN_DATA1 0x0279
/* if add new system event flag, please upadte the RRD_ERR_END */
#define RRD_ERR_END 0x0279
#define RRD_ERR_NUM (RRD_ERR_END - RRD_ERR_START + 1)