This commit is contained in:
Colin Gagnaire 2019-10-17 16:56:45 +02:00
commit 19a57926d2
27 changed files with 136 additions and 133 deletions

View File

@ -31,10 +31,10 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'dcdiag' => 'apps::activedirectory::local::mode::dcdiag', 'dcdiag' => 'apps::activedirectory::local::mode::dcdiag',
'dfsr-backlog' => 'apps::activedirectory::local::mode::dfsrbacklog', 'dfsr-backlog' => 'apps::activedirectory::local::mode::dfsrbacklog',
'netdom' => 'apps::activedirectory::local::mode::netdom', 'netdom' => 'apps::activedirectory::local::mode::netdom',
); );
return $self; return $self;
} }

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'dcdiag' => 'apps::activedirectory::wsman::mode::dcdiag', 'dcdiag' => 'apps::activedirectory::wsman::mode::dcdiag',
); );
return $self; return $self;
} }

View File

@ -31,13 +31,13 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'dedup-status' => 'apps::backup::netbackup::local::mode::dedupstatus', 'dedup-status' => 'apps::backup::netbackup::local::mode::dedupstatus',
'drive-cleaning' => 'apps::backup::netbackup::local::mode::drivecleaning', 'drive-cleaning' => 'apps::backup::netbackup::local::mode::drivecleaning',
'drive-status' => 'apps::backup::netbackup::local::mode::drivestatus', 'drive-status' => 'apps::backup::netbackup::local::mode::drivestatus',
'job-status' => 'apps::backup::netbackup::local::mode::jobstatus', 'job-status' => 'apps::backup::netbackup::local::mode::jobstatus',
'list-policies' => 'apps::backup::netbackup::local::mode::listpolicies', 'list-policies' => 'apps::backup::netbackup::local::mode::listpolicies',
'tape-usage' => 'apps::backup::netbackup::local::mode::tapeusage', 'tape-usage' => 'apps::backup::netbackup::local::mode::tapeusage',
); );
return $self; return $self;
} }

View File

@ -31,11 +31,11 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'list-vtl' => 'apps::backup::quadstor::local::mode::listvtl', 'list-vtl' => 'apps::backup::quadstor::local::mode::listvtl',
'vtl-disk-usage' => 'apps::backup::quadstor::local::mode::vtldiskusage', 'vtl-disk-usage' => 'apps::backup::quadstor::local::mode::vtldiskusage',
'vtl-job-status' => 'apps::backup::quadstor::local::mode::vtljobstatus', 'vtl-job-status' => 'apps::backup::quadstor::local::mode::vtljobstatus',
'vtl-tape-usage' => 'apps::backup::quadstor::local::mode::vtltapeusage', 'vtl-tape-usage' => 'apps::backup::quadstor::local::mode::vtltapeusage',
); );
return $self; return $self;
} }

View File

@ -31,12 +31,12 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'actlog' => 'apps::backup::tsm::local::mode::actlog', 'actlog' => 'apps::backup::tsm::local::mode::actlog',
'drives' => 'apps::backup::tsm::local::mode::drives', 'drives' => 'apps::backup::tsm::local::mode::drives',
'nodes' => 'apps::backup::tsm::local::mode::nodes', 'nodes' => 'apps::backup::tsm::local::mode::nodes',
'sessions' => 'apps::backup::tsm::local::mode::sessions', 'sessions' => 'apps::backup::tsm::local::mode::sessions',
'volumes' => 'apps::backup::tsm::local::mode::volumes', 'volumes' => 'apps::backup::tsm::local::mode::volumes',
); );
$self->{custom_modes}{api} = 'apps::backup::tsm::local::custom::api'; $self->{custom_modes}{api} = 'apps::backup::tsm::local::custom::api';
return $self; return $self;

View File

@ -32,8 +32,8 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'incoming' => 'apps::bluemind::mode::incoming', 'incoming' => 'apps::bluemind::mode::incoming',
); );
return $self; return $self;
} }

View File

@ -30,12 +30,12 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'gates' => 'apps::centreon::map4::jmx::mode::gates', 'elements' => 'apps::centreon::map4::jmx::mode::elements',
'elements' => 'apps::centreon::map4::jmx::mode::elements', 'event-queue' => 'apps::centreon::map4::jmx::mode::eventqueue',
'sessions' => 'apps::centreon::map4::jmx::mode::sessions', 'event-statistics' => 'apps::centreon::map4::jmx::mode::eventstatistics',
'event-queue' => 'apps::centreon::map4::jmx::mode::eventqueue', 'gates' => 'apps::centreon::map4::jmx::mode::gates',
'event-statistics' => 'apps::centreon::map4::jmx::mode::eventstatistics', 'sessions' => 'apps::centreon::map4::jmx::mode::sessions',
); );
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia'; $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
return $self; return $self;

View File

@ -31,12 +31,13 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'alarms' => 'apps::cisco::cms::restapi::mode::alarms', 'alarms' => 'apps::cisco::cms::restapi::mode::alarms',
'calls' => 'apps::cisco::cms::restapi::mode::calls', 'calls' => 'apps::cisco::cms::restapi::mode::calls',
'database-status' => 'apps::cisco::cms::restapi::mode::databasestatus', 'database-status' => 'apps::cisco::cms::restapi::mode::databasestatus',
'licenses' => 'apps::cisco::cms::restapi::mode::licenses', 'licenses' => 'apps::cisco::cms::restapi::mode::licenses',
'system-status' => 'apps::cisco::cms::restapi::mode::systemstatus', 'system-status' => 'apps::cisco::cms::restapi::mode::systemstatus',
); );
$self->{custom_modes}{xmlapi} = 'apps::cisco::cms::restapi::custom::xmlapi'; $self->{custom_modes}{xmlapi} = 'apps::cisco::cms::restapi::custom::xmlapi';
return $self; return $self;
} }

View File

@ -31,8 +31,9 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'session' => 'apps::cisco::ise::restapi::mode::session', 'session' => 'apps::cisco::ise::restapi::mode::session',
); );
$self->{custom_modes}{xmlapi} = 'apps::cisco::ise::restapi::custom::xmlapi'; $self->{custom_modes}{xmlapi} = 'apps::cisco::ise::restapi::custom::xmlapi';
return $self; return $self;
} }

View File

@ -31,17 +31,17 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'activesync-mailbox' => 'apps::exchange::2010::local::mode::activesyncmailbox', 'activesync-mailbox' => 'apps::exchange::2010::local::mode::activesyncmailbox',
'databases' => 'apps::exchange::2010::local::mode::databases', 'databases' => 'apps::exchange::2010::local::mode::databases',
'list-databases' => 'apps::exchange::2010::local::mode::listdatabases', 'list-databases' => 'apps::exchange::2010::local::mode::listdatabases',
'imap-mailbox' => 'apps::exchange::2010::local::mode::imapmailbox', 'imap-mailbox' => 'apps::exchange::2010::local::mode::imapmailbox',
'mapi-mailbox' => 'apps::exchange::2010::local::mode::mapimailbox', 'mapi-mailbox' => 'apps::exchange::2010::local::mode::mapimailbox',
'outlook-webservices' => 'apps::exchange::2010::local::mode::outlookwebservices', 'outlook-webservices' => 'apps::exchange::2010::local::mode::outlookwebservices',
'owa-mailbox' => 'apps::exchange::2010::local::mode::owamailbox', 'owa-mailbox' => 'apps::exchange::2010::local::mode::owamailbox',
'queues' => 'apps::exchange::2010::local::mode::queues', 'queues' => 'apps::exchange::2010::local::mode::queues',
'replication-health' => 'apps::exchange::2010::local::mode::replicationhealth', 'replication-health' => 'apps::exchange::2010::local::mode::replicationhealth',
'services' => 'apps::exchange::2010::local::mode::services', 'services' => 'apps::exchange::2010::local::mode::services',
); );
return $self; return $self;
} }

View File

@ -31,11 +31,11 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'applicationpool-state' => 'apps::iis::local::mode::applicationpoolstate', 'applicationpool-state' => 'apps::iis::local::mode::applicationpoolstate',
'list-applicationpools' => 'apps::iis::local::mode::listapplicationpools', 'list-applicationpools' => 'apps::iis::local::mode::listapplicationpools',
'list-sites' => 'apps::iis::local::mode::listsites', 'list-sites' => 'apps::iis::local::mode::listsites',
'webservice-statistics' => 'apps::iis::local::mode::webservicestatistics', 'webservice-statistics' => 'apps::iis::local::mode::webservicestatistics',
); );
return $self; return $self;
} }

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'applicationpool-state' => 'apps::iis::wsman::mode::applicationpoolstate', 'applicationpool-state' => 'apps::iis::wsman::mode::applicationpoolstate',
'list-applicationpools' => 'apps::iis::wsman::mode::listapplicationpools', 'list-applicationpools' => 'apps::iis::wsman::mode::listapplicationpools',
); );
return $self; return $self;
} }

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'span-usage' => 'apps::inin::ig::snmp::mode::spanusage', 'span-usage' => 'apps::inin::ig::snmp::mode::spanusage',
'stats' => 'apps::inin::ig::snmp::mode::stats', 'stats' => 'apps::inin::ig::snmp::mode::stats',
); );
return $self; return $self;
} }

View File

@ -31,12 +31,12 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'audioengine-usage' => 'apps::inin::mediaserver::snmp::mode::audioengineusage', 'audioengine-usage' => 'apps::inin::mediaserver::snmp::mode::audioengineusage',
'cmdsrv-usage' => 'apps::inin::mediaserver::snmp::mode::cmdsrvusage', 'cmdsrv-usage' => 'apps::inin::mediaserver::snmp::mode::cmdsrvusage',
'disk-usage' => 'apps::inin::mediaserver::snmp::mode::diskusage', 'component' => 'apps::inin::mediaserver::snmp::mode::component',
'component' => 'apps::inin::mediaserver::snmp::mode::component', 'disk-usage' => 'apps::inin::mediaserver::snmp::mode::diskusage',
'memory-usage' => 'apps::inin::mediaserver::snmp::mode::memoryusage', 'memory-usage' => 'apps::inin::mediaserver::snmp::mode::memoryusage',
); );
return $self; return $self;
} }

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'cache-usage' => 'apps::java::solr::jmx::mode::cacheusage', 'cache-usage' => 'apps::java::solr::jmx::mode::cacheusage',
'request-handler-usage' => 'apps::java::solr::jmx::mode::requesthandlerusage', 'request-handler-usage' => 'apps::java::solr::jmx::mode::requesthandlerusage',
); );
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia'; $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
return $self; return $self;

View File

@ -31,12 +31,12 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'mail-state' => 'apps::lotus::snmp::mode::mailstate', 'mail-state' => 'apps::lotus::snmp::mode::mailstate',
'mail-time' => 'apps::lotus::snmp::mode::mailtime', 'mail-time' => 'apps::lotus::snmp::mode::mailtime',
'server-availability' => 'apps::lotus::snmp::mode::serveravailability', 'server-availability' => 'apps::lotus::snmp::mode::serveravailability',
'user-sessions' => 'apps::lotus::snmp::mode::usersessions', 'server-transactions' => 'apps::lotus::snmp::mode::servertransactions',
'server-transactions' => 'apps::lotus::snmp::mode::servertransactions', 'user-sessions' => 'apps::lotus::snmp::mode::usersessions',
); );
return $self; return $self;
} }

View File

@ -31,10 +31,10 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'crm' => 'apps::pacemaker::local::mode::crm', 'clustat' => 'apps::pacemaker::local::mode::clustat',
'constraints' => 'apps::pacemaker::local::mode::constraints', 'constraints' => 'apps::pacemaker::local::mode::constraints',
'clustat' => 'apps::pacemaker::local::mode::clustat', 'crm' => 'apps::pacemaker::local::mode::crm',
); );
return $self; return $self;
} }

View File

@ -32,14 +32,14 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'list-nodes' => 'apps::proxmox::ve::restapi::mode::listnodes', 'list-nodes' => 'apps::proxmox::ve::restapi::mode::listnodes',
'list-storages' => 'apps::proxmox::ve::restapi::mode::liststorages', 'list-storages' => 'apps::proxmox::ve::restapi::mode::liststorages',
'list-vms' => 'apps::proxmox::ve::restapi::mode::listvms', 'list-vms' => 'apps::proxmox::ve::restapi::mode::listvms',
'storage-usage' => 'apps::proxmox::ve::restapi::mode::storageusage', 'node-usage' => 'apps::proxmox::ve::restapi::mode::nodeusage',
'node-usage' => 'apps::proxmox::ve::restapi::mode::nodeusage', 'storage-usage' => 'apps::proxmox::ve::restapi::mode::storageusage',
'version' => 'apps::proxmox::ve::restapi::mode::version', 'version' => 'apps::proxmox::ve::restapi::mode::version',
'vm-usage' => 'apps::proxmox::ve::restapi::mode::vmusage', 'vm-usage' => 'apps::proxmox::ve::restapi::mode::vmusage',
); );
$self->{custom_modes}{api} = 'apps::proxmox::ve::restapi::custom::api'; $self->{custom_modes}{api} = 'apps::proxmox::ve::restapi::custom::api';
return $self; return $self;

View File

@ -31,11 +31,11 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'http-hits' => 'apps::pvx::restapi::mode::httphits', 'http-hits' => 'apps::pvx::restapi::mode::httphits',
'network-connection' => 'apps::pvx::restapi::mode::networkconnection', 'network-connection' => 'apps::pvx::restapi::mode::networkconnection',
'network-user-experience' => 'apps::pvx::restapi::mode::networkuserexperience', 'network-user-experience' => 'apps::pvx::restapi::mode::networkuserexperience',
'network-traffic' => 'apps::pvx::restapi::mode::networktraffic', 'network-traffic' => 'apps::pvx::restapi::mode::networktraffic',
); );
$self->{custom_modes}{api} = 'apps::pvx::restapi::custom::api'; $self->{custom_modes}{api} = 'apps::pvx::restapi::custom::api';
return $self; return $self;

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'mta-usage' => 'snmp_standard::mode::mtausage', 'mta-usage' => 'snmp_standard::mode::mtausage',
); );
return $self; return $self;
} }

View File

@ -31,9 +31,10 @@ sub new {
$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;
} }

View File

@ -31,20 +31,20 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'class-count' => 'centreon::common::jvm::mode::classcount', 'class-count' => 'centreon::common::jvm::mode::classcount',
'connector-usage' => 'apps::tomcat::jmx::mode::connectorusage', 'connector-usage' => 'apps::tomcat::jmx::mode::connectorusage',
'cpu-load' => 'centreon::common::jvm::mode::cpuload', 'cpu-load' => 'centreon::common::jvm::mode::cpuload',
'datasource-usage' => 'apps::tomcat::jmx::mode::datasourceusage', 'datasource-usage' => 'apps::tomcat::jmx::mode::datasourceusage',
'fd-usage' => 'centreon::common::jvm::mode::fdusage', 'fd-usage' => 'centreon::common::jvm::mode::fdusage',
'gc-usage' => 'centreon::common::jvm::mode::gcusage', 'gc-usage' => 'centreon::common::jvm::mode::gcusage',
'list-datasources' => 'apps::tomcat::jmx::mode::listdatasources', 'list-datasources' => 'apps::tomcat::jmx::mode::listdatasources',
'list-webapps' => 'apps::tomcat::jmx::mode::listwebapps', 'list-webapps' => 'apps::tomcat::jmx::mode::listwebapps',
'load-average' => 'centreon::common::jvm::mode::loadaverage', 'load-average' => 'centreon::common::jvm::mode::loadaverage',
'memory' => 'centreon::common::jvm::mode::memory', 'memory' => 'centreon::common::jvm::mode::memory',
'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed', 'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed',
'threads' => 'centreon::common::jvm::mode::threads', 'threads' => 'centreon::common::jvm::mode::threads',
'webapps-sessions' => 'apps::tomcat::jmx::mode::webappssessions', 'webapps-sessions' => 'apps::tomcat::jmx::mode::webappssessions',
); );
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia'; $self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';
return $self; return $self;

View File

@ -31,9 +31,9 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'node-usage' => 'apps::video::openheadend::snmp::mode::nodeusage', 'node-usage' => 'apps::video::openheadend::snmp::mode::nodeusage',
'operation-status' => 'apps::video::openheadend::snmp::mode::operationstatus', 'operation-status' => 'apps::video::openheadend::snmp::mode::operationstatus',
); );
return $self; return $self;
} }

View File

@ -31,13 +31,13 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'broadcaster-input-usage' => 'apps::video::zixi::restapi::mode::broadcasterinputusage', 'broadcaster-input-usage' => 'apps::video::zixi::restapi::mode::broadcasterinputusage',
'broadcaster-license-usage' => 'apps::video::zixi::restapi::mode::broadcasterlicenseusage', 'broadcaster-license-usage' => 'apps::video::zixi::restapi::mode::broadcasterlicenseusage',
'broadcaster-output-usage' => 'apps::video::zixi::restapi::mode::broadcasteroutputusage', 'broadcaster-output-usage' => 'apps::video::zixi::restapi::mode::broadcasteroutputusage',
'broadcaster-system-usage' => 'apps::video::zixi::restapi::mode::broadcastersystemusage', 'broadcaster-system-usage' => 'apps::video::zixi::restapi::mode::broadcastersystemusage',
'feeder-input-usage' => 'apps::video::zixi::restapi::mode::feederinputusage', 'feeder-input-usage' => 'apps::video::zixi::restapi::mode::feederinputusage',
'feeder-output-usage' => 'apps::video::zixi::restapi::mode::feederoutputusage', 'feeder-output-usage' => 'apps::video::zixi::restapi::mode::feederoutputusage',
); );
$self->{custom_modes}{api} = 'apps::video::zixi::restapi::custom::api'; $self->{custom_modes}{api} = 'apps::video::zixi::restapi::custom::api';
return $self; return $self;

View File

@ -31,8 +31,8 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'hardware' => 'apps::vmware::wsman::mode::hardware', 'hardware' => 'apps::vmware::wsman::mode::hardware',
); );
return $self; return $self;
} }

View File

@ -31,10 +31,10 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'channel-usage' => 'apps::voip::asterisk::ami::mode::channelusage', 'channel-usage' => 'apps::voip::asterisk::ami::mode::channelusage',
'dahdi-status' => 'apps::voip::asterisk::ami::mode::dahdistatus', 'dahdi-status' => 'apps::voip::asterisk::ami::mode::dahdistatus',
'sip-peers-usage' => 'apps::voip::asterisk::ami::mode::sippeersusage', 'sip-peers-usage' => 'apps::voip::asterisk::ami::mode::sippeersusage',
); );
$self->{custom_modes}{api} = 'apps::voip::asterisk::ami::custom::api'; $self->{custom_modes}{api} = 'apps::voip::asterisk::ami::custom::api';
return $self; return $self;

View File

@ -31,10 +31,10 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'hardware' => 'snmp_standard::mode::hardwarefibrealliance', 'hardware' => 'snmp_standard::mode::hardwarefibrealliance',
'interfaces' => 'snmp_standard::mode::interfaces', 'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces', 'list-interfaces' => 'snmp_standard::mode::listinterfaces',
); );
return $self; return $self;
} }