Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #10181] Icinga 2 command pipe seems to be unavailable when executing consecutive commands (waiting for Icinga 2) #2020

Closed
icinga-migration opened this issue Sep 21, 2015 · 5 comments

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented Sep 21, 2015

This issue has been migrated from Redmine: https://dev.icinga.com/issues/10181

Created by anton on 2015-09-21 10:57:19 +00:00

Assignee: (none)
Status: Closed (closed on 2016-10-04 13:37:00 +00:00)
Target Version: (none)
Last Update: 2016-10-04 13:37:00 +00:00 (in Redmine)


Hi,

If I use the webinterface (on the ssh service), with only "passive checks" and "notifications" ticked, and then:

  1. Check "Active checks"
  2. Scroll down and check "Event Handler"

I get a crash with this information:

Can't send external Icinga command to the local command file /var/run/icinga2/cmd/icinga2.cmd No such device or address

#0 /usr/share/icingaweb2/modules/monitoring/application/forms/Command/Object/ToggleObjectFeaturesCommandForm.php(157): Icinga\Module\Monitoring\Command\Transport\LocalCommandFile->send(Object(Icinga\Module\Monitoring\Command\Object\ToggleObjectFeatureCommand))
#1 /usr/share/php/Icinga/Web/Form.php(909): Icinga\Module\Monitoring\Forms\Command\Object\ToggleObjectFeaturesCommandForm->onSuccess()
#2 /usr/share/icingaweb2/modules/monitoring/library/Monitoring/Web/Controller/MonitoredObjectController.php(81): Icinga\Web\Form->handleRequest()
#3 /usr/share/icingaweb2/modules/monitoring/application/controllers/ServiceController.php(65): Icinga\Module\Monitoring\Web\Controller\MonitoredObjectController->showAction()
#4 /usr/share/php/Zend/Controller/Action.php(516): Monitoring_ServiceController->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}

If I click on the service again, neither one of "Event Handler" or "Active Checks" have been activated.

It can also get reproduced by clicking "Event Handler", then "Active Checks" then clicking "Event Handler" again.

It works if I activate them one by one.


Relations:

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Sep 21, 2015

Updated by mfriedrich on 2015-09-21 20:23:01 +00:00

  • Project changed from Icinga 2 to Icinga Web 2
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Mar 15, 2016

Updated by elippmann on 2016-03-15 12:38:09 +00:00

  • Subject changed from [Minor] Error message when trying to activate "active checks" and "event handler" at WebInterface to Icinga 2 command pipe seems to be unavailable when executing consecutive commands
  • Category set to Monitoring
  • Target Version set to Backlog
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Apr 11, 2016

Updated by elippmann on 2016-04-11 08:54:22 +00:00

  • Blocked set to 11390
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Apr 11, 2016

Updated by elippmann on 2016-04-11 08:54:31 +00:00

  • Subject changed from Icinga 2 command pipe seems to be unavailable when executing consecutive commands to Icinga 2 command pipe seems to be unavailable when executing consecutive commands (waiting for Icinga 2)
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Oct 4, 2016

Updated by elippmann on 2016-10-04 13:37:00 +00:00

  • Status changed from New to Closed
  • Target Version deleted Backlog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.