+ change directories for ups
This commit is contained in:
parent
98167df03a
commit
eefecab93e
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::mge::mode::batterystatus;
|
||||
package hardware::ups::mge::snmp::mode::batterystatus;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::mge::mode::environment;
|
||||
package hardware::ups::mge::snmp::mode::environment;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::mge::mode::inputlines;
|
||||
package hardware::ups::mge::snmp::mode::inputlines;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::mge::mode::outputlines;
|
||||
package hardware::ups::mge::snmp::mode::outputlines;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::mge::mode::outputsource;
|
||||
package hardware::ups::mge::snmp::mode::outputsource;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::mge::plugin;
|
||||
package hardware::ups::mge::snmp::plugin;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
@ -47,11 +47,11 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'environment' => 'hardware::ups::mge::mode::environment',
|
||||
'input-lines' => 'hardware::ups::mge::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::mge::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::mge::mode::outputsource',
|
||||
'battery-status' => 'hardware::ups::mge::mode::batterystatus',
|
||||
'environment' => 'hardware::ups::mge::snmp::mode::environment',
|
||||
'input-lines' => 'hardware::ups::mge::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::mge::snmp::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::mge::snmp::mode::outputsource',
|
||||
'battery-status' => 'hardware::ups::mge::snmp::mode::batterystatus',
|
||||
);
|
||||
|
||||
return $self;
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::powerware::mode::alarms;
|
||||
package hardware::ups::powerware::snmp::mode::alarms;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::powerware::mode::batterystatus;
|
||||
package hardware::ups::powerware::snmp::mode::batterystatus;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::powerware::mode::environment;
|
||||
package hardware::ups::powerware::snmp::mode::environment;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::powerware::mode::inputlines;
|
||||
package hardware::ups::powerware::snmp::mode::inputlines;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::powerware::mode::outputlines;
|
||||
package hardware::ups::powerware::snmp::mode::outputlines;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::powerware::mode::outputsource;
|
||||
package hardware::ups::powerware::snmp::mode::outputsource;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::powerware::plugin;
|
||||
package hardware::ups::powerware::snmp::plugin;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
@ -47,12 +47,12 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'environment' => 'hardware::ups::powerware::mode::environment',
|
||||
'input-lines' => 'hardware::ups::powerware::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::powerware::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::powerware::mode::outputsource',
|
||||
'alarms' => 'hardware::ups::powerware::mode::alarms',
|
||||
'battery-status' => 'hardware::ups::powerware::mode::batterystatus',
|
||||
'environment' => 'hardware::ups::powerware::snmp::mode::environment',
|
||||
'input-lines' => 'hardware::ups::powerware::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::powerware::snmp::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::powerware::snmp::mode::outputsource',
|
||||
'alarms' => 'hardware::ups::powerware::snmp::mode::alarms',
|
||||
'battery-status' => 'hardware::ups::powerware::snmp::mode::batterystatus',
|
||||
);
|
||||
|
||||
return $self;
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::standard::rfc1628::mode::alarms;
|
||||
package hardware::ups::standard::rfc1628::snmp::mode::alarms;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::standard::rfc1628::mode::batterystatus;
|
||||
package hardware::ups::standard::rfc1628::snmp::mode::batterystatus;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::standard::rfc1628::mode::inputlines;
|
||||
package hardware::ups::standard::rfc1628::snmp::mode::inputlines;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::standard::rfc1628::mode::outputlines;
|
||||
package hardware::ups::standard::rfc1628::snmp::mode::outputlines;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::standard::rfc1628::mode::outputsource;
|
||||
package hardware::ups::standard::rfc1628::snmp::mode::outputsource;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
#
|
||||
####################################################################################
|
||||
|
||||
package hardware::ups::standard::rfc1628::plugin;
|
||||
package hardware::ups::standard::rfc1628::snmp::plugin;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
@ -47,11 +47,11 @@ sub new {
|
|||
|
||||
$self->{version} = '0.1';
|
||||
%{$self->{modes}} = (
|
||||
'battery-status' => 'hardware::ups::standard::rfc1628::mode::batterystatus',
|
||||
'input-lines' => 'hardware::ups::standard::rfc1628::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::standard::rfc1628::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::standard::rfc1628::mode::outputsource',
|
||||
'alarms' => 'hardware::ups::standard::rfc1628::mode::alarms',
|
||||
'battery-status' => 'hardware::ups::standard::rfc1628::snmp::mode::batterystatus',
|
||||
'input-lines' => 'hardware::ups::standard::rfc1628::snmp::mode::inputlines',
|
||||
'output-lines' => 'hardware::ups::standard::rfc1628::snmp::mode::outputlines',
|
||||
'output-source' => 'hardware::ups::standard::rfc1628::snmp::mode::outputsource',
|
||||
'alarms' => 'hardware::ups::standard::rfc1628::snmp::mode::alarms',
|
||||
);
|
||||
|
||||
return $self;
|
Loading…
Reference in New Issue