File: Data-Profiles.md

package info (click to toggle)
cacti 1.2.24%2Bds1-1%2Bdeb12u5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 71,012 kB
  • sloc: php: 119,968; javascript: 29,780; sql: 2,632; xml: 1,823; sh: 1,248; perl: 194; makefile: 65; ruby: 9
file content (95 lines) | stat: -rw-r--r-- 2,368 bytes parent folder | download
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
# Data Source Profiles

This section will describe **Data Source Profiles** in Cacti.

![Data Source Profiles](images/data-source-profiles.png)

![Data Source Profiles Edit](images/data-source-profiles-edit1.png)

The following values are for the disk usage per Data source for the respective
data profile

### 30 second polling

Daily 48kb

Weekly 43kb

Monthly 46kb

Yearly 140kb

### 1 minute polling

Daily 93kb / data source

Weekly 45kb / data source

Monthly 47kb /datasource

Yearly 140KB/data source

### 5 minute polling

Daily 19kb / data source

Weekly 22kb / data source

Monthly 25kb / data source

Yearly 26kb / data source

![Data Source Profiles RRA Edit](images/data-source-profiles-edit2.png)

### Changing data profile averages

The Cacti GUI allows you to change the averages on a specific Data source
profile some setups require a higher resolution of data and you may want to
change the averaging to keep the most data this will come with a cost of storage
due to the bigger sized RRDfile

To do this follow these steps

#### Method 1 - New system without any hosts

1. Login to Cacti

2. Click on Presets >> Data Profiles

3. Select the profile you want to edit i.e 1 minute collection

4. Select the period which you want to edit i.e weekly

5. If you wish to change the average select the aggregate level for 1 minute
   you will be able to go as low as 5 Minutes

6. You will need to edit the Rows amount to match the data retention you want
   to set after this period the data will be averaged out to the monthly graph

7. Save config and generate graphs

#### Method 2 - Existing device(s) on system

This is a more data destructive route and it will depend on your situation.  If
you have graphs already on cacti you will not be able to use Method 1. An option
if you do not care about the graphs is to either remove the graphs via the gui
or run the following script `/cli/php remove_graphs.php with the --all`
function.

This will REMOVE ALL THE GRAPHS and you can then follow the steps outlined in
Method 1 to change the profile how you like

### Data profile Rows Calculation

The rows calculation take in to account the following

Rows = Aggregate level * hours

Example

1 Minute aggregate level storing for 3 days ( 72 hours)

(Aggregate level)60 * 72 ( 72 hours) = 4,320

---
<copy>Copyright (c) 2004-2023 The Cacti Group</copy>