new release and change path

This commit is contained in:
qgarnier 2017-08-09 11:41:24 +02:00
parent 67f646e818
commit 6a125f24f4
16 changed files with 28 additions and 26 deletions

View File

@ -30,7 +30,7 @@ use Pod::Find qw(pod_where);
my %handlers = (DIE => {}); my %handlers = (DIE => {});
my $global_version = 20170808; my $global_version = 20170809;
my $alternative_fatpacker = 0; my $alternative_fatpacker = 0;
sub new { sub new {

View File

@ -1,4 +1,4 @@
2017-08-08 Quentin Garnier <qgarnier@centreon.com> 2017-08-09 Quentin Garnier <qgarnier@centreon.com>
* Plugin added: Ruckus AP SNMP * Plugin added: Ruckus AP SNMP
* Plugin added: Adva FSP3000 SNMP * Plugin added: Adva FSP3000 SNMP
* Plugin added: Nokia Timos SNMP * Plugin added: Nokia Timos SNMP
@ -6,6 +6,8 @@
* Plugin added: Hibernate JMX * Plugin added: Hibernate JMX
* Break: mode change for Pfsense SNMP * Break: mode change for Pfsense SNMP
* Break: mode change for HP MSL SNMP * Break: mode change for HP MSL SNMP
* Break: mode change for Juniper ISG SNMP
* Break: mode change for Digi Standard (sarian now) SNMP
2017-07-13 Quentin Garnier <qgarnier@centreon.com> 2017-07-13 Quentin Garnier <qgarnier@centreon.com>
* Plugin added: Supermicro SNMP * Plugin added: Supermicro SNMP

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::digi::standard::snmp::mode::cpu; package network::digi::sarian::snmp::mode::cpu;
use base qw(centreon::plugins::mode); use base qw(centreon::plugins::mode);

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::digi::standard::snmp::mode::gprs; package network::digi::sarian::snmp::mode::gprs;
use base qw(centreon::plugins::templates::counter); use base qw(centreon::plugins::templates::counter);

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::digi::standard::snmp::mode::memory; package network::digi::sarian::snmp::mode::memory;
use base qw(centreon::plugins::mode); use base qw(centreon::plugins::mode);

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::digi::standard::snmp::mode::temperature; package network::digi::sarian::snmp::mode::temperature;
use base qw(centreon::plugins::templates::counter); use base qw(centreon::plugins::templates::counter);

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::digi::standard::snmp::plugin; package network::digi::sarian::snmp::plugin;
use strict; use strict;
use warnings; use warnings;
@ -33,10 +33,10 @@ sub new {
%{$self->{modes}} = ( %{$self->{modes}} = (
'interfaces' => 'snmp_standard::mode::interfaces', 'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces', 'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'cpu' => 'network::digi::standard::snmp::mode::cpu', 'cpu' => 'network::digi::sarian::snmp::mode::cpu',
'memory' => 'network::digi::standard::snmp::mode::memory', 'memory' => 'network::digi::sarian::snmp::mode::memory',
'temperature' => 'network::digi::standard::snmp::mode::temperature', 'temperature' => 'network::digi::sarian::snmp::mode::temperature',
'gprs' => 'network::digi::standard::snmp::mode::gprs', 'gprs' => 'network::digi::sarian::snmp::mode::gprs',
); );
return $self; return $self;

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::juniper::common::screenos::mode::components::fan; package network::juniper::common::screenos::snmp::mode::components::fan;
use strict; use strict;
use warnings; use warnings;

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::juniper::common::screenos::mode::components::module; package network::juniper::common::screenos::snmp::mode::components::module;
use strict; use strict;
use warnings; use warnings;

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::juniper::common::screenos::mode::components::psu; package network::juniper::common::screenos::snmp::mode::components::psu;
use strict; use strict;
use warnings; use warnings;

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::juniper::common::screenos::mode::components::temperature; package network::juniper::common::screenos::snmp::mode::components::temperature;
use strict; use strict;
use warnings; use warnings;
@ -66,4 +66,4 @@ sub check {
} }
} }
1; 1;

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::juniper::common::screenos::mode::cpu; package network::juniper::common::screenos::snmp::mode::cpu;
use base qw(centreon::plugins::mode); use base qw(centreon::plugins::mode);

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::juniper::common::screenos::mode::hardware; package network::juniper::common::screenos::snmp::mode::hardware;
use base qw(centreon::plugins::templates::hardware); use base qw(centreon::plugins::templates::hardware);
@ -48,7 +48,7 @@ sub set_system {
], ],
}; };
$self->{components_path} = 'network::juniper::common::screenos::mode::components'; $self->{components_path} = 'network::juniper::common::screenos::snmp::mode::components';
$self->{components_module} = ['psu', 'fan', 'temperature', 'module']; $self->{components_module} = ['psu', 'fan', 'temperature', 'module'];
} }

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::juniper::common::screenos::mode::memory; package network::juniper::common::screenos::snmp::mode::memory;
use base qw(centreon::plugins::mode); use base qw(centreon::plugins::mode);

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::juniper::common::screenos::mode::sessions; package network::juniper::common::screenos::snmp::mode::sessions;
use base qw(centreon::plugins::templates::counter); use base qw(centreon::plugins::templates::counter);

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::juniper::isg::plugin; package network::juniper::snmp::isg::plugin;
use strict; use strict;
use warnings; use warnings;
@ -31,10 +31,10 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'cpu' => 'network::juniper::common::screenos::mode::cpu', 'cpu' => 'network::juniper::common::screenos::snmp::mode::cpu',
'memory' => 'network::juniper::common::screenos::mode::memory', 'memory' => 'network::juniper::common::screenos::snmp::mode::memory',
'sessions' => 'network::juniper::common::screenos::mode::sessions', 'sessions' => 'network::juniper::common::screenos::snmp::mode::sessions',
'hardware' => 'network::juniper::common::screenos::mode::hardware', 'hardware' => 'network::juniper::common::screenos::snmp::mode::hardware',
'interfaces' => 'snmp_standard::mode::interfaces', 'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces', 'list-interfaces' => 'snmp_standard::mode::listinterfaces',
); );