root/trunk/src/renetcol_mib.h @ 154

Revision 154, 17.0 KB (checked in by andreu, 11 years ago)

Typo correction and copyright update

Line 
1/*
2 * File: renetcol_mib.h
3 *
4 * Authors: ANDREU Francois-Xavier
5 *
6 * Copyright (C) 2009-2011 GIP RENATER
7 */
8
9/*  This file is part of renetcol.
10 *
11 *  renetcol is free software; you can redistribute it and/or modify
12 *  it under the terms of the GNU General Public License as published by
13 *  the Free Software Foundation; either version 2 of the License, or
14 *  (at your option) any later version.
15 *
16 *  renetcol is distributed in the hope that it will be useful,
17 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 *  GNU General Public License for more details.
20 *
21 *  You should have received a copy of the GNU General Public License
22 *  along with renetcol; if not, write to the Free Software
23 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
24 */
25
26#ifndef RENETCOL_MIB_H
27#define RENETCOL_MIB_H
28
29#define _GNU_SOURCE
30
31#include <unistd.h>
32#include <stdio.h>
33#include <string.h>
34#include <stdlib.h>
35#include <errno.h>
36#include <sys/ioctl.h>
37#include <syslog.h>
38
39struct RenetcolMIB{
40  unsigned long long ipPacketNb;
41  unsigned long long udpPacketNb;
42  unsigned long long v9PacketNb;
43  unsigned long long v9UnSeqNb;
44  unsigned long long flowSetNb;
45  unsigned long long dataFlowSetNb;
46  unsigned long long defFlowSetNb;
47  unsigned long long optDataFlowSetNb;
48  unsigned long long optDefFlowSetNb;
49  unsigned long long flowNb;           /* from v9 header */
50  unsigned long long realFlowNb;       /* nb of flow really readed */
51  /*
52   * IPv4 Section
53   */
54  unsigned long long ipv4Bytes;
55  unsigned long long ipv4Pckts;
56  unsigned long long ipv4Flow;
57  /* L4 counters */
58  unsigned long long ipv4IcmpFlowNb;
59  unsigned long long ipv4IcmpBytesNb;
60  unsigned long long ipv4IcmpPktsNb;
61  unsigned long long ipv4UDPFlowNb;
62  unsigned long long ipv4UDPBytesNb;
63  unsigned long long ipv4UDPPktsNb;
64  unsigned long long ipv4TCPFlowNb;
65  unsigned long long ipv4TCPBytesNb;
66  unsigned long long ipv4TCPPktsNb;
67  unsigned long long ipv4OthersFlowNb;
68  unsigned long long ipv4OthersBytesNb;
69  unsigned long long ipv4OthersPktsNb;
70  /* Counters based on Flow size in packets */
71  unsigned long long ipv4FlowSizePcktsE1;     /* = 1 pkts */
72  unsigned long long ipv4FlowSizePcktsLT10;   /* < 10  pkts */
73  unsigned long long ipv4FlowSizePcktsLT100;  /* < 100 pkts */
74  unsigned long long ipv4FlowSizePcktsLT1k;   /* < 1000 pkts */
75  unsigned long long ipv4FlowSizePcktsLT10k;  /* < 10k pkts */
76  unsigned long long ipv4FlowSizePcktsMT10k;  /* >= 10k pkts */
77  unsigned long long ipv4FlowSizeBytesLT50;   /* < 50 bytes */
78  unsigned long long ipv4FlowSizeBytesLT100;  /* < 100 bytes */
79  unsigned long long ipv4FlowSizeBytesLT1k;   /* < 1000 bytes */
80  unsigned long long ipv4FlowSizeBytesLT10k;  /* < 10k bytes */
81  unsigned long long ipv4FlowSizeBytesLT100k; /* < 100k bytes */
82  unsigned long long ipv4FlowSizeBytesLT1M;   /* < 1M bytes */
83  unsigned long long ipv4FlowSizeBytesLT10M;  /* < 10M bytes */
84  unsigned long long ipv4FlowSizeBytesLT100M;  /* < 100M bytes */
85  unsigned long long ipv4FlowSizeBytesMT100M;  /* >= 100M bytes */
86  /* Counters based on Web/DNS/others flows distribution */
87  unsigned long long ipv4WebBytesNb;
88  unsigned long long ipv4WebPcktsNb;
89  unsigned long long ipv4WebFlowNb;
90  unsigned long long ipv4DNSBytesNb;
91  unsigned long long ipv4DNSPcktsNb;
92  unsigned long long ipv4DNSFlowNb;
93  unsigned long long ipv4OthersApBytesNb;
94  unsigned long long ipv4OthersApPcktsNb;
95  unsigned long long ipv4OthersApFlowNb;
96  /*
97   * IPv6 Section
98   */
99  unsigned long long ipv6Bytes;
100  unsigned long long ipv6Pckts;
101  unsigned long long ipv6Flow;
102  /* L4 counters */
103  unsigned long long ipv6IcmpFlowNb;
104  unsigned long long ipv6IcmpBytesNb;
105  unsigned long long ipv6IcmpPktsNb;
106  unsigned long long ipv6UDPFlowNb;
107  unsigned long long ipv6UDPBytesNb;
108  unsigned long long ipv6UDPPktsNb;
109  unsigned long long ipv6TCPFlowNb;
110  unsigned long long ipv6TCPBytesNb;
111  unsigned long long ipv6TCPPktsNb;
112  unsigned long long ipv6OthersFlowNb;
113  unsigned long long ipv6OthersBytesNb;
114  unsigned long long ipv6OthersPktsNb;
115  /* Counters based on Flow size in packets */
116  unsigned long long ipv6FlowSizePcktsE1;     /* = 1 pkts */
117  unsigned long long ipv6FlowSizePcktsLT10;   /* < 10  pkts */
118  unsigned long long ipv6FlowSizePcktsLT100;  /* < 100 pkts */
119  unsigned long long ipv6FlowSizePcktsLT1k;   /* < 1000 pkts */
120  unsigned long long ipv6FlowSizePcktsLT10k;  /* < 10k pkts */
121  unsigned long long ipv6FlowSizePcktsMT10k;  /* >= 10k pkts */
122  /* Counters based on Flow size in bytes */
123  unsigned long long ipv6FlowSizeBytesLT50;   /* < 50 bytes */
124  unsigned long long ipv6FlowSizeBytesLT100;  /* < 100 bytes */
125  unsigned long long ipv6FlowSizeBytesLT1k;   /* < 1000 bytes */
126  unsigned long long ipv6FlowSizeBytesLT10k;  /* < 10k bytes */
127  unsigned long long ipv6FlowSizeBytesLT100k; /* < 100k bytes */
128  unsigned long long ipv6FlowSizeBytesLT1M;   /* < 1M bytes */
129  unsigned long long ipv6FlowSizeBytesLT10M;  /* < 10M bytes */
130  unsigned long long ipv6FlowSizeBytesLT100M;  /* < 100M bytes */
131  unsigned long long ipv6FlowSizeBytesMT100M;  /* >= 100M bytes */
132  /* Counters based on Web/DNS/others flows distribution */
133  unsigned long long ipv6WebBytesNb;
134  unsigned long long ipv6WebPcktsNb;
135  unsigned long long ipv6WebFlowNb;
136  unsigned long long ipv6DNSBytesNb;
137  unsigned long long ipv6DNSPcktsNb;
138  unsigned long long ipv6DNSFlowNb;
139  unsigned long long ipv6OthersApBytesNb;
140  unsigned long long ipv6OthersApPcktsNb;
141  unsigned long long ipv6OthersApFlowNb;
142};
143
144#define RRD_PARAM_MIB_0 "rrdcreate"
145#define RRD_PARAM_MIB_1 "--start"
146#define RRD_PARAM_MIB_2 "1106560200"
147#define RRD_PARAM_MIB_3 "--step"
148#define RRD_PARAM_MIB_4 "300"
149#define RRD_PARAM_MIB_5 "DS:ipPacketNb:GAUGE:600:U:U"
150#define RRD_PARAM_MIB_6 "DS:udpPacketNb:GAUGE:600:U:U"
151#define RRD_PARAM_MIB_7 "DS:v9PacketNb:GAUGE:600:U:U"
152#define RRD_PARAM_MIB_8 "DS:v9UnSeqNb:GAUGE:600:U:U"
153#define RRD_PARAM_MIB_9 "DS:flowSetNb:GAUGE:600:U:U"
154#define RRD_PARAM_MIB_10 "DS:dataFlowSetNb:GAUGE:600:U:U"
155#define RRD_PARAM_MIB_11 "DS:defFlowSetNb:GAUGE:600:U:U"
156#define RRD_PARAM_MIB_12 "DS:optDataFlowSetNb:GAUGE:600:U:U"
157#define RRD_PARAM_MIB_13 "DS:optDefFlowSetNb:GAUGE:600:U:U"
158#define RRD_PARAM_MIB_14 "DS:flowNb:GAUGE:600:U:U"
159#define RRD_PARAM_MIB_15 "DS:realFlowNb:GAUGE:600:U:U"
160#define RRD_PARAM_MIB_16 "RRA:AVERAGE:0.5:1:2100"
161#define RRD_PARAM_MIB_17 "RRA:AVERAGE:0.5:24:1550"
162#define RRD_PARAM_MIB_18 "RRA:AVERAGE:0.5:288:1594"
163#define RRD_PARAM_MIB_19 "RRA:AVERAGE:0.5:2016:1040"
164#define RRD_PARAM_MIB_20 "RRA:MAX:0.5:1:2100"
165#define RRD_PARAM_MIB_21 "RRA:MAX:0.5:24:1550"
166#define RRD_PARAM_MIB_22 "RRA:MAX:0.5:288:1594"
167
168#define RRD_PARAM_MIB_IPV4_0 "rrdcreate"
169#define RRD_PARAM_MIB_IPV4_1 "--start"
170#define RRD_PARAM_MIB_IPV4_2 "1106560200"
171#define RRD_PARAM_MIB_IPV4_3 "--step"
172#define RRD_PARAM_MIB_IPV4_4 "300"
173#define RRD_PARAM_MIB_IPV4_5 "DS:ipv4BytesIn:GAUGE:600:U:U"
174#define RRD_PARAM_MIB_IPV4_6 "DS:ipv4BytesOut:GAUGE:600:U:U"
175#define RRD_PARAM_MIB_IPV4_7 "DS:ipv4PcktsIn:GAUGE:600:U:U"
176#define RRD_PARAM_MIB_IPV4_8 "DS:ipv4PcktsOut:GAUGE:600:U:U"
177#define RRD_PARAM_MIB_IPV4_9 "DS:ipv4FlowIn:GAUGE:600:U:U"
178#define RRD_PARAM_MIB_IPV4_10 "DS:ipv4FlowOut:GAUGE:600:U:U"
179#define RRD_PARAM_MIB_IPV4_11 "RRA:AVERAGE:0.5:1:2100"
180#define RRD_PARAM_MIB_IPV4_12 "RRA:AVERAGE:0.5:24:1550"
181#define RRD_PARAM_MIB_IPV4_13 "RRA:AVERAGE:0.5:288:1594"
182#define RRD_PARAM_MIB_IPV4_14 "RRA:AVERAGE:0.5:2016:1040"
183#define RRD_PARAM_MIB_IPV4_15 "RRA:MAX:0.5:1:2100"
184#define RRD_PARAM_MIB_IPV4_16 "RRA:MAX:0.5:24:1550"
185#define RRD_PARAM_MIB_IPV4_17 "RRA:MAX:0.5:288:1594"
186
187#define RRD_PARAM_MIB_IPV4_L4_0 "rrdcreate"
188#define RRD_PARAM_MIB_IPV4_L4_1 "--start"
189#define RRD_PARAM_MIB_IPV4_L4_2 "1106560200"
190#define RRD_PARAM_MIB_IPV4_L4_3 "--step"
191#define RRD_PARAM_MIB_IPV4_L4_4 "300"
192#define RRD_PARAM_MIB_IPV4_L4_5 "DS:ipv4IcmpFlowNb:GAUGE:600:U:U"
193#define RRD_PARAM_MIB_IPV4_L4_6 "DS:ipv4IcmpBytesNb:GAUGE:600:U:U"
194#define RRD_PARAM_MIB_IPV4_L4_7 "DS:ipv4IcmpPktsNb:GAUGE:600:U:U"
195#define RRD_PARAM_MIB_IPV4_L4_8 "DS:ipv4UDPFlowNb:GAUGE:600:U:U"
196#define RRD_PARAM_MIB_IPV4_L4_9 "DS:ipv4UDPBytesNb:GAUGE:600:U:U"
197#define RRD_PARAM_MIB_IPV4_L4_10 "DS:ipv4UDPPktsNb:GAUGE:600:U:U"
198#define RRD_PARAM_MIB_IPV4_L4_11 "DS:ipv4TCPFlowNb:GAUGE:600:U:U"
199#define RRD_PARAM_MIB_IPV4_L4_12 "DS:ipv4TCPBytesNb:GAUGE:600:U:U"
200#define RRD_PARAM_MIB_IPV4_L4_13 "DS:ipv4TCPPktsNb:GAUGE:600:U:U"
201#define RRD_PARAM_MIB_IPV4_L4_14 "DS:ipv4OthersFlowNb:GAUGE:600:U:U"
202#define RRD_PARAM_MIB_IPV4_L4_15 "DS:ipv4OthersBytesNb:GAUGE:600:U:U"
203#define RRD_PARAM_MIB_IPV4_L4_16 "DS:ipv4OthersPcktsNb:GAUGE:600:U:U"
204#define RRD_PARAM_MIB_IPV4_L4_17 "RRA:AVERAGE:0.5:1:2100"
205#define RRD_PARAM_MIB_IPV4_L4_18 "RRA:AVERAGE:0.5:24:1550"
206#define RRD_PARAM_MIB_IPV4_L4_19 "RRA:AVERAGE:0.5:288:1594"
207#define RRD_PARAM_MIB_IPV4_L4_20 "RRA:AVERAGE:0.5:2016:1040"
208#define RRD_PARAM_MIB_IPV4_L4_21 "RRA:MAX:0.5:1:2100"
209#define RRD_PARAM_MIB_IPV4_L4_22 "RRA:MAX:0.5:24:1550"
210#define RRD_PARAM_MIB_IPV4_L4_23 "RRA:MAX:0.5:288:1594"
211
212#define RRD_PARAM_MIB_IPV4_FS_0 "rrdcreate"
213#define RRD_PARAM_MIB_IPV4_FS_1 "--start"
214#define RRD_PARAM_MIB_IPV4_FS_2 "1106560200"
215#define RRD_PARAM_MIB_IPV4_FS_3 "--step"
216#define RRD_PARAM_MIB_IPV4_FS_4 "300"
217#define RRD_PARAM_MIB_IPV4_FS_5 "DS:ipv4FlowSizePcktsE1:GAUGE:600:U:U"
218#define RRD_PARAM_MIB_IPV4_FS_6 "DS:ipv4FlowSizePcktsLT10:GAUGE:600:U:U"
219#define RRD_PARAM_MIB_IPV4_FS_7 "DS:ipv4FlowSizePcktsLT100:GAUGE:600:U:U"
220#define RRD_PARAM_MIB_IPV4_FS_8 "DS:ipv4FlowSizePcktsLT1k:GAUGE:600:U:U"
221#define RRD_PARAM_MIB_IPV4_FS_9 "DS:ipv4FlowSizePcktsLT10k:GAUGE:600:U:U"
222#define RRD_PARAM_MIB_IPV4_FS_10 "DS:ipv4FlowSizePcktsMT10k:GAUGE:600:U:U"
223#define RRD_PARAM_MIB_IPV4_FS_11 "DS:ipv4FlowSizeBytesLT50:GAUGE:600:U:U"
224#define RRD_PARAM_MIB_IPV4_FS_12 "DS:ipv4FlowSizeBytesLT100:GAUGE:600:U:U"
225#define RRD_PARAM_MIB_IPV4_FS_13 "DS:ipv4FlowSizeBytesLT1k:GAUGE:600:U:U"
226#define RRD_PARAM_MIB_IPV4_FS_14 "DS:ipv4FlowSizeBytesLT10k:GAUGE:600:U:U"
227#define RRD_PARAM_MIB_IPV4_FS_15 "DS:ipv4FlowSizeBytesLT100k:GAUGE:600:U:U"
228#define RRD_PARAM_MIB_IPV4_FS_16 "DS:ipv4FlowSizeBytesLT1M:GAUGE:600:U:U"
229#define RRD_PARAM_MIB_IPV4_FS_17 "DS:ipv4FlowSizeBytesLT10M:GAUGE:600:U:U"
230#define RRD_PARAM_MIB_IPV4_FS_18 "DS:ipv4FlowSizeBytesLT100M:GAUGE:600:U:U"
231#define RRD_PARAM_MIB_IPV4_FS_19 "DS:ipv4FlowSizeBytesMT100M:GAUGE:600:U:U"
232#define RRD_PARAM_MIB_IPV4_FS_20 "RRA:AVERAGE:0.5:1:2100"
233#define RRD_PARAM_MIB_IPV4_FS_21 "RRA:AVERAGE:0.5:24:1550"
234#define RRD_PARAM_MIB_IPV4_FS_22 "RRA:AVERAGE:0.5:288:1594"
235#define RRD_PARAM_MIB_IPV4_FS_23 "RRA:AVERAGE:0.5:2016:1040"
236#define RRD_PARAM_MIB_IPV4_FS_24 "RRA:MAX:0.5:1:2100"
237#define RRD_PARAM_MIB_IPV4_FS_25 "RRA:MAX:0.5:24:1550"
238#define RRD_PARAM_MIB_IPV4_FS_26 "RRA:MAX:0.5:288:1594"
239
240#define RRD_PARAM_MIB_IPV4_AP_0 "rrdcreate"
241#define RRD_PARAM_MIB_IPV4_AP_1 "--start"
242#define RRD_PARAM_MIB_IPV4_AP_2 "1106560200"
243#define RRD_PARAM_MIB_IPV4_AP_3 "--step"
244#define RRD_PARAM_MIB_IPV4_AP_4 "300"
245#define RRD_PARAM_MIB_IPV4_AP_5 "DS:ipv4WebBytesNb:GAUGE:600:U:U"
246#define RRD_PARAM_MIB_IPV4_AP_6 "DS:ipv4WebPcktsNb:GAUGE:600:U:U"
247#define RRD_PARAM_MIB_IPV4_AP_7 "DS:ipv4WebFlowNb:GAUGE:600:U:U"
248#define RRD_PARAM_MIB_IPV4_AP_8 "DS:ipv4DNSBytesNb:GAUGE:600:U:U"
249#define RRD_PARAM_MIB_IPV4_AP_9 "DS:ipv4DNSPcktsNb:GAUGE:600:U:U"
250#define RRD_PARAM_MIB_IPV4_AP_10 "DS:ipv4DNSFlowNb:GAUGE:600:U:U"
251#define RRD_PARAM_MIB_IPV4_AP_11 "DS:ipv4OthersApBytesNb:GAUGE:600:U:U"
252#define RRD_PARAM_MIB_IPV4_AP_12 "DS:ipv4OthersApPcktsNb:GAUGE:600:U:U"
253#define RRD_PARAM_MIB_IPV4_AP_13 "DS:ipv4OthersApFlowNb:GAUGE:600:U:U"
254#define RRD_PARAM_MIB_IPV4_AP_14 "RRA:AVERAGE:0.5:1:2100"
255#define RRD_PARAM_MIB_IPV4_AP_15 "RRA:AVERAGE:0.5:24:1550"
256#define RRD_PARAM_MIB_IPV4_AP_16 "RRA:AVERAGE:0.5:288:1594"
257#define RRD_PARAM_MIB_IPV4_AP_17 "RRA:AVERAGE:0.5:2016:1040"
258#define RRD_PARAM_MIB_IPV4_AP_18 "RRA:MAX:0.5:1:2100"
259#define RRD_PARAM_MIB_IPV4_AP_19 "RRA:MAX:0.5:24:1550"
260#define RRD_PARAM_MIB_IPV4_AP_20 "RRA:MAX:0.5:288:1594"
261
262
263#define RRD_PARAM_MIB_IPV6_0 "rrdcreate"
264#define RRD_PARAM_MIB_IPV6_1 "--start"
265#define RRD_PARAM_MIB_IPV6_2 "1106560200"
266#define RRD_PARAM_MIB_IPV6_3 "--step"
267#define RRD_PARAM_MIB_IPV6_4 "300"
268#define RRD_PARAM_MIB_IPV6_5 "DS:ipv6BytesIn:GAUGE:600:U:U"
269#define RRD_PARAM_MIB_IPV6_6 "DS:ipv6BytesOut:GAUGE:600:U:U"
270#define RRD_PARAM_MIB_IPV6_7 "DS:ipv6PcktsIn:GAUGE:600:U:U"
271#define RRD_PARAM_MIB_IPV6_8 "DS:ipv6PcktsOut:GAUGE:600:U:U"
272#define RRD_PARAM_MIB_IPV6_9 "DS:ipv6FlowIn:GAUGE:600:U:U"
273#define RRD_PARAM_MIB_IPV6_10 "DS:ipv6FlowOut:GAUGE:600:U:U"
274#define RRD_PARAM_MIB_IPV6_11 "RRA:AVERAGE:0.5:1:2100"
275#define RRD_PARAM_MIB_IPV6_12 "RRA:AVERAGE:0.5:24:1550"
276#define RRD_PARAM_MIB_IPV6_13 "RRA:AVERAGE:0.5:288:1594"
277#define RRD_PARAM_MIB_IPV6_14 "RRA:AVERAGE:0.5:2016:1040"
278#define RRD_PARAM_MIB_IPV6_15 "RRA:MAX:0.5:1:2100"
279#define RRD_PARAM_MIB_IPV6_16 "RRA:MAX:0.5:24:1550"
280#define RRD_PARAM_MIB_IPV6_17 "RRA:MAX:0.5:288:1594"
281
282#define RRD_PARAM_MIB_IPV6_L4_0 "rrdcreate"
283#define RRD_PARAM_MIB_IPV6_L4_1 "--start"
284#define RRD_PARAM_MIB_IPV6_L4_2 "1106560200"
285#define RRD_PARAM_MIB_IPV6_L4_3 "--step"
286#define RRD_PARAM_MIB_IPV6_L4_4 "300"
287#define RRD_PARAM_MIB_IPV6_L4_5 "DS:ipv6IcmpFlowNb:GAUGE:600:U:U"
288#define RRD_PARAM_MIB_IPV6_L4_6 "DS:ipv6IcmpBytesNb:GAUGE:600:U:U"
289#define RRD_PARAM_MIB_IPV6_L4_7 "DS:ipv6IcmpPktsNb:GAUGE:600:U:U"
290#define RRD_PARAM_MIB_IPV6_L4_8 "DS:ipv6UDPFlowNb:GAUGE:600:U:U"
291#define RRD_PARAM_MIB_IPV6_L4_9 "DS:ipv6UDPBytesNb:GAUGE:600:U:U"
292#define RRD_PARAM_MIB_IPV6_L4_10 "DS:ipv6UDPPktsNb:GAUGE:600:U:U"
293#define RRD_PARAM_MIB_IPV6_L4_11 "DS:ipv6TCPFlowNb:GAUGE:600:U:U"
294#define RRD_PARAM_MIB_IPV6_L4_12 "DS:ipv6TCPBytesNb:GAUGE:600:U:U"
295#define RRD_PARAM_MIB_IPV6_L4_13 "DS:ipv6TCPPktsNb:GAUGE:600:U:U"
296#define RRD_PARAM_MIB_IPV6_L4_14 "DS:ipv6OthersFlowNb:GAUGE:600:U:U"
297#define RRD_PARAM_MIB_IPV6_L4_15 "DS:ipv6OthersBytesNb:GAUGE:600:U:U"
298#define RRD_PARAM_MIB_IPV6_L4_16 "DS:ipv6OthersPcktsNb:GAUGE:600:U:U"
299#define RRD_PARAM_MIB_IPV6_L4_17 "RRA:AVERAGE:0.5:1:2100"
300#define RRD_PARAM_MIB_IPV6_L4_18 "RRA:AVERAGE:0.5:24:1550"
301#define RRD_PARAM_MIB_IPV6_L4_19 "RRA:AVERAGE:0.5:288:1594"
302#define RRD_PARAM_MIB_IPV6_L4_20 "RRA:AVERAGE:0.5:2016:1040"
303#define RRD_PARAM_MIB_IPV6_L4_21 "RRA:MAX:0.5:1:2100"
304#define RRD_PARAM_MIB_IPV6_L4_22 "RRA:MAX:0.5:24:1550"
305#define RRD_PARAM_MIB_IPV6_L4_23 "RRA:MAX:0.5:288:1594"
306
307#define RRD_PARAM_MIB_IPV6_FS_0 "rrdcreate"
308#define RRD_PARAM_MIB_IPV6_FS_1 "--start"
309#define RRD_PARAM_MIB_IPV6_FS_2 "1106560200"
310#define RRD_PARAM_MIB_IPV6_FS_3 "--step"
311#define RRD_PARAM_MIB_IPV6_FS_4 "300"
312#define RRD_PARAM_MIB_IPV6_FS_5 "DS:ipv6FlowSizePcktsE1:GAUGE:600:U:U"
313#define RRD_PARAM_MIB_IPV6_FS_6 "DS:ipv6FlowSizePcktsLT10:GAUGE:600:U:U"
314#define RRD_PARAM_MIB_IPV6_FS_7 "DS:ipv6FlowSizePcktsLT100:GAUGE:600:U:U"
315#define RRD_PARAM_MIB_IPV6_FS_8 "DS:ipv6FlowSizePcktsLT1k:GAUGE:600:U:U"
316#define RRD_PARAM_MIB_IPV6_FS_9 "DS:ipv6FlowSizePcktsLT10k:GAUGE:600:U:U"
317#define RRD_PARAM_MIB_IPV6_FS_10 "DS:ipv6FlowSizePcktsMT10k:GAUGE:600:U:U"
318#define RRD_PARAM_MIB_IPV6_FS_11 "DS:ipv6FlowSizeBytesLT50:GAUGE:600:U:U"
319#define RRD_PARAM_MIB_IPV6_FS_12 "DS:ipv6FlowSizeBytesLT100:GAUGE:600:U:U"
320#define RRD_PARAM_MIB_IPV6_FS_13 "DS:ipv6FlowSizeBytesLT1k:GAUGE:600:U:U"
321#define RRD_PARAM_MIB_IPV6_FS_14 "DS:ipv6FlowSizeBytesLT10k:GAUGE:600:U:U"
322#define RRD_PARAM_MIB_IPV6_FS_15 "DS:ipv6FlowSizeBytesLT100k:GAUGE:600:U:U"
323#define RRD_PARAM_MIB_IPV6_FS_16 "DS:ipv6FlowSizeBytesLT1M:GAUGE:600:U:U"
324#define RRD_PARAM_MIB_IPV6_FS_17 "DS:ipv6FlowSizeBytesLT10M:GAUGE:600:U:U"
325#define RRD_PARAM_MIB_IPV6_FS_18 "DS:ipv6FlowSizeBytesLT100M:GAUGE:600:U:U"
326#define RRD_PARAM_MIB_IPV6_FS_19 "DS:ipv6FlowSizeBytesMT100M:GAUGE:600:U:U"
327#define RRD_PARAM_MIB_IPV6_FS_20 "RRA:AVERAGE:0.5:1:2100"
328#define RRD_PARAM_MIB_IPV6_FS_21 "RRA:AVERAGE:0.5:24:1550"
329#define RRD_PARAM_MIB_IPV6_FS_22 "RRA:AVERAGE:0.5:288:1594"
330#define RRD_PARAM_MIB_IPV6_FS_23 "RRA:AVERAGE:0.5:2016:1040"
331#define RRD_PARAM_MIB_IPV6_FS_24 "RRA:MAX:0.5:1:2100"
332#define RRD_PARAM_MIB_IPV6_FS_25 "RRA:MAX:0.5:24:1550"
333#define RRD_PARAM_MIB_IPV6_FS_26 "RRA:MAX:0.5:288:1594"
334
335#define RRD_PARAM_MIB_IPV6_AP_0 "rrdcreate"
336#define RRD_PARAM_MIB_IPV6_AP_1 "--start"
337#define RRD_PARAM_MIB_IPV6_AP_2 "1106560200"
338#define RRD_PARAM_MIB_IPV6_AP_3 "--step"
339#define RRD_PARAM_MIB_IPV6_AP_4 "300"
340#define RRD_PARAM_MIB_IPV6_AP_5 "DS:ipv6WebBytesNb:GAUGE:600:U:U"
341#define RRD_PARAM_MIB_IPV6_AP_6 "DS:ipv6WebPcktsNb:GAUGE:600:U:U"
342#define RRD_PARAM_MIB_IPV6_AP_7 "DS:ipv6WebFlowNb:GAUGE:600:U:U"
343#define RRD_PARAM_MIB_IPV6_AP_8 "DS:ipv6DNSBytesNb:GAUGE:600:U:U"
344#define RRD_PARAM_MIB_IPV6_AP_9 "DS:ipv6DNSPcktsNb:GAUGE:600:U:U"
345#define RRD_PARAM_MIB_IPV6_AP_10 "DS:ipv6DNSFlowNb:GAUGE:600:U:U"
346#define RRD_PARAM_MIB_IPV6_AP_11 "DS:ipv6OthersApBytesNb:GAUGE:600:U:U"
347#define RRD_PARAM_MIB_IPV6_AP_12 "DS:ipv6OthersApPcktsNb:GAUGE:600:U:U"
348#define RRD_PARAM_MIB_IPV6_AP_13 "DS:ipv6OthersApFlowNb:GAUGE:600:U:U"
349#define RRD_PARAM_MIB_IPV6_AP_14 "RRA:AVERAGE:0.5:1:2100"
350#define RRD_PARAM_MIB_IPV6_AP_15 "RRA:AVERAGE:0.5:24:1550"
351#define RRD_PARAM_MIB_IPV6_AP_16 "RRA:AVERAGE:0.5:288:1594"
352#define RRD_PARAM_MIB_IPV6_AP_17 "RRA:AVERAGE:0.5:2016:1040"
353#define RRD_PARAM_MIB_IPV6_AP_18 "RRA:MAX:0.5:1:2100"
354#define RRD_PARAM_MIB_IPV6_AP_19 "RRA:MAX:0.5:24:1550"
355#define RRD_PARAM_MIB_IPV6_AP_20 "RRA:MAX:0.5:288:1594"
356
357#endif /* RENETCOL_MIB_H */
Note: See TracBrowser for help on using the browser.