Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 90 additions & 9 deletions src/cloud/azure/network/publicip/mode/ddostraffic.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2020 Centreon (http://www.centreon.com/)
# Copyright 2026 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
Expand Down Expand Up @@ -70,6 +70,27 @@ sub get_metrics_mapping {
'nlabel' => 'publicip.ddos.inbound.packets.countpersecond',
'unit' => '/s',
'min' => '0'
},
'packetcount' => {
'output' => 'Packet Count',
'label' => 'packet-count',
'nlabel' => 'publicip.packets.count',
'unit' => '',
'min' => '0'
},
'bytecount' => {
'output' => 'Byte Count',
'label' => 'byte-count',
'nlabel' => 'publicip.bytes',
'unit' => 'B',
'min' => '0'
},
'syncount' => {
'output' => 'Syn Count',
'label' => 'syn-count',
'nlabel' => 'publicip.syn.count',
'unit' => 'B',
'min' => '0'
}
};

Expand Down Expand Up @@ -163,17 +184,77 @@ Set resource name or ID (required).

Set resource group (required if resource's name is used).

=item B<---warning-*>
=item B<---warning-ddos-dropped>

Warning threshold

=item B<--critical-ddos-dropped>

Critical threshold

=item B<---warning-ddos-forwarded>

Warning threshold

=item B<--critical-ddos-forwarded>

Critical threshold

=item B<---warning-ddos-inbound>

Warning threshold

=item B<--critical-ddos-inbound>

Critical threshold

=item B<---warning-ddos-dropped-packets>

Warning threshold

=item B<--critical-ddos-dropped-packets>

Critical threshold

=item B<---warning-ddos-forwarded-packets>

Warning threshold

=item B<--critical-ddos-forwarded-packets>

Critical threshold

=item B<---warning-ddos-inbound-packets>

Warning threshold

=item B<--critical-ddos-inbound-packets>

Critical threshold

=item B<---warning-ddos-packet-count>

Warning threshold

=item B<--critical-ddos-packet-count>

Critical threshold

=item B<---warning-ddos-byte-count>

Warning threshold

=item B<--critical-ddos-byte-count>

Critical threshold

=item B<---warning-ddos-syn-count>

Warning threshold where '*' can be:
'ddos-dropped', 'ddos-forwarded', 'ddos-inbound', 'ddos-dropped-packets',
'ddos-forwarded-packets', 'ddos-inbound-packets'.
Warning threshold

=item B<--critical-*>
=item B<--critical-ddos-syn-count>

Critical threshold where '*' can be:
'ddos-dropped', 'ddos-forwarded', 'ddos-inbound', 'ddos-dropped-packets',
'ddos-forwarded-packets', 'ddos-inbound-packets'.
Critical threshold

=back

Expand Down