+ Cleanup library not used in pm
This commit is contained in:
parent
631e28d2ec
commit
3964473952
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use File::Basename;
|
||||
use XML::LibXML;
|
||||
use Win32;
|
||||
|
|
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use centreon::common::db;
|
||||
use centreon::common::logger;
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use centreon::common::powershell::exchange::2010::activesyncmailbox;
|
||||
|
||||
my %threshold = ('warning' => 'warning', 'critical' => 'critical');
|
||||
|
|
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use centreon::common::powershell::exchange::2010::databases;
|
||||
|
||||
my %threshold = ('warning_mapi' => 'warning', 'critical_mapi' => 'critical',
|
||||
|
|
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use centreon::common::powershell::exchange::2010::imapmailbox;
|
||||
|
||||
my %threshold = ('warning' => 'warning', 'critical' => 'critical');
|
||||
|
|
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use centreon::common::powershell::exchange::2010::mapimailbox;
|
||||
|
||||
my %threshold = ('warning_mapi' => 'warning', 'critical_mapi' => 'critical');
|
||||
|
|
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -37,7 +37,6 @@ package apps::protocols::imap::lib::imap;
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use Net::IMAP::Simple;
|
||||
|
||||
my $imap_handle;
|
||||
|
|
|
@ -37,7 +37,6 @@ package apps::protocols::smtp::lib::smtp;
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use Email::Send::SMTP::Gmail;
|
||||
|
||||
my $smtp_handle;
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::httplib;
|
||||
use centreon::plugins::misc;
|
||||
use centreon::plugins::statefile;
|
||||
use Digest::MD5 qw(md5_hex);
|
||||
use XML::XPath;
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -37,6 +37,7 @@ package hardware::server::hpproliant::mode::components::network;
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
my %conditions = (
|
||||
1 => ['other', 'CRITICAL'],
|
||||
|
|
|
@ -37,7 +37,6 @@ package hardware::server::hpproliant::mode::components::sas;
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
# In 'CPQSCSI-MIB.mib'
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use hardware::server::sun::mgmt_cards::lib::telnet;
|
||||
use centreon::plugins::statefile;
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use centreon::plugins::misc;
|
||||
use hardware::server::sun::mgmt_cards::components::showenvironment::resources qw($thresholds);
|
||||
use hardware::server::sun::mgmt_cards::components::showenvironment::psu;
|
||||
use hardware::server::sun::mgmt_cards::components::showenvironment::fan;
|
||||
|
|
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
my %error_status = (
|
||||
1 => ["The domain '%s' status is normal", 'OK'],
|
||||
|
|
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use os::solaris::local::mode::lomv120components::fan;
|
||||
use os::solaris::local::mode::lomv120components::psu;
|
||||
use os::solaris::local::mode::lomv120components::voltage;
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
my %errors_printer = (
|
||||
0 => ["Printer is low paper", 'WARNING'],
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
my %states = (
|
||||
read_cache => [
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use storage::emc::clariion::mode::spcomponents::fan;
|
||||
use storage::emc::clariion::mode::spcomponents::lcc;
|
||||
use storage::emc::clariion::mode::spcomponents::psu;
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
|
|
|
@ -37,7 +37,6 @@ package storage::hp::p2000::xmlapi::custom;
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use centreon::plugins::httplib;
|
||||
use XML::XPath;
|
||||
use Digest::MD5 qw(md5_hex);
|
||||
|
|
|
@ -39,7 +39,6 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::misc;
|
||||
use storage::hp::p2000::xmlapi::mode::components::disk;
|
||||
use storage::hp::p2000::xmlapi::mode::components::vdisk;
|
||||
use storage::hp::p2000::xmlapi::mode::components::sensors;
|
||||
|
|
Loading…
Reference in New Issue