~ubuntu-branches/ubuntu/trusty/ntop/trusty

« back to all changes in this revision

Viewing changes to plugins/rrdPlugin.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2008-06-15 14:38:28 UTC
  • mfrom: (2.1.11 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080615143828-oalh84nda2hje4do
Tags: 3:3.3-11
Correction of Polish translation encoding, closes: #479490. Thanks
to Christian Perrier <bubulle@debian.org> for the help.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
#define FLAG_RRD_ACTION_LIST                2
43
43
#define FLAG_RRD_ACTION_GRAPH_SUMMARY       3
44
44
#define FLAG_RRD_ACTION_NF_SUMMARY          4
45
 
#define FLAG_RRD_ACTION_ARBITRARY           5
 
45
#define FLAG_RRD_ACTION_NF_IF_SUMMARY       5
 
46
#define FLAG_RRD_ACTION_IF_SUMMARY          6
 
47
#define FLAG_RRD_ACTION_ARBITRARY           7
46
48
 
47
49
#define CONST_RRD_PERMISSIONS_PRIVATE       0
48
50
#define CONST_RRD_PERMISSIONS_GROUP         1
70
72
#define DEFAULT_RRD_MONTHS                  36   /* months of day by day data (default) */
71
73
#define DEFAULT_RRD_DUMP_DELAY              10   /* ms (default) */
72
74
 
 
75
#define AS_RRD_DUMP_PKTS_THRESHOLD          10   /* packets */
 
76
 
73
77
/* ****************************************************** */
74
78
 
75
79
/*
181
185
/* RRD_DEBUG controls debug messages in rrdPlugin.c.  See the definition in globals-defines.h,
182
186
 * where you really should set it, so the util.c calls get enabled.
183
187
 */
184
 
/* #define RRD_DEBUG */
 
188
#define RRD_DEBUG 3
185
189
 
186
190
/*
187
191
 * Optional: Set a default font for the rrd generated graphs
318
322
  NULL
319
323
};
320
324
 
 
325
static const char *rrd_summary_nf_if_octets[] = { 
 
326
  "ifInOctets",
 
327
  "ifOutOctets",
 
328
  "ifSelfOctets",
 
329
  NULL
 
330
};
 
331
 
 
332
static const char *rrd_summary_nf_if_pkts[] = { 
 
333
  "ifInPkts",
 
334
  "ifOutPkts",
 
335
  "ifSelfPkts",
 
336
 NULL
 
337
};
 
338
 
 
339
 
321
340
#ifdef MAX_RRD_PROCESS_BUFFER
322
341
static float rrdprocessBuffer[MAX_RRD_PROCESS_BUFFER];
323
342
static int rrdprocessBufferInit,