mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 23:24:27 +02:00
fix(plugins): squid, sahipro, slack (#2951)
This commit is contained in:
parent
79e47e098a
commit
a27e048e9c
@ -30,7 +30,7 @@ sub new {
|
|||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
|
|
||||||
$self->{version} = '0.1';
|
$self->{version} = '0.1';
|
||||||
$self->{modes} => {
|
$self->{modes} = {
|
||||||
'scenario' => 'apps::sahipro::restapi::mode::scenario'
|
'scenario' => 'apps::sahipro::restapi::mode::scenario'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,12 +30,12 @@ sub new {
|
|||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
|
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.0';
|
||||||
%{$self->{modes} => {
|
$self->{modes} = {
|
||||||
'count-channels' => 'apps::slack::restapi::mode::countchannels',
|
'count-channels' => 'apps::slack::restapi::mode::countchannels',
|
||||||
'count-members' => 'apps::slack::restapi::mode::countmembers'
|
'count-members' => 'apps::slack::restapi::mode::countmembers'
|
||||||
};
|
};
|
||||||
|
|
||||||
$self->{custom_modes}{restapi} = 'apps::slack::restapi::custom::api';
|
$self->{custom_modes}->{restapi} = 'apps::slack::restapi::custom::api';
|
||||||
return $self;
|
return $self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,9 +30,9 @@ sub new {
|
|||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
|
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.0';
|
||||||
%{$self->{modes} => {
|
$self->{modes} = {
|
||||||
'cache-usage' => 'apps::squid::snmp::mode::cacheusage',
|
'cache-usage' => 'apps::squid::snmp::mode::cacheusage',
|
||||||
'protocol-stats' => 'apps::squid::snmp::mode::protocolstats',
|
'protocol-stats' => 'apps::squid::snmp::mode::protocolstats'
|
||||||
};
|
};
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user