diff --git a/centreon-plugins/network/netasq/local/mode/qosusage.pm b/centreon-plugins/network/stormshield/local/mode/qosusage.pm similarity index 99% rename from centreon-plugins/network/netasq/local/mode/qosusage.pm rename to centreon-plugins/network/stormshield/local/mode/qosusage.pm index 2cd3d1338..fe8bc7bc2 100644 --- a/centreon-plugins/network/netasq/local/mode/qosusage.pm +++ b/centreon-plugins/network/stormshield/local/mode/qosusage.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package network::netasq::local::mode::qosusage; +package network::stormshield::local::mode::qosusage; use base qw(centreon::plugins::templates::counter); diff --git a/centreon-plugins/network/netasq/local/plugin.pm b/centreon-plugins/network/stormshield/local/plugin.pm similarity index 86% rename from centreon-plugins/network/netasq/local/plugin.pm rename to centreon-plugins/network/stormshield/local/plugin.pm index a2afd0714..f046ec1d2 100644 --- a/centreon-plugins/network/netasq/local/plugin.pm +++ b/centreon-plugins/network/stormshield/local/plugin.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package network::netasq::local::plugin; +package network::stormshield::local::plugin; use strict; use warnings; @@ -31,7 +31,7 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'qos-usage' => 'network::netasq::local::mode::qosusage', + 'qos-usage' => 'network::stormshield::local::mode::qosusage', ); return $self; @@ -43,6 +43,6 @@ __END__ =head1 PLUGIN DESCRIPTION -Check Netasq equipment. +Check Stormshield equipment (also Netasq). =cut diff --git a/centreon-plugins/network/netasq/snmp/mode/connections.pm b/centreon-plugins/network/stormshield/snmp/mode/connections.pm similarity index 91% rename from centreon-plugins/network/netasq/snmp/mode/connections.pm rename to centreon-plugins/network/stormshield/snmp/mode/connections.pm index a5532e647..7d532bdd8 100644 --- a/centreon-plugins/network/netasq/snmp/mode/connections.pm +++ b/centreon-plugins/network/stormshield/snmp/mode/connections.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package network::netasq::snmp::mode::connections; +package network::stormshield::snmp::mode::connections; use base qw(centreon::plugins::templates::counter); @@ -70,7 +70,7 @@ sub new { sub manage_selection { my ($self, %options) = @_; - $self->{cache_name} = "fw_netasq_" . $options{snmp}->get_hostname() . '_' . $options{snmp}->get_port() . '_' . $self->{mode} . '_' . md5_hex('all'); + $self->{cache_name} = "fw_stormshield_" . $options{snmp}->get_hostname() . '_' . $options{snmp}->get_port() . '_' . $self->{mode} . '_' . md5_hex('all'); my $oid_ntqASQStatsStatefulUdpConn = '.1.3.6.1.4.1.11256.1.12.1.33.0'; my $oid_ntqASQStatsStatefulTcpConn = '.1.3.6.1.4.1.11256.1.12.1.23.0'; @@ -89,7 +89,7 @@ __END__ =head1 MODE -Check connections setup rate on Netasq Firewall equipments. +Check connections setup rate on Stormshield Firewall equipments. =over 8 diff --git a/centreon-plugins/network/netasq/snmp/mode/hanodes.pm b/centreon-plugins/network/stormshield/snmp/mode/hanodes.pm similarity index 98% rename from centreon-plugins/network/netasq/snmp/mode/hanodes.pm rename to centreon-plugins/network/stormshield/snmp/mode/hanodes.pm index bf56b295e..f1053c770 100644 --- a/centreon-plugins/network/netasq/snmp/mode/hanodes.pm +++ b/centreon-plugins/network/stormshield/snmp/mode/hanodes.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package network::netasq::snmp::mode::hanodes; +package network::stormshield::snmp::mode::hanodes; use base qw(centreon::plugins::templates::counter); @@ -227,7 +227,7 @@ __END__ =head1 MODE -Check Netasq dead nodes and state and health of nodes +Check Stormshield dead nodes and state and health of nodes =over 8 diff --git a/centreon-plugins/network/netasq/snmp/mode/vpnstatus.pm b/centreon-plugins/network/stormshield/snmp/mode/vpnstatus.pm similarity index 98% rename from centreon-plugins/network/netasq/snmp/mode/vpnstatus.pm rename to centreon-plugins/network/stormshield/snmp/mode/vpnstatus.pm index feae30c78..28642edbc 100644 --- a/centreon-plugins/network/netasq/snmp/mode/vpnstatus.pm +++ b/centreon-plugins/network/stormshield/snmp/mode/vpnstatus.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package network::netasq::snmp::mode::vpnstatus; +package network::stormshield::snmp::mode::vpnstatus; use base qw(centreon::plugins::mode); @@ -163,7 +163,7 @@ sub run { $matching .= defined($self->{option_results}->{$_}) ? $self->{option_results}->{$_} : 'all'; } $self->{new_datas} = {}; - $self->{statefile_value}->read(statefile => "netasq_" . $self->{hostname} . '_' . $self->{snmp_port} . '_' . $self->{mode} . '_' . md5_hex($matching)); + $self->{statefile_value}->read(statefile => "stormshield_" . $self->{hostname} . '_' . $self->{snmp_port} . '_' . $self->{mode} . '_' . md5_hex($matching)); $self->{new_datas}->{last_timestamp} = time(); foreach my $id (sort keys %{$self->{vpn}}) { diff --git a/centreon-plugins/network/netasq/snmp/plugin.pm b/centreon-plugins/network/stormshield/snmp/plugin.pm similarity index 82% rename from centreon-plugins/network/netasq/snmp/plugin.pm rename to centreon-plugins/network/stormshield/snmp/plugin.pm index 4759a1b0b..4f1a755b2 100644 --- a/centreon-plugins/network/netasq/snmp/plugin.pm +++ b/centreon-plugins/network/stormshield/snmp/plugin.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package network::netasq::snmp::plugin; +package network::stormshield::snmp::plugin; use strict; use warnings; @@ -33,15 +33,15 @@ sub new { %{$self->{modes}} = ( 'cpu' => 'snmp_standard::mode::cpu', 'cpu-detailed' => 'snmp_standard::mode::cpudetailed', - 'connections' => 'network::netasq::snmp::mode::connections', + 'connections' => 'network::stormshield::snmp::mode::connections', 'interfaces' => 'snmp_standard::mode::interfaces', 'list-interfaces' => 'snmp_standard::mode::listinterfaces', 'load' => 'snmp_standard::mode::loadaverage', - 'ha-nodes' => 'network::netasq::snmp::mode::hanodes', + 'ha-nodes' => 'network::stormshield::snmp::mode::hanodes', 'memory' => 'os::freebsd::snmp::mode::memory', 'storage' => 'snmp_standard::mode::storage', 'swap' => 'snmp_standard::mode::swap', - 'vpn-status' => 'network::netasq::snmp::mode::vpnstatus', + 'vpn-status' => 'network::stormshield::snmp::mode::vpnstatus', ); return $self; @@ -53,6 +53,6 @@ __END__ =head1 PLUGIN DESCRIPTION -Check Netasq equipment in SNMP. +Check Stormshield equipment (also Netasq) in SNMP. =cut