diff --git a/database/informix/mode/archivelevel0.pm b/database/informix/sql/mode/archivelevel0.pm similarity index 99% rename from database/informix/mode/archivelevel0.pm rename to database/informix/sql/mode/archivelevel0.pm index c3a379803..934912976 100644 --- a/database/informix/mode/archivelevel0.pm +++ b/database/informix/sql/mode/archivelevel0.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::archivelevel0; +package database::informix::sql::mode::archivelevel0; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/checkpoints.pm b/database/informix/sql/mode/checkpoints.pm similarity index 99% rename from database/informix/mode/checkpoints.pm rename to database/informix/sql/mode/checkpoints.pm index 708e17593..4fc7e7cc1 100644 --- a/database/informix/mode/checkpoints.pm +++ b/database/informix/sql/mode/checkpoints.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::checkpoints; +package database::informix::sql::mode::checkpoints; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/chunkstates.pm b/database/informix/sql/mode/chunkstates.pm similarity index 99% rename from database/informix/mode/chunkstates.pm rename to database/informix/sql/mode/chunkstates.pm index 12f0c92e3..287cb6989 100644 --- a/database/informix/mode/chunkstates.pm +++ b/database/informix/sql/mode/chunkstates.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::chunkstates; +package database::informix::sql::mode::chunkstates; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/dbspacesusage.pm b/database/informix/sql/mode/dbspacesusage.pm similarity index 99% rename from database/informix/mode/dbspacesusage.pm rename to database/informix/sql/mode/dbspacesusage.pm index 4ff51e773..fcabe13dd 100644 --- a/database/informix/mode/dbspacesusage.pm +++ b/database/informix/sql/mode/dbspacesusage.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::dbspacesusage; +package database::informix::sql::mode::dbspacesusage; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/globalcache.pm b/database/informix/sql/mode/globalcache.pm similarity index 99% rename from database/informix/mode/globalcache.pm rename to database/informix/sql/mode/globalcache.pm index daa58f972..9b4d9e55e 100644 --- a/database/informix/mode/globalcache.pm +++ b/database/informix/sql/mode/globalcache.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::globalcache; +package database::informix::sql::mode::globalcache; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/listdatabases.pm b/database/informix/sql/mode/listdatabases.pm similarity index 98% rename from database/informix/mode/listdatabases.pm rename to database/informix/sql/mode/listdatabases.pm index e1f350288..05a7dacd6 100644 --- a/database/informix/mode/listdatabases.pm +++ b/database/informix/sql/mode/listdatabases.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::listdatabases; +package database::informix::sql::mode::listdatabases; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/listdbspaces.pm b/database/informix/sql/mode/listdbspaces.pm similarity index 98% rename from database/informix/mode/listdbspaces.pm rename to database/informix/sql/mode/listdbspaces.pm index 699da21cd..c20b47d0f 100644 --- a/database/informix/mode/listdbspaces.pm +++ b/database/informix/sql/mode/listdbspaces.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::listdbspaces; +package database::informix::sql::mode::listdbspaces; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/lockoverflow.pm b/database/informix/sql/mode/lockoverflow.pm similarity index 98% rename from database/informix/mode/lockoverflow.pm rename to database/informix/sql/mode/lockoverflow.pm index 86c9e6f42..fbd0764a5 100644 --- a/database/informix/mode/lockoverflow.pm +++ b/database/informix/sql/mode/lockoverflow.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::lockoverflow; +package database::informix::sql::mode::lockoverflow; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/logfilesusage.pm b/database/informix/sql/mode/logfilesusage.pm similarity index 98% rename from database/informix/mode/logfilesusage.pm rename to database/informix/sql/mode/logfilesusage.pm index 3381c84d5..6a6579748 100644 --- a/database/informix/mode/logfilesusage.pm +++ b/database/informix/sql/mode/logfilesusage.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::logfilesusage; +package database::informix::sql::mode::logfilesusage; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/longtxs.pm b/database/informix/sql/mode/longtxs.pm similarity index 98% rename from database/informix/mode/longtxs.pm rename to database/informix/sql/mode/longtxs.pm index 6e08a2fa4..d128fd5d8 100644 --- a/database/informix/mode/longtxs.pm +++ b/database/informix/sql/mode/longtxs.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::longtxs; +package database::informix::sql::mode::longtxs; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/sessions.pm b/database/informix/sql/mode/sessions.pm similarity index 98% rename from database/informix/mode/sessions.pm rename to database/informix/sql/mode/sessions.pm index 0ef882327..9038a259c 100644 --- a/database/informix/mode/sessions.pm +++ b/database/informix/sql/mode/sessions.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::sessions; +package database::informix::sql::mode::sessions; use base qw(centreon::plugins::mode); diff --git a/database/informix/mode/tablelocks.pm b/database/informix/sql/mode/tablelocks.pm similarity index 99% rename from database/informix/mode/tablelocks.pm rename to database/informix/sql/mode/tablelocks.pm index 0666329a9..a49d0b737 100644 --- a/database/informix/mode/tablelocks.pm +++ b/database/informix/sql/mode/tablelocks.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::mode::tablelocks; +package database::informix::sql::mode::tablelocks; use base qw(centreon::plugins::mode); diff --git a/database/informix/plugin.pm b/database/informix/sql/plugin.pm similarity index 91% rename from database/informix/plugin.pm rename to database/informix/sql/plugin.pm index 12ef57fa3..be6c5dfca 100644 --- a/database/informix/plugin.pm +++ b/database/informix/sql/plugin.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package database::informix::plugin; +package database::informix::sql::plugin; use strict; use warnings; @@ -33,19 +33,19 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'archivelevel0' => 'database::informix::mode::archivelevel0', - 'checkpoints' => 'database::informix::mode::checkpoints', - 'chunkstates' => 'database::informix::mode::chunkstates', + 'archivelevel0' => 'database::informix::sql::mode::archivelevel0', + 'checkpoints' => 'database::informix::sql::mode::checkpoints', + 'chunkstates' => 'database::informix::sql::mode::chunkstates', 'connection-time' => 'centreon::common::protocols::sql::mode::connectiontime', - 'global-cache' => 'database::informix::mode::globalcache', - 'list-dbspaces' => 'database::informix::mode::listdbspaces', - 'list-databases' => 'database::informix::mode::listdatabases', - 'lockoverflow' => 'database::informix::mode::lockoverflow', - 'longtxs' => 'database::informix::mode::longtxs', - 'dbspace-usage' => 'database::informix::mode::dbspacesusage', - 'logfile-usage' => 'database::informix::mode::logfilesusage', - 'sessions' => 'database::informix::mode::sessions', - 'table-locks' => 'database::informix::mode::tablelocks', + 'global-cache' => 'database::informix::sql::mode::globalcache', + 'list-dbspaces' => 'database::informix::sql::mode::listdbspaces', + 'list-databases' => 'database::informix::sql::mode::listdatabases', + 'lockoverflow' => 'database::informix::sql::mode::lockoverflow', + 'longtxs' => 'database::informix::sql::mode::longtxs', + 'dbspace-usage' => 'database::informix::sql::mode::dbspacesusage', + 'logfile-usage' => 'database::informix::sql::mode::logfilesusage', + 'sessions' => 'database::informix::sql::mode::sessions', + 'table-locks' => 'database::informix::sql::mode::tablelocks', 'sql' => 'centreon::common::protocols::sql::mode::sql', );