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]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to