<div>Thank for your responce, Nicolas!<br /><br />Now, i'm just using icinga-web dashboard, which works and plan to try reinstall icingaweb2, when icinga2.4 will release.</div><div> </div><div>Are you use mysql backends for icinga2 and icingaweb2 ?</div><div> </div><div>04.11.2015, 13:57, "Nicolas Odermatt" <odermattn@gmail.com>:</div><blockquote type="cite"><div>Hi Jo,<div> </div><div>I had the same problem but in my case the command feature wasn't enabled.</div><div>@Romaneev: Don't forget to restart icinga2 that might have been the reason why the feature doesn't work allthrough the feature is enabled. If it continous not to work as expected, I'd recommend to open an issue in Icinga's issue tracker [<a href="https://dev.icinga.org/">0</a>]. I remember there's one step during the icingaweb2 configuration wizard where you specify how commands are handled. Make sure you did specify the command file there (should be though, as it's the default setting).</div><div><img src="cid:ii_igkovd4w0_150d223be9a62d5e" width="562" /></div><div> </div><div>[0] <a href="https://dev.icinga.org/">https://dev.icinga.org/</a></div></div><div><br /><div>On 25 September 2015 at 12:18, Romaneev Vasily <span><<a href="mailto:entervuz@yandex.ru" target="_blank">entervuz@yandex.ru</a>></span> wrote:<br /><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello!<br /> Thank you for your responce.<br /> I enable command feature.<br /> url is <a href="http://localhost/icinga2/dashboard#!/icinga2/monitoring/service/acknowledge-problem?host=custompartsdeport.co&service=check_snmp_storage" target="_blank">http://localhost/icinga2/dashboard#!/icinga2/monitoring/service/acknowledge-problem?host=custompartsdeport.co&service=check_snmp_storage</a><br /> Could you help - what additional info i can set or what else i should check, thank you!<br /> <br /> <br /> Main problem is php code error:<br /> <span>Required parameter 'service' missing<br /> <br /> #0 /usr/share/icingaweb2/modules/monitoring/application/controllers/ServiceController.php(29): Icinga\Web\UrlParams->getRequired('service')<br /> #1 /usr/share/icingaweb2/library/Icinga/Web/Controller/ActionController.php(133): Icinga\Module\Monitoring\Controllers\ServiceController->init()<br /> #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)<br /> #3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))<br /> #4 /usr/share/icingaweb2/library/Icinga/Application/Web.php(147): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))<br /> #5 /usr/share/icingaweb2/library/Icinga/Application/webrouter.php(109): Icinga\Application\Web->dispatch()<br /> #6 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/icin...')<br /> #7 {main}<br /> <br /> </span>I've change php code for getRequired command and found this results.<br />     public function getRequired($name, $strict = true) {<br />       .... some function logic there ....<br />        echo "name: $name <br>";<br />         print_r ($this);<br />         echo "<br>";<br />         echo "<br>vardump";<br />         var_dump($this);<br />         echo "<br>";<br />         echo "<br>varexport";<br />         var_export($this) ;<br />         echo "<br>";<br />         echo "<br>";<br />         die;<br />         $e = new MissingParameterException(t('Required parameter \'%s\' missing'), $name);<br />         $e->setParameter($name);<br />         throw $e;<br />     }<br /> <br /> <br /> /usr/share/icingaweb2/library/Icinga/Web/UrlParams.php60host<br /> <br>/usr/share/icingaweb2/library/Icinga/Web/UrlParams.php63custompartsdep[+<br /> <br>name: service <br>Icinga\Web\UrlParams Object<br /> (<br />     [separator:protected] => &<br />     [params:protected] => Array<br />         (<br />             [0] => Array<br />                 (<br />                     [0] => host<br />                     [1] => custompartsdep[+<br />                 )<br /> <br />         )<br /> <br />     [index:protected] => Array<br />         (<br />             [host] => Array<br />                 (<br />                     [0] => 0<br />                 )<br /> <br />         )<br /> <br /> )<br /> <br><br><br /> vardumpobject(Icinga\Web\UrlParams)#73 (3) {<br />   ["separator":protected]=><br />   string(1) "&"<br />   ["params":protected]=><br />   array(1) {<br />     [0]=><br />     array(2) {<br />       [0]=><br />       string(4) "host"<br />       [1]=><br />       string(18) "custompartsdep[+ "<br />     }<br />   }<br />   ["index":protected]=><br />   array(1) {<br />     ["host"]=><br />     array(1) {<br />       [0]=><br />       int(0)<br />     }<br />   }<br /> }<br /> <br><br><br /> varexportIcinga\Web\UrlParams::__set_state(array(<br />    'separator' => '&',<br />    'params' =><br />   array (<br />     0 =><br />     array (<br />       0 => 'host',<br />       1 => 'custompartsdep[+ ',<br />     ),<br />   ),<br />    'index' =><br />   array (<br />     'host' =><br />     array (<br />       0 => 0,<br />     ),<br />   ),<br /> ))<br><br><br /> <br /> 17.09.2015, 10:02, "Jo Rhett" <<a href="mailto:jrhett@netconsonance.com">jrhett@netconsonance.com</a>>:<br /><div><div>> 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: <a href="https://github.com/Icinga/icinga2/blob/master/doc/5-advanced-topics.md#-external-commands" target="_blank">https://github.com/Icinga/icinga2/blob/master/doc/5-advanced-topics.md#-external-commands</a><br /> ><br /> > Without the command feature, you don’t have a socket to accept commands from the web UI…<br /> ><br /> > On Sep 15, 2015, at 3:02 AM, Romaneev Vasily <<a href="mailto:entervuz@yandex.ru">entervuz@yandex.ru</a>> wrote:<br /> >>  Hello!<br /> >>  Does anybody know - is setting downtime or acknowledgement for service is work in Icingaweb2.<br /> >>  It has pretty good interface, but setting downtimes and ack's in a key feature for us.<br /> >><br /> >>  Is this require database update or just not implement now ?<br /> >><br /> >>  Thank you!<br /> >><br /> >>  Required parameter 'service' missing<br /> >><br /> >>  #0 /usr/share/icingaweb2/modules/monitoring/application/controllers/ServiceController.php(29): Icinga\Web\UrlParams->getRequired('service')<br /> >>  #1 /usr/share/icingaweb2/library/Icinga/Web/Controller/ActionController.php(133): Icinga\Module\Monitoring\Controllers\ServiceController->init()<br /> >>  #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)<br /> >>  #3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))<br /> >>  #4 /usr/share/icingaweb2/library/Icinga/Application/Web.php(147): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))<br /> >>  #5 /usr/share/icingaweb2/library/Icinga/Application/webrouter.php(109): Icinga\Application\Web->dispatch()<br /> >>  #6 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/icin...')<br /> >>  #7 {main}<br /> >><br /> >>  ------<br /> >>  Романеев Василий<br /> >>  Мобильный: <span>+7-987-636-62-67</span><br /> >>  skype romaneev<br /> >>  _______________________________________________<br /> >>  icinga-users mailing list<br /> >>  <a href="mailto:icinga-users@lists.icinga.org">icinga-users@lists.icinga.org</a><br /> >>  <a href="https://lists.icinga.org/mailman/listinfo/icinga-users" target="_blank">https://lists.icinga.org/mailman/listinfo/icinga-users</a><br /> ><br /> > --<br /> > Jo Rhett<br /> > Net Consonance : net philanthropy to improve open source and internet projects.<br /> ><br /> > _______________________________________________<br /> > icinga-users mailing list<br /> > <a href="mailto:icinga-users@lists.icinga.org">icinga-users@lists.icinga.org</a><br /> > <a href="https://lists.icinga.org/mailman/listinfo/icinga-users" target="_blank">https://lists.icinga.org/mailman/listinfo/icinga-users</a><br /> <br /> ------<br />  Романеев Василий<br /> Мобильный: <a href="tel:%2B7-987-636-62-67">+7-987-636-62-67</a><br /> skype romaneev<br /> _______________________________________________<br /> icinga-users mailing list<br /> <a href="mailto:icinga-users@lists.icinga.org">icinga-users@lists.icinga.org</a><br /> <a href="https://lists.icinga.org/mailman/listinfo/icinga-users" target="_blank">https://lists.icinga.org/mailman/listinfo/icinga-users</a></div></div></blockquote></div><br /><br /><div> </div>-- <br /><div>Freundliche Grüsse,<br />Nicolas Odermatt<br /><br /></div></div>,<p>_______________________________________________<br />icinga-users mailing list<br /><a href="mailto:icinga-users@lists.icinga.org">icinga-users@lists.icinga.org</a><br /><a href="https://lists.icinga.org/mailman/listinfo/icinga-users">https://lists.icinga.org/mailman/listinfo/icinga-users</a></p></blockquote><div> </div><div> </div><div>------<br /> Романеев Василий<br />Мобильный: +7-987-636-62-67<br />skype romaneev</div><div> </div>