1# This is the template definition file.  To use it, see pmp-cacti-template.
2#
3# This program is copyright (c) 2014 Roman Vynar. Feedback and improvements
4# are welcome.
5#
6# THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
7# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
8# MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
9#
10# This program is free software; you can redistribute it and/or modify it under
11# the terms of the GNU General Public License as published by the Free Software
12# Foundation, version 2.
13#
14# You should have received a copy of the GNU General Public License along with
15# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16# Place, Suite 330, Boston, MA  02111-1307  USA.
17
18# Autobuild: ss_get_rds_stats.py
19
20{
21   name   => 'Amazon RDS Server',
22   hash   => 'hash_02_VER_475e905ca7d161c6c626c47fa4fa0c59',
23   version => {
24      version => '$VERSION$',
25      hash    => 'hash_06_VER_419c461546f918cce3704fbbab666039',
26   },
27   checksum => 'hash_06_VER_dd8bace85b2a47b7cdf8926b84954dc2',
28   graphs => [
29      {  name       => 'RDS Binlog Disk Usage',
30         base_value => '1024',
31         hash       => 'hash_00_VER_3f3d6b30ff7805a46fe1ca454f9ccfbc',
32         dt         => {
33            hash       => 'hash_01_VER_e03c8e82b192dffbccb7258730114e82',
34            input      => 'Get RDS Stats/BinLogDiskUsage',
35            binlog_disk_usage => {
36               data_source_type_id => '1',
37               hash => 'hash_08_VER_729129dea15d64a72219a5043d238092'
38            },
39         },
40         items => [
41            {  item   => 'binlog_disk_usage',
42               color  => '9E8655',
43               task   => 'hash_09_VER_7531a3943ecb8894231d8c63a34663e2',
44               type   => 'AREA',
45               hashes => [
46                  'hash_10_VER_27de130d1c007e2f61ca78bb692e09ee',
47                  'hash_10_VER_d1ab5abe71dd0e8f9bed19f8330bfa04',
48                  'hash_10_VER_b506f7648e3c9da3d6ac27e4ffc51906',
49                  'hash_10_VER_f2bc1a509736a43c908520d2f023794d'
50               ],
51            },
52         ],
53      },
54      {  name       => 'RDS CPU Utilization',
55         base_value => '1000',
56         hash       => 'hash_00_VER_98d7f90931873d43ca9bdae4c04459d5',
57         dt         => {
58            hash       => 'hash_01_VER_69feec4991549892c15693c049976e62',
59            input      => 'Get RDS Stats/CPUUtilization',
60            utilization => {
61               data_source_type_id => '1',
62               hash => 'hash_08_VER_da3b70b5bbf31c436d6dda4a468bc31d'
63            },
64         },
65         items => [
66            {  item   => 'utilization',
67               color  => 'EB6841',
68               task   => 'hash_09_VER_46e055b7a9bced6e039f6eb629905776',
69               type   => 'AREA',
70               hashes => [
71                  'hash_10_VER_c559b0a4cabd524bf5b3f4a83e7b76ac',
72                  'hash_10_VER_51910baef98d86d86642204c9fda8bae',
73                  'hash_10_VER_fd80e539954a05e16c97a21f6a28f9d4',
74                  'hash_10_VER_b98af70d54095f99439cb404165b0ca7'
75               ],
76            },
77         ],
78      },
79      {  name       => 'RDS Database Connections',
80         base_value => '1000',
81         hash       => 'hash_00_VER_7ee1ed94d9d9255854089bab8a219470',
82         dt         => {
83            hash       => 'hash_01_VER_3cc221caaca52c53de9ccdbb33759736',
84            input      => 'Get RDS Stats/DatabaseConnections',
85            connections => {
86               data_source_type_id => '1',
87               hash => 'hash_08_VER_f9ad49bc2fb154d488ea9d8b10d91924'
88            },
89         },
90         items => [
91            {  item   => 'connections',
92               color  => '002A97',
93               task   => 'hash_09_VER_28278e1401bac8f432ea4433a0e86f01',
94               type   => 'LINE1',
95               hashes => [
96                  'hash_10_VER_7da0218bf39e110d0815f496e0f57830',
97                  'hash_10_VER_9b89e5254fb8b67e582f4ef1d927164d',
98                  'hash_10_VER_77475c2d9d85f379cf01f25a0cc7b07a',
99                  'hash_10_VER_c383b39245ea4cbfb27a8bd7f2f5f2d0'
100               ],
101            },
102         ],
103      },
104      {  name       => 'RDS Disk Queue Depth',
105         base_value => '1000',
106         hash       => 'hash_00_VER_2ac8ae4c5c850ebc6ee1cbcbb2072f01',
107         dt         => {
108            hash       => 'hash_01_VER_b07b85cd06e20f34f632a6ab2fa78426',
109            input      => 'Get RDS Stats/DiskQueueDepth',
110            disk_queue_depth => {
111               data_source_type_id => '1',
112               hash => 'hash_08_VER_aac78576e9df13fd9381bcd80ad836d3'
113            },
114         },
115         items => [
116            {  item   => 'disk_queue_depth',
117               color  => '7020AF',
118               task   => 'hash_09_VER_2b73df3b092b8f9967336a9f8911f1e9',
119               type   => 'LINE1',
120               hashes => [
121                  'hash_10_VER_a8df2d741dbe1f53d34ee824dad0e8c4',
122                  'hash_10_VER_31dcfa47df0582338a53823828fad8e8',
123                  'hash_10_VER_01d3860451aa5518da0298c0f4b152d9',
124                  'hash_10_VER_283851ce8d07f5c0112fa241a51d2703'
125               ],
126            },
127         ],
128      },
129      {  name       => 'RDS Replica Lag',
130         base_value => '1000',
131         hash       => 'hash_00_VER_4745fb573131d776e662b27566818303',
132         dt         => {
133            hash       => 'hash_01_VER_5a6ec499d9626f67013ea5bbbd9b37bd',
134            input      => 'Get RDS Stats/ReplicaLag',
135            replica_lag => {
136               data_source_type_id => '1',
137               hash => 'hash_08_VER_a0b82e53025e622d3e304c9d612553e1'
138            },
139         },
140         items => [
141            {  item   => 'replica_lag',
142               color  => 'B3092B',
143               task   => 'hash_09_VER_dafadbf826a4113571acb1c0beb6f835',
144               type   => 'LINE1',
145               hashes => [
146                  'hash_10_VER_0dec04a1009a81bc8bd4a75935151e42',
147                  'hash_10_VER_0a0e7e544ab3bfb04b1564ceec0948e8',
148                  'hash_10_VER_74e6ef7a347cae4fac45f33584c616d9',
149                  'hash_10_VER_307ef40a0728a93892d580378e2f9d0e'
150               ],
151            },
152         ],
153      },
154      {  name       => 'RDS Memory',
155         base_value => '1024',
156         hash       => 'hash_00_VER_e181aee8c080e0a2c2b302ff194e3915',
157         dt         => {
158            hash       => 'hash_01_VER_b5c871240ccbdf8f29c71276e3d2bd60',
159            input      => 'Get RDS Stats/FreeableMemory',
160            total_memory   => {
161               data_source_type_id => '1',
162               hash => 'hash_08_VER_743d85c882436931a4d327502c444b85'
163            },
164            used_memory => {
165               data_source_type_id => '1',
166               hash => 'hash_08_VER_a7243984a30a5e873549069e0efc4435'
167            },
168         },
169         items => [
170            {  item   => 'total_memory',
171               color  => 'FFDB87',
172               task   => 'hash_09_VER_23109343df6b17c3717b2689e19b9cd0',
173               type   => 'AREA',
174               hashes => [
175                  'hash_10_VER_9a4f86a39552212fb34823235c20e784',
176                  'hash_10_VER_bb6efe7ab97b07333acbe6e6daabdd54'
177               ],
178            },
179            {  item   => 'used_memory',
180               color  => '850707',
181               task   => 'hash_09_VER_0aedabf257811e1127e5641b0b7dc93d',
182               type   => 'AREA',
183               hashes => [
184                  'hash_10_VER_3c2ff89abb03382d54a5396717981dfc',
185                  'hash_10_VER_e5550c1c7dcee33f0554676f0f609bdb',
186                  'hash_10_VER_c0b9f490d33678c42460e9df4eaa0b81',
187                  'hash_10_VER_10b0e2c425812d50b787c70f15467323'
188               ],
189            },
190         ],
191      },
192      {  name       => 'RDS Storage Space',
193         base_value => '1024',
194         hash       => 'hash_00_VER_99c980448a043429227d2747ef8ec600',
195         dt         => {
196            hash       => 'hash_01_VER_4bc5aa00d4c9bf970d6224a7bed59b06',
197            input      => 'Get RDS Stats/FreeStorageSpace',
198            total_space => {
199               data_source_type_id => '1',
200               hash => 'hash_08_VER_0e63935883d0e331354d23ca7f68b136',
201            },
202            used_space => {
203               data_source_type_id => '1',
204               hash => 'hash_08_VER_44d4db8d7e97af7f8d739600a50bce8c',
205            },
206         },
207         items => [
208            {  item   => 'total_space',
209               color  => '0E4E5A',
210               task   => 'hash_09_VER_9c6f656a82d29aab6ee91f6f53be9f2c',
211               type   => 'AREA',
212               hashes => [
213                  'hash_10_VER_053584dc66a7c1b030137867c68616b3',
214                  'hash_10_VER_9f0666a8761d0356f52c95c9f05fc573'
215               ],
216            },
217            {  item   => 'used_space',
218               color  => '62BECB',
219               task   => 'hash_09_VER_96f9f50c27a0d4eb23684e2166ef4552',
220               type   => 'AREA',
221               hashes => [
222                  'hash_10_VER_6af8e7b6247c7fb6a59e4b7c8444afc2',
223                  'hash_10_VER_8da06a701aba52706bde5632a28b8f36',
224                  'hash_10_VER_2e155ef5673eb63544282f3993c9260c',
225                  'hash_10_VER_075f02a0a7a0782e5d7eecdf30a05cdd'
226               ],
227            },
228         ],
229      },
230      {  name       => 'RDS Swap Usage',
231         base_value => '1024',
232         hash       => 'hash_00_VER_aee8656af0361c9cba37ca623b8455db',
233         dt         => {
234            hash       => 'hash_01_VER_ef75d8c47a5b25837aac6b8fed61fdb4',
235            input      => 'Get RDS Stats/SwapUsage',
236            swap_usage => {
237               data_source_type_id => '1',
238               hash => 'hash_08_VER_151289532c2212ecf388fa7fc0d615b8',
239            },
240         },
241         items => [
242            {  item   => 'swap_usage',
243               color  => '4F7774',
244               task   => 'hash_09_VER_852259676e383002fb0c5540061b5ac5',
245               type   => 'AREA',
246               hashes => [
247                  'hash_10_VER_10229ffa848c9bb3834a83505f08e779',
248                  'hash_10_VER_c8a38a6ff27a46a313f9a1a3537db016',
249                  'hash_10_VER_0582801fa0c3eb835d8bf5c22ccc2b3b',
250                  'hash_10_VER_5cbd14ba89712f1954f89b2f20264b6b'
251               ],
252            },
253         ],
254      },
255      {  name       => 'RDS Disk IOPS',
256         base_value => '1000',
257         hash       => 'hash_00_VER_839a4773c29fe6c5dbe03494083916fc',
258         dt         => {
259            hash       => 'hash_01_VER_690d1415c56ffeca296a2ca961b14b4a',
260            input      => 'Get RDS Stats/DiskIOPS',
261            read_iops   => {
262               data_source_type_id => '1',
263               hash => 'hash_08_VER_13e420788ddd69025c936a69c75133a1',
264            },
265            write_iops  => {
266               data_source_type_id => '1',
267               hash => 'hash_08_VER_c3b5075840881eb2568ce6c7b07cbf78',
268            },
269         },
270         items => [
271            {  item   => 'read_iops',
272               color  => '668284',
273               task   => 'hash_09_VER_e18a0adaa90c0cd54430b8909be0e61b',
274               type   => 'AREA',
275               hashes => [
276                  'hash_10_VER_b5d8eea4a300f966461035a99a08c00b',
277                  'hash_10_VER_54e6ea808d1b3f55a7d8529cb1c1d379',
278                  'hash_10_VER_0a60345408647ac6a8f14907ce30340e',
279                  'hash_10_VER_33773ed1458899c28758abd547d09190'
280               ],
281            },
282            {  item   => 'write_iops',
283               color  => '7B3B3B',
284               task   => 'hash_09_VER_5bf24e5bab9c41bc51f6ccfbf56b0589',
285               type   => 'AREA',
286               cdef   => 'Negate',
287               hashes => [
288                  'hash_10_VER_b4e9ad69b5e3a717fa555c69248bb5a0',
289                  'hash_10_VER_2d87b039ec7f538be5b8f0581b4e0fed',
290                  'hash_10_VER_c16e535cf5b6d360ebbed0aa5e46580c',
291                  'hash_10_VER_a096fa76d0a159154590d270f810f6dc'
292               ],
293            },
294         ],
295      },
296      {  name       => 'RDS Disk Latency (ms)',
297         base_value => '1000',
298         hash       => 'hash_00_VER_78d9b5a5d3f6fecd6803bb47198eee88',
299         dt         => {
300            hash       => 'hash_01_VER_3e81c171c3e352237afd013d080ea2d0',
301            input      => 'Get RDS Stats/DiskLatency',
302            read_latency => {
303               data_source_type_id => '1',
304               hash => 'hash_08_VER_387b5cf4ec7b8575e0e4d079cca6e866',
305            },
306            write_latency => {
307               data_source_type_id => '1',
308               hash => 'hash_08_VER_cea2a269772ae717b7d51727ddbebd21',
309            },
310         },
311         items => [
312            {  item   => 'read_latency',
313               color  => '75637E',
314               task   => 'hash_09_VER_975722587e7a3f86b2c758d68a80545f',
315               type   => 'AREA',
316               hashes => [
317                  'hash_10_VER_9a2b2fb23c9e4f05826b44046cab93cf',
318                  'hash_10_VER_9dee57ff3f8c1b55ec88e20157daf023',
319                  'hash_10_VER_53f62366b17ac41c64a999800ec20075',
320                  'hash_10_VER_1efc9c6f2d413414e66026d6d11a1b73'
321               ],
322            },
323            {  item   => 'write_latency',
324               color  => '81BFE0',
325               task   => 'hash_09_VER_5193bcb1d29fb2883489849b4d956438',
326               type   => 'AREA',
327               cdef   => 'Negate',
328               hashes => [
329                  'hash_10_VER_e5fab775d5031fe4709fbbfc4a352f7d',
330                  'hash_10_VER_3632a94db949aa200fe09b8087d4b564',
331                  'hash_10_VER_7524e17fa07a22e22978ab26664e9103',
332                  'hash_10_VER_0dcb235d11313ffcd49df79ce320b5bf'
333               ],
334            },
335         ],
336      },
337      {  name       => 'RDS Disk Throughput',
338         base_value => '1024',
339         hash       => 'hash_00_VER_cb8a7f0a8b6a567fc88965da964f5268',
340         dt         => {
341            hash       => 'hash_01_VER_e476c26ed12f80cf930a83bbd98f12cf',
342            input      => 'Get RDS Stats/DiskThroughput',
343            read_throughput => {
344               data_source_type_id => '1',
345               hash => 'hash_08_VER_7d09e383209f7289902dfae7f27b28bf',
346            },
347            write_throughput => {
348               data_source_type_id => '1',
349               hash => 'hash_08_VER_2392b2054d88b4f96753b47bb3a010ed',
350            },
351         },
352         items => [
353            {  item   => 'read_throughput',
354               color  => '755E5E',
355               task   => 'hash_09_VER_eafe3dc1ecf5ebc651297a5405445a17',
356               type   => 'AREA',
357               hashes => [
358                  'hash_10_VER_cd59560bda9e55e12a2d271b3ac1758f',
359                  'hash_10_VER_5994c9957b83027bd8bcfb9771f3abf0',
360                  'hash_10_VER_453d120b78cceacc8175d57235864948',
361                  'hash_10_VER_5abff49dd729f9c7937cff5ef0c96025'
362               ],
363            },
364            {  item   => 'write_throughput',
365               color  => 'C02942',
366               task   => 'hash_09_VER_e0c4ebc09d15223459ca87bf5870b798',
367               type   => 'AREA',
368               cdef   => 'Negate',
369               hashes => [
370                  'hash_10_VER_a241040a0b773dbe9b21091430716724',
371                  'hash_10_VER_b9947f7803439c0afbff130e943e9f1a',
372                  'hash_10_VER_9903b1a36ee4fb4ee084e6c2110fb263',
373                  'hash_10_VER_4098c6f494de481a27c5d0a4f07a0bb5'
374               ],
375            },
376         ],
377      },
378   ],
379   inputs => {
380      'Get RDS Stats/BinLogDiskUsage' => {
381         type_id      => 1,
382         hash         => 'hash_03_VER_fc8d744c6fc9960984779e437e32c548',
383         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
384                       . '--region=_<region> --profile=_<profile> '
385                       . '--ident=<hostname> --metric=BinLogDiskUsage',
386         inputs => [
387            {  allow_nulls => '',
388               hash        => 'hash_07_VER_fdc8284e6c7c3cfc9c109fa203bd962c',
389               name        => 'hostname'
390            },
391            {  allow_nulls => 'on',
392               hash        => 'hash_07_VER_1e9d56146e2a3b754cde4aba8e03223a',
393               name        => 'region',
394               override    => 1,
395            },
396            {  allow_nulls => 'on',
397               hash        => 'hash_07_VER_69b8f7df386fc9f6ec2c18214046fbf5',
398               name        => 'profile',
399               override    => 1,
400            },
401         ],
402         outputs => {
403            binlog_disk_usage => 'hash_07_VER_f84001c7839bc479553698dc517882f9',
404         },
405      },
406      'Get RDS Stats/CPUUtilization' => {
407         type_id      => 1,
408         hash         => 'hash_03_VER_96e0af6c7f13ba8917e80fc29937a7f5',
409         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
410                       . '--region=_<region> --profile=_<profile> '
411                       . '--ident=<hostname> --metric=CPUUtilization',
412         inputs => [
413            {  allow_nulls => '',
414               hash        => 'hash_07_VER_e869f35a1a45b6660020310c6b6ac686',
415               name        => 'hostname'
416            },
417            {  allow_nulls => 'on',
418               hash        => 'hash_07_VER_03305c7749b2b4e93a14e2995a7a4e3b',
419               name        => 'region',
420               override    => 1,
421            },
422            {  allow_nulls => 'on',
423               hash        => 'hash_07_VER_6b4b67bc9bcbcd2e45d54bccd3b87d2c',
424               name        => 'profile',
425               override    => 1,
426            },
427         ],
428         outputs => {
429            utilization => 'hash_07_VER_f3dce023d340333c76108ac9b844553c',
430         },
431      },
432      'Get RDS Stats/DatabaseConnections' => {
433         type_id      => 1,
434         hash         => 'hash_03_VER_625f125c254cd97956073472fa0e7535',
435         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
436                       . '--region=_<region> --profile=_<profile> '
437                       . '--ident=<hostname> --metric=DatabaseConnections',
438         inputs => [
439            {  allow_nulls => '',
440               hash        => 'hash_07_VER_102976dd7aac4093c47ff42ad85ba4dc',
441               name        => 'hostname'
442            },
443            {  allow_nulls => 'on',
444               hash        => 'hash_07_VER_f1d0601b4738cc7dc32977230827c740',
445               name        => 'region',
446               override    => 1,
447            },
448            {  allow_nulls => 'on',
449               hash        => 'hash_07_VER_ac2421f0ddeab6cc741fcdc06a06ee64',
450               name        => 'profile',
451               override    => 1,
452            },
453         ],
454         outputs => {
455            connections => 'hash_07_VER_f96375b262c8b68778149b958e875ae6',
456         },
457      },
458      'Get RDS Stats/DiskQueueDepth' => {
459         type_id      => 1,
460         hash         => 'hash_03_VER_b36f4ebb970120a31074717d5f0a73f1',
461         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
462                       . '--region=_<region> --profile=_<profile> '
463                       . '--ident=<hostname> --metric=DiskQueueDepth',
464         inputs => [
465            {  allow_nulls => '',
466               hash        => 'hash_07_VER_edbc034709d78d91c5d1bd3698576c69',
467               name        => 'hostname'
468            },
469            {  allow_nulls => 'on',
470               hash        => 'hash_07_VER_fc69fbe79f6f30f853b5258a995cc52a',
471               name        => 'region',
472               override    => 1,
473            },
474            {  allow_nulls => 'on',
475               hash        => 'hash_07_VER_9e58d9b5926d2c86c34010cea65ebc70',
476               name        => 'profile',
477               override    => 1,
478            },
479         ],
480         outputs => {
481            disk_queue_depth => 'hash_07_VER_af70294a98940d95b4d563d0b452c994',
482         },
483      },
484      'Get RDS Stats/ReplicaLag' => {
485         type_id      => 1,
486         hash         => 'hash_03_VER_47ffad13db87eeae30f3c65d72d5b57d',
487         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
488                       . '--region=_<region> --profile=_<profile> '
489                       . '--ident=<hostname> --metric=ReplicaLag',
490         inputs => [
491            {  allow_nulls => '',
492               hash        => 'hash_07_VER_51ec8d07efd0df7f569efc1b73dfde49',
493               name        => 'hostname'
494            },
495            {  allow_nulls => 'on',
496               hash        => 'hash_07_VER_fe78caf4e8a769aada669d0388e4f532',
497               name        => 'region',
498               override    => 1,
499            },
500            {  allow_nulls => 'on',
501               hash        => 'hash_07_VER_e5fb828b7af9d72f75f6acd7173c455d',
502               name        => 'profile',
503               override    => 1,
504            },
505         ],
506         outputs => {
507            replica_lag => 'hash_07_VER_4437ca5573f97abf9e802785474b9cce',
508         },
509      },
510      'Get RDS Stats/SwapUsage' => {
511         type_id      => 1,
512         hash         => 'hash_03_VER_3104e6b585cf079559c6cede8dcb57ac',
513         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
514                       . '--region=_<region> --profile=_<profile> '
515                       . '--ident=<hostname> --metric=SwapUsage',
516         inputs => [
517            {  allow_nulls => '',
518               hash        => 'hash_07_VER_9e79ee2e86b6ecc19369e1087294bacd',
519               name        => 'hostname'
520            },
521            {  allow_nulls => 'on',
522               hash        => 'hash_07_VER_9ed81a3951d843fa020f78c6c4fc3149',
523               name        => 'region',
524               override    => 1,
525            },
526            {  allow_nulls => 'on',
527               hash        => 'hash_07_VER_21b9a13b23a4fd685b6ec3615b67824c',
528               name        => 'profile',
529               override    => 1,
530            },
531         ],
532         outputs => {
533            swap_usage => 'hash_07_VER_9b8cafdc82620c4aefd817bed8901c33',
534         },
535      },
536      'Get RDS Stats/FreeableMemory' => {
537         type_id      => 1,
538         hash         => 'hash_03_VER_46ad0ef622223d9ac921c44140484e9c',
539         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
540                       . '--region=_<region> --profile=_<profile> '
541                       . '--ident=<hostname> --metric=FreeableMemory',
542         inputs => [
543            {  allow_nulls => '',
544               hash        => 'hash_07_VER_34fc76345eea2b7d4bea5e9490d02297',
545               name        => 'hostname'
546            },
547            {  allow_nulls => 'on',
548               hash        => 'hash_07_VER_14b3e9b4cc5d540dd5f65cb0b81316c9',
549               name        => 'region',
550               override    => 1,
551            },
552            {  allow_nulls => 'on',
553               hash        => 'hash_07_VER_a9c65376ce29bbe3c11b98517d27708b',
554               name        => 'profile',
555               override    => 1,
556            },
557         ],
558         outputs => {
559            used_memory => 'hash_07_VER_d1b91057a9df70006c3bbe488427e958',
560            total_memory => 'hash_07_VER_bacc064e229402d5b6ba515923d54e0b',
561         },
562      },
563      'Get RDS Stats/FreeStorageSpace' => {
564         type_id      => 1,
565         hash         => 'hash_03_VER_cb7b04b7099a83ecc6e183270e1813d7',
566         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
567                       . '--region=_<region> --profile=_<profile> '
568                       . '--ident=<hostname> --metric=FreeStorageSpace',
569         inputs => [
570            {  allow_nulls => '',
571               hash        => 'hash_07_VER_2203c1f4a38c6c9ff37bc4349ec2ed35',
572               name        => 'hostname'
573            },
574            {  allow_nulls => 'on',
575               hash        => 'hash_07_VER_225fab104129a3ce6ce630c8fb3ffbe6',
576               name        => 'region',
577               override    => 1,
578            },
579            {  allow_nulls => 'on',
580               hash        => 'hash_07_VER_f7e1afc478befc38fb788a01b72c16c6',
581               name        => 'profile',
582               override    => 1,
583            },
584         ],
585         outputs => {
586            used_space => 'hash_07_VER_dd9c4c4457d1ba587c4b44884c36b823',
587            total_space => 'hash_07_VER_083e9569124218902b0cf59e4d932d18',
588         },
589      },
590      'Get RDS Stats/DiskIOPS' => {
591         type_id      => 1,
592         hash         => 'hash_03_VER_10bd7f6024df803c6e3eb8cca35ad486',
593         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
594                       . '--region=_<region> --profile=_<profile> '
595                       . '--ident=<hostname> --metric=ReadIOPS,WriteIOPS',
596         inputs => [
597            {  allow_nulls => '',
598               hash        => 'hash_07_VER_47324c46e6bce5d569c752a1cb8e65da',
599               name        => 'hostname'
600            },
601            {  allow_nulls => 'on',
602               hash        => 'hash_07_VER_1517c1c826e70b00ffe57c86d61c4cb8',
603               name        => 'region',
604               override    => 1,
605            },
606            {  allow_nulls => 'on',
607               hash        => 'hash_07_VER_b96104d999fdbb1260f8aaa53d289bcf',
608               name        => 'profile',
609               override    => 1,
610            },
611         ],
612         outputs => {
613            read_iops => 'hash_07_VER_da2b79b87db0418645905b3d8cd965b6',
614            write_iops => 'hash_07_VER_0778f413bfecd7e3d2b7e53e9b7d1d30',
615         },
616      },
617      'Get RDS Stats/DiskLatency' => {
618         type_id      => 1,
619         hash         => 'hash_03_VER_a44b051f5f06a884b421e5b3743a4709',
620         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
621                       . '--region=_<region> --profile=_<profile> '
622                       . '--ident=<hostname> --metric=ReadLatency,WriteLatency',
623         inputs => [
624            {  allow_nulls => '',
625               hash        => 'hash_07_VER_bf218821df58890e3fa186086e7c440e',
626               name        => 'hostname'
627            },
628            {  allow_nulls => 'on',
629               hash        => 'hash_07_VER_2efa5f057bdf38554bbfe7f8ec6ef3a3',
630               name        => 'region',
631               override    => 1,
632            },
633            {  allow_nulls => 'on',
634               hash        => 'hash_07_VER_74292f44820f873e5a80abc80e9c354a',
635               name        => 'profile',
636               override    => 1,
637            },
638         ],
639         outputs => {
640            read_latency => 'hash_07_VER_8960cf3c4ea37743740d56b2ba6b6593',
641            write_latency => 'hash_07_VER_ee20f91078eb17953a91f9e74a71d9d1',
642         },
643      },
644      'Get RDS Stats/DiskThroughput' => {
645         type_id      => 1,
646         hash         => 'hash_03_VER_0614689e78516b287caa366473ac072c',
647         input_string => '<path_cacti>/scripts/ss_get_rds_stats.py '
648                       . '--region=_<region> --profile=_<profile> '
649                       . '--ident=<hostname> --metric=ReadThroughput,WriteThroughput',
650         inputs => [
651            {  allow_nulls => '',
652               hash        => 'hash_07_VER_64c79bfc359ba6c0e214b75c08018770',
653               name        => 'hostname'
654            },
655            {  allow_nulls => 'on',
656               hash        => 'hash_07_VER_a6724756214cb704da471d276c5ca2e9',
657               name        => 'region',
658               override    => 1,
659            },
660            {  allow_nulls => 'on',
661               hash        => 'hash_07_VER_a8c15dac00bb976aefa2508506e05918',
662               name        => 'profile',
663               override    => 1,
664            },
665         ],
666         outputs => {
667            read_throughput => 'hash_07_VER_6a33e92ba50edcf1c4da6ddcdb029445',
668            write_throughput => 'hash_07_VER_58bc74ba5ca40cbb211fe9423a86ebe6',
669         },
670      },
671   },
672};
673