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