-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcacti_graph_template_weather_-_rainfall.xml
299 lines (299 loc) · 11.5 KB
/
cacti_graph_template_weather_-_rainfall.xml
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
<cacti>
<hash_0000190d3a185786db99df5b3b270131181c7f>
<name>Weather - Rainfall</name>
<graph>
<t_title>on</t_title>
<title>Weather - Rainfall</title>
<t_image_format_id></t_image_format_id>
<image_format_id>1</image_format_id>
<t_height></t_height>
<height>200</height>
<t_width></t_width>
<width>700</width>
<t_slope_mode></t_slope_mode>
<slope_mode>on</slope_mode>
<t_auto_scale></t_auto_scale>
<auto_scale>on</auto_scale>
<t_auto_scale_opts></t_auto_scale_opts>
<auto_scale_opts>1</auto_scale_opts>
<t_auto_scale_log></t_auto_scale_log>
<auto_scale_log></auto_scale_log>
<t_scale_log_units></t_scale_log_units>
<scale_log_units></scale_log_units>
<t_auto_scale_rigid></t_auto_scale_rigid>
<auto_scale_rigid></auto_scale_rigid>
<t_auto_padding></t_auto_padding>
<auto_padding>on</auto_padding>
<t_export></t_export>
<export>on</export>
<t_upper_limit></t_upper_limit>
<upper_limit>0</upper_limit>
<t_lower_limit></t_lower_limit>
<lower_limit>0</lower_limit>
<t_base_value></t_base_value>
<base_value>1000</base_value>
<t_unit_value></t_unit_value>
<unit_value></unit_value>
<t_unit_exponent_value></t_unit_exponent_value>
<unit_exponent_value>0</unit_exponent_value>
<t_vertical_label></t_vertical_label>
<vertical_label>Rainfall since 9:00am (mm)</vertical_label>
</graph>
<items>
<hash_10001997f3c22e1005fc53704e03e04e93549b>
<task_item_id>hash_0800190ad2d53d33363d4264dfc8ac3307e398</task_item_id>
<color_id>00234B</color_id>
<alpha>FF</alpha>
<graph_type_id>5</graph_type_id>
<consolidation_function_id>3</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_06001954778f2a644172b431b30db15f739f64</gprint_id>
<text_format>Rainfall since 9:00am:</text_format>
<hard_return></hard_return>
<sequence>2</sequence>
</hash_10001997f3c22e1005fc53704e03e04e93549b>
<hash_1000191475bbaa249ea5dc68b1db76b667ed97>
<task_item_id>hash_0800190ad2d53d33363d4264dfc8ac3307e398</task_item_id>
<color_id>0</color_id>
<alpha>FF</alpha>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>4</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_06001954778f2a644172b431b30db15f739f64</gprint_id>
<text_format>Current:</text_format>
<hard_return></hard_return>
<sequence>3</sequence>
</hash_1000191475bbaa249ea5dc68b1db76b667ed97>
<hash_100019553de68e720911368e737fb5d1c2f4cd>
<task_item_id>hash_0800190ad2d53d33363d4264dfc8ac3307e398</task_item_id>
<color_id>0</color_id>
<alpha>FF</alpha>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>2</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_06001954778f2a644172b431b30db15f739f64</gprint_id>
<text_format>Min:</text_format>
<hard_return></hard_return>
<sequence>4</sequence>
</hash_100019553de68e720911368e737fb5d1c2f4cd>
<hash_10001949c85bd078299540e08e9abb453d8b65>
<task_item_id>hash_0800190ad2d53d33363d4264dfc8ac3307e398</task_item_id>
<color_id>0</color_id>
<alpha>FF</alpha>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>1</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_06001954778f2a644172b431b30db15f739f64</gprint_id>
<text_format>Ave:</text_format>
<hard_return></hard_return>
<sequence>5</sequence>
</hash_10001949c85bd078299540e08e9abb453d8b65>
<hash_10001944354d88f421f39eb25660cd29b6021e>
<task_item_id>hash_0800190ad2d53d33363d4264dfc8ac3307e398</task_item_id>
<color_id>0</color_id>
<alpha>FF</alpha>
<graph_type_id>9</graph_type_id>
<consolidation_function_id>3</consolidation_function_id>
<cdef_id>0</cdef_id>
<value></value>
<gprint_id>hash_06001954778f2a644172b431b30db15f739f64</gprint_id>
<text_format>Max:</text_format>
<hard_return>on</hard_return>
<sequence>6</sequence>
</hash_10001944354d88f421f39eb25660cd29b6021e>
</items>
<inputs>
<hash_090019b1e7fb0d154592436b4f3e97ec978585>
<name>Data Source [pressure]</name>
<description></description>
<column_name>task_item_id</column_name>
<items></items>
</hash_090019b1e7fb0d154592436b4f3e97ec978585>
<hash_090019f98e5a90fe1797a2594fc53bece49233>
<name>Data Source [rainfall]</name>
<description></description>
<column_name>task_item_id</column_name>
<items>hash_00001949c85bd078299540e08e9abb453d8b65|hash_000019553de68e720911368e737fb5d1c2f4cd|hash_00001944354d88f421f39eb25660cd29b6021e|hash_0000191475bbaa249ea5dc68b1db76b667ed97|hash_00001997f3c22e1005fc53704e03e04e93549b</items>
</hash_090019f98e5a90fe1797a2594fc53bece49233>
</inputs>
</hash_0000190d3a185786db99df5b3b270131181c7f>
<hash_010019980256a962b7ed3662bec184d06b6273>
<name>BOM.au Weather</name>
<ds>
<t_name>on</t_name>
<name>Weather</name>
<data_input_id>hash_030019cbe911577f774898479d7381edd79979</data_input_id>
<t_rra_id></t_rra_id>
<t_rrd_step></t_rrd_step>
<rrd_step>1800</rrd_step>
<t_active></t_active>
<active>on</active>
<rra_items>hash_150019c21df5178e5c955013591239eb0afd46|hash_1500190d9c0af8b8acdc7807943937b3208e29|hash_1500196fc2d038fb42950138b0ce3e9874cc60|hash_150019e36f3adb9f152adfa5dc50fd2b23337e|hash_150019283ea2bf1634d92ce081ec82a634f513</rra_items>
</ds>
<items>
<hash_0800192bd6ff2f6230de94b71634466e3df792>
<t_data_source_name></t_data_source_name>
<data_source_name>temp</data_source_name>
<t_rrd_minimum></t_rrd_minimum>
<rrd_minimum>0</rrd_minimum>
<t_rrd_maximum></t_rrd_maximum>
<rrd_maximum>0</rrd_maximum>
<t_data_source_type_id></t_data_source_type_id>
<data_source_type_id>1</data_source_type_id>
<t_rrd_heartbeat></t_rrd_heartbeat>
<rrd_heartbeat>3600</rrd_heartbeat>
<t_data_input_field_id></t_data_input_field_id>
<data_input_field_id>hash_0700198cc2c8f230e84eb860f50af30d4bdb3c</data_input_field_id>
</hash_0800192bd6ff2f6230de94b71634466e3df792>
<hash_0800191f8c579f798ef1770f8730c582b6e6b4>
<t_data_source_name></t_data_source_name>
<data_source_name>humidity</data_source_name>
<t_rrd_minimum></t_rrd_minimum>
<rrd_minimum>0</rrd_minimum>
<t_rrd_maximum></t_rrd_maximum>
<rrd_maximum>100</rrd_maximum>
<t_data_source_type_id></t_data_source_type_id>
<data_source_type_id>1</data_source_type_id>
<t_rrd_heartbeat></t_rrd_heartbeat>
<rrd_heartbeat>3600</rrd_heartbeat>
<t_data_input_field_id></t_data_input_field_id>
<data_input_field_id>hash_070019fabcb05b09f2a6ee451f8445ee48bbd9</data_input_field_id>
</hash_0800191f8c579f798ef1770f8730c582b6e6b4>
<hash_08001934ff4b82a2043c2c4e003c30b804a39d>
<t_data_source_name></t_data_source_name>
<data_source_name>pressure</data_source_name>
<t_rrd_minimum></t_rrd_minimum>
<rrd_minimum>0</rrd_minimum>
<t_rrd_maximum></t_rrd_maximum>
<rrd_maximum>0</rrd_maximum>
<t_data_source_type_id></t_data_source_type_id>
<data_source_type_id>1</data_source_type_id>
<t_rrd_heartbeat></t_rrd_heartbeat>
<rrd_heartbeat>3600</rrd_heartbeat>
<t_data_input_field_id></t_data_input_field_id>
<data_input_field_id>hash_0700197af4c38705283fc647c977c2e1ee22d2</data_input_field_id>
</hash_08001934ff4b82a2043c2c4e003c30b804a39d>
<hash_0800190ad2d53d33363d4264dfc8ac3307e398>
<t_data_source_name></t_data_source_name>
<data_source_name>rainfall</data_source_name>
<t_rrd_minimum></t_rrd_minimum>
<rrd_minimum>0</rrd_minimum>
<t_rrd_maximum></t_rrd_maximum>
<rrd_maximum>0</rrd_maximum>
<t_data_source_type_id></t_data_source_type_id>
<data_source_type_id>1</data_source_type_id>
<t_rrd_heartbeat></t_rrd_heartbeat>
<rrd_heartbeat>3600</rrd_heartbeat>
<t_data_input_field_id></t_data_input_field_id>
<data_input_field_id>hash_070019dc56e8a9eca44c0660fc3ffd0a24433d</data_input_field_id>
</hash_0800190ad2d53d33363d4264dfc8ac3307e398>
</items>
<data>
<item_000>
<data_input_field_id>hash_070019a978615d0fa58006147464259b758074</data_input_field_id>
<t_value>on</t_value>
<value></value>
</item_000>
</data>
</hash_010019980256a962b7ed3662bec184d06b6273>
<hash_030019cbe911577f774898479d7381edd79979>
<name>BOM.au Weather</name>
<type_id>1</type_id>
<input_string>python /usr/share/cacti/site/scripts/weather.py <url> <location></input_string>
<fields>
<hash_070019a978615d0fa58006147464259b758074>
<name>URL of weather data</name>
<update_rra></update_rra>
<regexp_match></regexp_match>
<allow_nulls></allow_nulls>
<type_code></type_code>
<input_output>in</input_output>
<data_name>url</data_name>
</hash_070019a978615d0fa58006147464259b758074>
<hash_0700198cc2c8f230e84eb860f50af30d4bdb3c>
<name>Temperature</name>
<update_rra>on</update_rra>
<regexp_match></regexp_match>
<allow_nulls></allow_nulls>
<type_code></type_code>
<input_output>out</input_output>
<data_name>temp</data_name>
</hash_0700198cc2c8f230e84eb860f50af30d4bdb3c>
<hash_070019fabcb05b09f2a6ee451f8445ee48bbd9>
<name>Relative Humidity</name>
<update_rra>on</update_rra>
<regexp_match></regexp_match>
<allow_nulls></allow_nulls>
<type_code></type_code>
<input_output>out</input_output>
<data_name>humidity</data_name>
</hash_070019fabcb05b09f2a6ee451f8445ee48bbd9>
<hash_0700197af4c38705283fc647c977c2e1ee22d2>
<name>Pressure QNH (hPa)</name>
<update_rra>on</update_rra>
<regexp_match></regexp_match>
<allow_nulls></allow_nulls>
<type_code></type_code>
<input_output>out</input_output>
<data_name>pressure</data_name>
</hash_0700197af4c38705283fc647c977c2e1ee22d2>
<hash_070019dc56e8a9eca44c0660fc3ffd0a24433d>
<name>Rainfall since 9am</name>
<update_rra>on</update_rra>
<regexp_match></regexp_match>
<allow_nulls></allow_nulls>
<type_code></type_code>
<input_output>out</input_output>
<data_name>rainfall</data_name>
</hash_070019dc56e8a9eca44c0660fc3ffd0a24433d>
</fields>
</hash_030019cbe911577f774898479d7381edd79979>
<hash_150019c21df5178e5c955013591239eb0afd46>
<name>Daily (5 Minute Average)</name>
<x_files_factor>0.5</x_files_factor>
<steps>1</steps>
<rows>600</rows>
<timespan>86400</timespan>
<cf_items>1|2|3|4</cf_items>
</hash_150019c21df5178e5c955013591239eb0afd46>
<hash_1500190d9c0af8b8acdc7807943937b3208e29>
<name>Weekly (30 Minute Average)</name>
<x_files_factor>0.5</x_files_factor>
<steps>6</steps>
<rows>700</rows>
<timespan>604800</timespan>
<cf_items>1|2|3|4</cf_items>
</hash_1500190d9c0af8b8acdc7807943937b3208e29>
<hash_1500196fc2d038fb42950138b0ce3e9874cc60>
<name>Monthly (2 Hour Average)</name>
<x_files_factor>0.5</x_files_factor>
<steps>24</steps>
<rows>775</rows>
<timespan>2678400</timespan>
<cf_items>1|2|3|4</cf_items>
</hash_1500196fc2d038fb42950138b0ce3e9874cc60>
<hash_150019e36f3adb9f152adfa5dc50fd2b23337e>
<name>Yearly (1 Day Average)</name>
<x_files_factor>0.5</x_files_factor>
<steps>288</steps>
<rows>797</rows>
<timespan>33053184</timespan>
<cf_items>1|2|3|4</cf_items>
</hash_150019e36f3adb9f152adfa5dc50fd2b23337e>
<hash_150019283ea2bf1634d92ce081ec82a634f513>
<name>Hourly (1 Minute Average)</name>
<x_files_factor>0.5</x_files_factor>
<steps>1</steps>
<rows>500</rows>
<timespan>14400</timespan>
<cf_items>1|3</cf_items>
</hash_150019283ea2bf1634d92ce081ec82a634f513>
<hash_06001954778f2a644172b431b30db15f739f64>
<name>Exact Numbers.0</name>
<gprint_text>%8.1lf</gprint_text>
</hash_06001954778f2a644172b431b30db15f739f64>
</cacti>