Hello! Thank you for your responce. I enable command feature. url is http://localhost/icinga2/dashboard#!/icinga2/monitoring/service/acknowledge-problem?host=custompartsdeport.co&service=check_snmp_storage Could you help - what additional info i can set or what else i should check, thank you!
Main problem is php code error: Required parameter 'service' missing #0 /usr/share/icingaweb2/modules/monitoring/application/controllers/ServiceController.php(29): Icinga\Web\UrlParams->getRequired('service') #1 /usr/share/icingaweb2/library/Icinga/Web/Controller/ActionController.php(133): Icinga\Module\Monitoring\Controllers\ServiceController->init() #2 /usr/share/icingaweb2/library/Icinga/Web/Controller/Dispatcher.php(58): Icinga\Web\Controller\ActionController->__construct(Object(Icinga\Web\Request), Object(Icinga\Web\Response), Array) #3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #4 /usr/share/icingaweb2/library/Icinga/Application/Web.php(147): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #5 /usr/share/icingaweb2/library/Icinga/Application/webrouter.php(109): Icinga\Application\Web->dispatch() #6 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/icin...') #7 {main} I've change php code for getRequired command and found this results. public function getRequired($name, $strict = true) { .... some function logic there .... echo "name: $name <br>"; print_r ($this); echo "<br>"; echo "<br>vardump"; var_dump($this); echo "<br>"; echo "<br>varexport"; var_export($this) ; echo "<br>"; echo "<br>"; die; $e = new MissingParameterException(t('Required parameter \'%s\' missing'), $name); $e->setParameter($name); throw $e; } /usr/share/icingaweb2/library/Icinga/Web/UrlParams.php60host <br>/usr/share/icingaweb2/library/Icinga/Web/UrlParams.php63custompartsdep�[+ <br>name: service <br>Icinga\Web\UrlParams Object ( [separator:protected] => & [params:protected] => Array ( [0] => Array ( [0] => host [1] => custompartsdep�[+ ) ) [index:protected] => Array ( [host] => Array ( [0] => 0 ) ) ) <br><br> vardumpobject(Icinga\Web\UrlParams)#73 (3) { ["separator":protected]=> string(1) "&" ["params":protected]=> array(1) { [0]=> array(2) { [0]=> string(4) "host" [1]=> string(18) "custompartsdep�[+" } } ["index":protected]=> array(1) { ["host"]=> array(1) { [0]=> int(0) } } } <br><br> varexportIcinga\Web\UrlParams::__set_state(array( 'separator' => '&', 'params' => array ( 0 => array ( 0 => 'host', 1 => 'custompartsdep�[+', ), ), 'index' => array ( 'host' => array ( 0 => 0, ), ), ))<br><br> 17.09.2015, 10:02, "Jo Rhett" <jrh...@netconsonance.com>: > I think I saw this myself a while ago and it confused me too. Do any commands > in the web UI work? If not, double check that you’ve enable the command > feature: > https://github.com/Icinga/icinga2/blob/master/doc/5-advanced-topics.md#-external-commands > > Without the command feature, you don’t have a socket to accept commands from > the web UI… > > On Sep 15, 2015, at 3:02 AM, Romaneev Vasily <enter...@yandex.ru> wrote: >> Hello! >> Does anybody know - is setting downtime or acknowledgement for service is >> work in Icingaweb2. >> It has pretty good interface, but setting downtimes and ack's in a key >> feature for us. >> >> Is this require database update or just not implement now ? >> >> Thank you! >> >> Required parameter 'service' missing >> >> #0 >> /usr/share/icingaweb2/modules/monitoring/application/controllers/ServiceController.php(29): >> Icinga\Web\UrlParams->getRequired('service') >> #1 >> /usr/share/icingaweb2/library/Icinga/Web/Controller/ActionController.php(133): >> Icinga\Module\Monitoring\Controllers\ServiceController->init() >> #2 /usr/share/icingaweb2/library/Icinga/Web/Controller/Dispatcher.php(58): >> Icinga\Web\Controller\ActionController->__construct(Object(Icinga\Web\Request), >> Object(Icinga\Web\Response), Array) >> #3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): >> Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), >> Object(Icinga\Web\Response)) >> #4 /usr/share/icingaweb2/library/Icinga/Application/Web.php(147): >> Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), >> Object(Icinga\Web\Response)) >> #5 /usr/share/icingaweb2/library/Icinga/Application/webrouter.php(109): >> Icinga\Application\Web->dispatch() >> #6 /usr/share/icingaweb2/public/index.php(4): >> require_once('/usr/share/icin...') >> #7 {main} >> >> ------ >> Романеев Василий >> Мобильный: +7-987-636-62-67 >> skype romaneev >> _______________________________________________ >> icinga-users mailing list >> icinga-users@lists.icinga.org >> https://lists.icinga.org/mailman/listinfo/icinga-users > > -- > Jo Rhett > Net Consonance : net philanthropy to improve open source and internet > projects. > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users ------ Романеев Василий Мобильный: +7-987-636-62-67 skype romaneev _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users