Skip to content

Commit 7346fee

Browse files
authored
enh(cloud::azure::database::sqldatabase::plugin) Update help on storage mode for data warehouses and Hyperscale databases (#6234)
Refs: CTOR-1632
1 parent 550efd6 commit 7346fee

1 file changed

Lines changed: 31 additions & 8 deletions

File tree

  • src/cloud/azure/database/sqldatabase/mode

src/cloud/azure/database/sqldatabase/mode/storage.pm

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2024 Centreon (http://www.centreon.com/)
2+
# Copyright 2026-Present Centreon (http://www.centreon.com/)
33
#
44
# Centreon is a full-fledged industry-strength solution that meets
55
# the needs in IT infrastructure and application monitoring for
@@ -114,9 +114,9 @@ __END__
114114
115115
Check Azure SQL Database storage.
116116
Metrics are available with:
117-
- Tier 'DTU based' - Basic, Standard, Premium
118-
- vCore based model - General purpose & Business critical
119-
- HyperScale
117+
- C<Tier DTU based> - Basic, Standard, Premium
118+
- C<vCore based model> - General purpose & Business critical
119+
- C<HyperScale>
120120
121121
Example:
122122
@@ -136,6 +136,19 @@ Default aggregation: 'maximum', other are not identified as relevant nor availab
136136
137137
=over 8
138138
139+
=item B<--filter-metric>
140+
141+
Define metrics to exclude from queries.
142+
143+
By default, the storage mode of this monitoring connector queries the
144+
C<storage> and C<storage_percent> metrics, no metrics are excluded.
145+
146+
Be aware that the C<storage_percent> metric (Data space used percent) is not
147+
available for C<data warehouses> and C<hyperscale> databases. Using this metric on
148+
these environments will cause the plugin to report a "Bad Request" error.
149+
150+
For these environments, you must use C<--filter-metric=storage_percent> to use this mode successfully.
151+
139152
=item B<--resource>
140153
141154
Set resource name or ID (required). It is the database name.
@@ -148,13 +161,23 @@ Set resource group (required if resource's name is used).
148161
149162
Set server name (required if resource's name is used).
150163
151-
=item B<--warning-*>
164+
=item B<--warning-usage-bytes>
165+
166+
Threshold.
167+
168+
=item B<--critical-usage-bytes>
169+
170+
Threshold.
171+
172+
=item B<--warning-usage-percent>
152173
153-
Warning threshold where '*' can be: 'usage-bytes','usage-percent'.
174+
Threshold.
175+
Not applicable to C<data warehouses> or C<hyperscale> databases.
154176
155-
=item B<--critical-*>
177+
=item B<--critical-usage-percent>
156178
157-
Critical threshold where '*' can be: 'usage-bytes','usage-percent'.
179+
Threshold.
180+
Not applicable to C<data warehouses> or C<hyperscale> databases.
158181
159182
=back
160183

0 commit comments

Comments
 (0)