fix error with directory
This commit is contained in:
parent
64995c9a69
commit
3f34e92dc8
|
@ -18,7 +18,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
package apps::docker::mode::blockio;
|
package docker::docker::mode::blockio;
|
||||||
|
|
||||||
use base qw(centreon::plugins::mode);
|
use base qw(centreon::plugins::mode);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
package apps::docker::mode::containerstate;
|
package cloud::docker::mode::containerstate;
|
||||||
|
|
||||||
use base qw(centreon::plugins::mode);
|
use base qw(centreon::plugins::mode);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
package apps::docker::mode::cpu;
|
package cloud::docker::mode::cpu;
|
||||||
|
|
||||||
use base qw(centreon::plugins::mode);
|
use base qw(centreon::plugins::mode);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
package apps::docker::mode::image;
|
package cloud::docker::mode::image;
|
||||||
|
|
||||||
use base qw(centreon::plugins::mode);
|
use base qw(centreon::plugins::mode);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
package apps::docker::mode::info;
|
package cloud::docker::mode::info;
|
||||||
|
|
||||||
use base qw(centreon::plugins::mode);
|
use base qw(centreon::plugins::mode);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
package apps::docker::mode::listcontainers;
|
package cloud::docker::mode::listcontainers;
|
||||||
|
|
||||||
use base qw(centreon::plugins::mode);
|
use base qw(centreon::plugins::mode);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
package apps::docker::mode::memory;
|
package cloud::docker::mode::memory;
|
||||||
|
|
||||||
use base qw(centreon::plugins::mode);
|
use base qw(centreon::plugins::mode);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
package apps::docker::mode::traffic;
|
package cloud::docker::mode::traffic;
|
||||||
|
|
||||||
use base qw(centreon::plugins::mode);
|
use base qw(centreon::plugins::mode);
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
package apps::docker::plugin;
|
package cloud::docker::plugin;
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -32,14 +32,14 @@ sub new {
|
||||||
|
|
||||||
$self->{version} = '0.1';
|
$self->{version} = '0.1';
|
||||||
%{$self->{modes}} = (
|
%{$self->{modes}} = (
|
||||||
'blockio' => 'apps::docker::mode::blockio',
|
'blockio' => ':cloud:docker::mode::blockio',
|
||||||
'containerstate' => 'apps::docker::mode::containerstate',
|
'containerstate' => ':cloud:docker::mode::containerstate',
|
||||||
'cpu' => 'apps::docker::mode::cpu',
|
'cpu' => ':cloud:docker::mode::cpu',
|
||||||
'image' => 'apps::docker::mode::image',
|
'image' => ':cloud:docker::mode::image',
|
||||||
'info' => 'apps::docker::mode::info',
|
'info' => ':cloud:docker::mode::info',
|
||||||
'list-containers' => 'apps::docker::mode::listcontainers',
|
'list-containers' => ':cloud:docker::mode::listcontainers',
|
||||||
'memory' => 'apps::docker::mode::memory',
|
'memory' => ':cloud:docker::mode::memory',
|
||||||
'traffic' => 'apps::docker::mode::traffic',
|
'traffic' => ':cloud:docker::mode::traffic',
|
||||||
);
|
);
|
||||||
return $self;
|
return $self;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue