Am 20.08.2015 um 18:31 schrieb Nobuo Matsushita:
Hi,
I installed icingaweb2-2.0.0-4.rc1.el6.noarch on our test system.
When I tried to set downtime, I got the following errors. Can some one
help me on this?
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started#setting-up-external-command-pipe
Kind regards,
Michael
*Can't send external Icinga command to the local command file
"/var/run/icinga2/cmd/icinga2.cmd": Permission denied*
------------------------------------------------------------------------
#0
/usr/share/icingaweb2/modules/monitoring/application/forms/Command/Object/ScheduleServiceDowntimeCommandForm.php(191):
Icinga\Module\Monitoring\Command\Transport\LocalCommandFile->send(Object(Icinga\Module\Monitoring\Command\Object\ScheduleHostDowntimeCommand))
#1
/usr/share/icingaweb2/modules/monitoring/application/forms/Command/Object/ScheduleHostDowntimeCommandForm.php(83):
Icinga\Module\Monitoring\Forms\Command\Object\ScheduleServiceDowntimeCommandForm->scheduleDowntime(Object(Icinga\Module\Monitoring\Command\Object\ScheduleHostDowntimeCommand),
Object(Icinga\Web\Request))
#2 /usr/share/php/Icinga/Web/Form.php(909):
Icinga\Module\Monitoring\Forms\Command\Object\ScheduleHostDowntimeCommandForm->onSuccess()
#3
/usr/share/icingaweb2/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php(122):
Icinga\Web\Form->handleRequest()
#4
/usr/share/icingaweb2/modules/monitoring/application/controllers/HostController.php(159):
Icinga\Module\Monitoring\Web\Controller\MonitoredObjectController->handleCommandForm(Object(Icinga\Module\Monitoring\Forms\Command\Object\ScheduleHostDowntimeCommandForm))
#5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507):
Monitoring_HostController->scheduleDowntimeAction()
#6
/usr/share/icingaweb2/library/vendor/Zend/Controller/Dispatcher/Standard.php(303):
Zend_Controller_Action->dispatch('scheduleDowntim...')
#7 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937):
Zend_Controller_Dispatcher_Standard->dispatch(Object(Icinga\Web\Request),
Object(Icinga\Web\Response))
#8 /usr/share/php/Icinga/Application/Web.php(154):
Zend_Controller_Front->dispatch(Object(Icinga\Web\Request),
Object(Icinga\Web\Response))
#9 /usr/share/php/Icinga/Application/webrouter.php(111):
Icinga\Application\Web->dispatch()
#10 /usr/share/icingaweb2/public/index.php(4):
require_once('/usr/share/php/...')
#11 {main}
Thanks
Nobuo
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users
--
https://twitter.com/dnsmichi
https://github.com/dnsmichi
http://www.legendiary.at
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users