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 #10372] Unbound Nodes & Co. #32

Closed
icinga-migration opened this issue Oct 15, 2015 · 7 comments
Closed

[dev.icinga.com #10372] Unbound Nodes & Co. #32

icinga-migration opened this issue Oct 15, 2015 · 7 comments
Labels
bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

Created by spillerm on 2015-10-15 11:29:24 +00:00

Assignee: tgelf
Status: Resolved (closed on 2016-11-29 00:06:59 +00:00)
Target Version: 2.0.0
Last Update: 2016-11-29 00:06:59 +00:00 (in Redmine)


Ursprünglich hier gepostet: http://monitoring-portal.org/wbb/index.php?page=Thread&threadID=34432

Hallo,

ich habe akute Verständnisprobleme in Sachen Icinga2, Icingaweb2 und Business Processes, die ich bislang auch mit Hilfe meiner Kollegen nicht lösen konnte ;-)

  1. Ich kann unter "Overview -> Business Processes" einen neuen anlegen; ich nenne ihn "test"

=> es erscheint eine Fehlermeldung, vgl. Screenshot; er wird aber dennoch angelegt und ist fortan unter "Overview -> Business Processes" zu finden
Es erscheint ein Hinweisfeld:
No business process nodes for "test" have been defined yet"
Ich wähle also "Add new node" aus und füge etwas hinzu; der Hinweis bleibt bestehen. Die Nodes sausen als "Unbound nodes" durchs Webinterface, vgl. Screenshot.

Es wird eine /etc/icingaweb2/modules/businessprocess/processes/test.conf angelegt; sie hat folgenden Inhalt:

### Business Process Config File ###
#

# Title : test

# Statetype : hard
#

### 2015-10-08 14:04:15 - autogenerated ###

MySQL Slave = ispc1;NRPE mysql sql slave running
display 0;MySQL Slave;MySQL Slave

Helft ihr mir bitte auf die Sprünge? Ich halte einen akuten Denkfehler meinerseits nicht für ausgeschlossen, aber ich komm einfach nicht drauf...

Vielen Dank & viele Grüße,
Marianne

OS: Ubuntu 14.04.3 LTS
Unser Icinga2: r2.3.10-1
Unser Icingaweb2:2.0.0 / eed195922349babc3e9f7512bf051825adc82b13 / 2015-10-14
Loaded Modules: businessprocess 2.0.0-beta1 / monitoring 2.0.0

Attachments

@icinga-migration
Copy link
Author

Updated by spillerm on 2015-10-21 10:17:41 +00:00

Okay, ein Update: wenn ich "toplevel process" statt "subprocess only" auswähle, dann auf "store klicke", dann dochmal auf "store" und dann nochmal auf "store" - dann funktioniert es, obgleich ich das nicht wirklich als selbsterklärend empfinde, aber okay. Vielen Dank an Malte für den Schubs in die richtige Richtung!

Was mir bleibt, ist die Fehlermeldung beim Anlegen eines neuen business process
url "/icingaweb2/businessprocess/process/show" is not a string

#0 /usr/share/icingaweb2/modules/businessprocess/application/forms/BpConfigForm.php(133): Icinga\Web\Url::fromPath(Object(Icinga\Web\Url), Array)
#1 /usr/share/icingaweb2/library/Icinga/Web/Form.php(1147): Icinga\Module\Businessprocess\Forms\BpConfigForm->onSuccess()
#2 /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/Form.php(28): Icinga\Web\Form->handleRequest()
#3 /usr/share/icingaweb2/modules/businessprocess/application/controllers/ProcessController.php(27): Icinga\Module\Businessprocess\Form->handleRequest()
#4 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Businessprocess_ProcessController->createAction()
#5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Dispatcher/Standard.php(303): Zend_Controller_Action->dispatch('createAction')
#6 /usr/share/icingaweb2/library/Icinga/Web/Controller/Dispatcher.php(55): Zend_Controller_Dispatcher_Standard->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#7 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#8 /usr/share/icingaweb2/library/Icinga/Application/Web.php(346): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#9 /usr/share/icingaweb2/library/Icinga/Application/webrouter.php(109): Icinga\Application\Web->dispatch()
#10 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/icin...')
#11 {main}

@icinga-migration
Copy link
Author

Updated by Malte on 2015-10-21 10:45:48 +00:00

Die Fehlermeldung beim Anlegen eines neuen "business process" habe ich so auch, bei gleicher businessprocess Version.

Der Rest funktioniert, intuitiv ist anders ;-)

@icinga-migration
Copy link
Author

Updated by crsp on 2015-11-18 16:21:45 +00:00

Gleiches Thema habe ich auch:

url "/icingaweb2/businessprocess/process/show" is not a string

`#0 /usr/share/icingaweb2/modules/businessprocess/application/forms/BpConfigForm.php(133): Icinga\Web\Url::fromPath(Object(Icinga\Web\Url), Array)

#1 /usr/share/php/Icinga/Web/Form.php(1152): Icinga\Module\Businessprocess\Forms\BpConfigForm->onSuccess()
#2 /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/Form.php(28): Icinga\Web\Form->handleRequest()
#3 /usr/share/icingaweb2/modules/businessprocess/application/controllers/ProcessController.php(27): Icinga\Module\Businessprocess\Form->handleRequest()
#4 /usr/share/php/Zend/Controller/Action.php(516): Businessprocess_ProcessController->createAction()
#5 /usr/share/php/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('createAction')
#6 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(56): Zend_Controller_Dispatcher_Standard->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#7 /usr/share/php/Zend/Controller/Front.php(954): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#8 /usr/share/php/Icinga/Application/Web.php(361): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#9 /usr/share/php/Icinga/Application/webrouter.php(109): Icinga\Application\Web->dispatch()
#10 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...')
#11 {main}`

@icinga-migration
Copy link
Author

Updated by crsp on 2015-11-18 16:28:41 +00:00

Update: es scheint sich nicht um ein Problem mit Safari zu handeln. Test mit Chrome auf Windows allerdings ebenfalls mit Problem.

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-01-29 18:35:55 +00:00

  • Target Version set to 2.0.0

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-11-29 00:06:48 +00:00

  • Status changed from New to Assigned
  • Assigned to set to tgelf

Fixed in "next". Please wait another 1-2 days before testing it, that branch should not be used at all right now :p

@icinga-migration
Copy link
Author

Updated by tgelf on 2016-11-29 00:06:59 +00:00

  • Status changed from Assigned to Resolved

@icinga-migration icinga-migration added the bug Something isn't working label Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.0.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant