/**
  * Check configuration 
  *
  * @param int $poller_id
  * @return array
  */
 public function checkConfig()
 {
     try {
         $result = "";
         $event = $this->di->get('events');
         $eventObj = new RunTest($this->pollerId);
         $event->emit('centreon-configuration.run.test', array($eventObj));
         $this->output = array_merge($this->output, $eventObj->getOutput());
     } catch (Exception $e) {
         $this->output[] = $e->getMessage();
         $this->status = false;
     }
 }