/**
  * Get command of a Host
  *
  *
  * @method get
  * @route /hosttemplate/[i:id]/command
  */
 public function getHostCommandAction()
 {
     $di = Di::getDefault();
     $router = $di->get('router');
     $requestParam = $this->getParams('named');
     parent::getSimpleRelation('command_command_id', '\\CentreonConfiguration\\Models\\Command');
 }
Beispiel #2
0
 /**
  * Get list of pollers for a specific host
  *
  *
  * @method get
  * @route /host/[i:id]/poller
  */
 public function pollerForHostAction()
 {
     parent::getSimpleRelation('poller_id', '\\CentreonConfiguration\\Models\\Poller');
 }
Beispiel #3
0
 /**
  * Get list of service for a specific service
  *
  *
  * @method get
  * @route /service/[i:id]/servicetemplate
  */
 public function serviceTemplateForServiceAction()
 {
     parent::getSimpleRelation('service_template_model_stm_id', '\\CentreonConfiguration\\Models\\Servicetemplate');
 }
 /**
  * Get the timeperiod for a rule
  *
  * @method get
  * @route /notification-rule/[i:id]/timeperiod
  */
 public function getTimezoneAction()
 {
     parent::getSimpleRelation('timeperiod_id', '\\CentreonConfiguration\\Models\\Timeperiod');
 }
 /**
  * Get list of icons for a specific business activity
  *
  *
  * @method get
  * @route /businessactivity/[i:id]/icon
  */
 public function iconForBaAction()
 {
     parent::getSimpleRelation('icon_id', '\\CentreonBam\\Models\\Icon');
 }
Beispiel #6
0
 /**
  * Connector for a specific command
  *
  * @method get
  * @route /command/[i:id]/connector
  */
 public function connectorForCommandAction()
 {
     parent::getSimpleRelation('connector_id', '\\CentreonConfiguration\\Models\\Connector');
 }
Beispiel #7
0
 /**
  *
  * @method get
  * @route /engine/[i:id]/ocspcommand
  */
 public function ocspCommandForEngineAction()
 {
     parent::getSimpleRelation('ocsp_command', '\\CentreonConfiguration\\Models\\Command');
 }
 /**
  * Manufacturer for specific trap
  *
  * @method get
  * @route /trap/[i:id]/manufacturer
  */
 public function manufacturerForTrapAction()
 {
     parent::getSimpleRelation('manufacturer_id', '\\CentreonConfiguration\\Models\\Manufacturer');
 }
 /**
  * Get the service template for a graph template
  *
  * @method get
  * @route /configuration/graphtemplate/[i:id]/servicetemplate
  */
 public function getServiceTemplateAction()
 {
     parent::getSimpleRelation('svc_tmpl_id', '\\CentreonConfiguration\\Models\\Servicetemplate');
 }
 /**
  * Get command of a Host
  *
  *
  * @method get
  * @route /servicetemplate/[i:id]/command
  */
 public function getHostCommandAction()
 {
     parent::getSimpleRelation('command_command_id', '\\CentreonConfiguration\\Models\\Command');
 }
Beispiel #11
0
 /**
  * Get linked business activity for a specific kpi
  *
  *
  * @method get
  * @route /indicator/[i:id]/linkedbusinessactivity
  */
 public function linkedBusinessActivityForIndicatorAction()
 {
     parent::getSimpleRelation('id_ba', '\\CentreonBam\\Models\\BusinessActivity');
 }
 /**
  * Get contact template for a specific contact
  *
  * @method get
  * @route /contacttemplate/[i:id]/contacttemplate
  */
 public function contactTemplateForContactAction()
 {
     parent::getSimpleRelation('contact_template_id', '\\CentreonConfiguration\\Models\\Contact');
 }
 /**
  * Get list of pollers for a specific host
  *
  *
  * @method get
  * @route /user/[i:id]/language
  */
 public function languageForUserAction()
 {
     parent::getSimpleRelation('language_id', '\\CentreonAdministration\\Models\\Language');
 }
Beispiel #14
0
 /**
  * Get list of timezone for a specific contact
  *
  *
  * @method get
  * @route /contact/[i:id]/timezone
  */
 public function timezoneForContactAction()
 {
     parent::getSimpleRelation('timezone_id', '\\CentreonAdministration\\Models\\Timezone');
 }