And icinga2 is running? Am Mittwoch, 25. März 2015 schrieb Shaun Melendy (smelendy) :
> I've just also verified that the "command" feature is still enabled. > > root@fbg-icinga run]# icinga2 feature list > Disabled features: compatlog debuglog gelf icingastatus opentsdb > statusdata syslog > Enabled features: api checker command graphite ido-mysql livestatus > mainlog notification perfdata > > Thank you again for the response. > > Shaun > > ________________________________________ > From: Shaun Melendy (smelendy) > Sent: Wednesday, March 25, 2015 4:57 PM > To: Icinga User's Corner > Subject: RE: [icinga-users] After 2-2.3.0-1 Upgrade icinga2 issues > > Hello Thank you for the reply, > > Yes the file does exist. > > [root@fbg-icinga run]# ls -l /var/run/icinga2/cmd/icinga2.cmd > prw-rw---- 1 icinga icingacmd 0 Mar 25 15:31 > /var/run/icinga2/cmd/icinga2.cmd > > Thanks, > > Shaun > ________________________________________ > From: icinga-users [[email protected] <javascript:;>] > On Behalf Of Michael Friedrich [[email protected] > <javascript:;>] > Sent: Wednesday, March 25, 2015 4:06 PM > To: [email protected] <javascript:;> > Subject: Re: [icinga-users] After 2-2.3.0-1 Upgrade icinga2 issues > > And the mentioned file exists? If so, show its permissions. If not verify > the command feature being enabled. > > Von meinem iPhone gesendet > > > Am 25.03.2015 um 21:02 schrieb Shaun Melendy (smelendy) < > [email protected] <javascript:;>>: > > > > Icinga2 was working great! The orginally upgraded from 2.0.0-1 to > icinga2-2.3.0-1 > > Then started getting these errors when executing a check from the web: > > > > Server error: Can't send external Icinga command "[1427312303] > SCHEDULE_FORCED_HOST_CHECK;etransprod;1427312303" to the local command file > "/var/run/icinga2/cmd/icinga2.cmd": exception 'RuntimeException' with > message 'SplFileObject::__construct(/var/run/icinga2/cmd/icinga2.cmd): > failed to open stream: No such device or address' in > /usr/share/php/Icinga/Util/File.php:39 > > > > Can't send external Icinga command "[1427312303] > SCHEDULE_FORCED_HOST_CHECK;etransprod;1427312303" to the local command file > "/var/run/icinga2/cmd/icinga2.cmd": exception 'RuntimeException' with > message 'SplFileObject::__construct(/var/run/icinga2/cmd/icinga2.cmd): > failed to open stream: No such device or address' in > /usr/share/php/Icinga/Util/File.php:39 > > Stack trace: > > #0 /usr/share/php/Icinga/Util/File.php(39): > SplFileObject->__construct('/var/run/icinga...', 'wn', false) > > #1 > /usr/share/icingaweb2/modules/monitoring/library/Monitoring/Command/Transport/LocalCommandFile.php(122): > Icinga\Util\File->__construct('/var/run/icinga...', 'wn') > > #2 > /usr/share/icingaweb2/modules/monitoring/application/forms/Command/Object/CheckNowCommandForm.php(68): > Icinga\Module\Monitoring\Command\Transport\LocalCommandFile->send(Object(Icinga\Module\Monitoring\Command\Object\ScheduleHostCheckCommand)) > > #3 /usr/share/php/Icinga/Web/Form.php(844): > Icinga\Module\Monitoring\Forms\Command\Object\CheckNowCommandForm->onSuccess() > > #4 > /usr/share/icingaweb2/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php(62): > Icinga\Web\Form->handleRequest() > > #5 > /usr/share/icingaweb2/modules/monitoring/application/controllers/HostController.php(60): > Icinga\Module\Monitoring\Web\Controller\MonitoredObjectController->showAction() > > #6 /usr/share/php/Zend/Controller/Action.php(516): > Monitoring_HostController->showAction() > > #7 /usr/share/php/Zend/Controller/Dispatcher/Standard.php(308): > Zend_Controller_Action->dispatch('showAction') > > #8 /usr/share/php/Zend/Controller/Front.php(954): > Zend_Controller_Dispatcher_Standard->dispatch(Object(Icinga\Web\Request), > Object(Icinga\Web\Response)) > > #9 /usr/share/php/Icinga/Application/Web.php(154): > Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), > Object(Icinga\Web\Response)) > > #10 /usr/share/php/Icinga/Application/webrouter.php(111): > Icinga\Application\Web->dispatch() > > #11 /usr/share/icingaweb2/public/index.php(4): > require_once('/usr/share/php/...') > > #12 {main} > > > > #0 > /usr/share/icingaweb2/modules/monitoring/application/forms/Command/Object/CheckNowCommandForm.php(68): > Icinga\Module\Monitoring\Command\Transport\LocalCommandFile->send(Object(Icinga\Module\Monitoring\Command\Object\ScheduleHostCheckCommand)) > > #1 /usr/share/php/Icinga/Web/Form.php(844): > Icinga\Module\Monitoring\Forms\Command\Object\CheckNowCommandForm->onSuccess() > > #2 > /usr/share/icingaweb2/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php(62): > Icinga\Web\Form->handleRequest() > > #3 > /usr/share/icingaweb2/modules/monitoring/application/controllers/HostController.php(60): > Icinga\Module\Monitoring\Web\Controller\MonitoredObjectController->showAction() > > #4 /usr/share/php/Zend/Controller/Action.php(516): > Monitoring_HostController->showAction() > > #5 /usr/share/php/Zend/Controller/Dispatcher/Standard.php(308): > Zend_Controller_Action->dispatch('showAction') > > #6 /usr/share/php/Zend/Controller/Front.php(954): > Zend_Controller_Dispatcher_Standard->dispatch(Object(Icinga\Web\Request), > Object(Icinga\Web\Response)) > > #7 /usr/share/php/Icinga/Application/Web.php(154): > Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), > Object(Icinga\Web\Response)) > > #8 /usr/share/php/Icinga/Application/webrouter.php(111): > Icinga\Application\Web->dispatch() > > #9 /usr/share/icingaweb2/public/index.php(4): > require_once('/usr/share/php/...') > > #10 {main} > > > > I've since upgraded to 2.3.2-1 and still have the same problem. Has > any one else encountered this or a similar issue after upgrading? > > > > Thanks, > > > > Shaun > > > > > > > > > > > > > > > > > > > > > > icinga2-2.3.2-1 > > _______________________________________________ > > icinga-users mailing list > > [email protected] <javascript:;> > > https://lists.icinga.org/mailman/listinfo/icinga-users > > -- > Michael Friedrich, DI (FH) > Application Developer > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > Tel: +49 911 92885-0 | Fax: +49 911 92885-77 > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > http://www.netways.de | [email protected] <javascript:;> > > ** OSDC 2015 - April - osdc.de ** > ** Puppet Camp Berlin 2015 - April - netways.de/puppetcamp ** > ** OSBConf 2015 - September - osbconf.org ** > _______________________________________________ > icinga-users mailing list > [email protected] <javascript:;> > https://lists.icinga.org/mailman/listinfo/icinga-users > _______________________________________________ > icinga-users mailing list > [email protected] <javascript:;> > https://lists.icinga.org/mailman/listinfo/icinga-users >
_______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
