[icinga-users] Business Process module

Thomas Gelf thomas.gelf at netways.de
Tue Jan 24 16:55:03 CET 2017


PHP 7.0 is supported. Our Unit-Tests are running on Travis on a wide
range of PHP versions:

https://travis-ci.org/Icinga/icingaweb2-module-businessprocess/builds/194640720

On our internal infrastructure in addition to those we also run our
tests on CentOS 6, 7, Debian stable and latest Ubuntu LTS. This to make
sure that versions like the VERY old 5.3 on RHEL6 are also tested.

Your exception suggests that you are using a pretty dated version of
this module, where did you get the ZIP file from?

Cheers,
Thomas

Am 24.01.2017 um 16:44 schrieb Garrett Pye:
> Confirmed the module unzipped and installed in suggested path. After
> enabling the module, received the following error in Icingaweb2. Is
> using PHP7.0 truly a compatible version for Business Process module?
>
> -----------------------------------
>
>
> Could not open /etc/icingaweb2/modules/businessprocess/processes/.conf
>
> #0 /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/Storage/LegacyStorage.php(96): Icinga\Module\Businessprocess\Storage\LegacyStorage->parse('/etc/icingaweb2...', NULL)
> #1 /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/Controller.php(63): Icinga\Module\Businessprocess\Storage\LegacyStorage->loadProcess(NULL)
> #2 /usr/share/icingaweb2/modules/businessprocess/application/controllers/ProcessController.php(20): Icinga\Module\Businessprocess\Controller->loadBp()
> #3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Businessprocess_ProcessController->showAction()
> #4 /usr/share/icingaweb2/library/vendor/Zend/Controller/Dispatcher/Standard.php(303): Zend_Controller_Action->dispatch('showAction')
> #5 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(56): Zend_Controller_Dispatcher_Standard->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
> #6 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
> #7 /usr/share/php/Icinga/Application/Web.php(389): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
> #8 /usr/share/php/Icinga/Application/webrouter.php(109): Icinga\Application\Web->dispatch()
> #9 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...')
> #10 {main}
>
> ------------------------------------
>
> icinga2 - The Icinga 2 network monitoring daemon (version: r2.6.0-1)
>
> Copyright (c) 2012-2016 Icinga Development Team (https://www.icinga.org/)
> License GPLv2+: GNU GPL version 2 or later
> <http://gnu.org/licenses/gpl2.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Application information:
>   Installation root: /usr
>   Sysconf directory: /etc
>   Run directory: /run
>   Local state directory: /var
>   Package data directory: /usr/share/icinga2
>   State path: /var/lib/icinga2/icinga2.state
>   Modified attributes path: /var/lib/icinga2/modified-attributes.conf
>   Objects path: /var/cache/icinga2/icinga2.debug
>   Vars path: /var/cache/icinga2/icinga2.vars
>   PID path: /run/icinga2/icinga2.pid
>
> System information:
>   Platform: Ubuntu
>   Platform version: 16.04.1 LTS (Xenial Xerus)
>   Kernel: Linux
>   Kernel version: 4.4.0-59-generic
>   Architecture: x86_64
>
> Build information:
>   Compiler: GNU 5.4.0
>   Build host: lcy01-03
>
>
> On Mon, Jan 23, 2017 at 4:26 PM, Antony Stone
> <Antony.Stone at icinga.open.source.it
> <mailto:Antony.Stone at icinga.open.source.it>> wrote:
>
>     On Monday 23 January 2017 at 23:50:43, Antony Stone wrote:
>
>     > On Monday 23 January 2017 at 22:11:10, Garrett Pye wrote:
>     > > Apologize to ask a basic question. The Business Module is an essential
>     > > tools want to use in lab testing before production. However, after
>     > > unzipping the file the feature is not available to enable/disable.
>     >
>     > Where did you unzip it to?
>     >
>     > > What did I miss from the readme file?
>     > >
>     > > https://github.com/Icinga/icingaweb2-module-businessprocess
>     <https://github.com/Icinga/icingaweb2-module-businessprocess>
>     > >
>     > > # icinga2 feature list
>     > > Disabled features: debuglog gelf graphite influxdb notification opentsdb
>     > > perfdata statusdata syslog
>     > > Enabled features: api checker command compatlog ido-mysql livestatus
>     > > mainlog
>     >
>     > It's not a feature, it's a module.
>     >
>     > Go to http://you.icinga2.ser.ver/icingaweb2/config/modules
>     <http://you.icinga2.ser.ver/icingaweb2/config/modules> and see if you
>     > have one there labelled "businessprocess".  If you have, click on it and
>     > enable it. If you haven't, you probably didn't unzip the module to the
>     > correct directory (I would use /usr/share/icingaweb2/modules/ )
>
>     Just to be clear - unzip it to a subdirectory named businessprocess
>     under
>     /usr/share/icingaweb2/modules/
>
>
>     Antony.
>
>     --
>     "Black holes are where God divided by zero."
>
>      - Steven Wright
>
>                                                        Please reply to
>     the list;
>                                                              please
>     *don't* CC me.
>     _______________________________________________
>     icinga-users mailing list
>     icinga-users at lists.icinga.org <mailto:icinga-users at lists.icinga.org>
>     https://lists.icinga.org/mailman/listinfo/icinga-users
>     <https://lists.icinga.org/mailman/listinfo/icinga-users>
>
>
>
>
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users
>

-- 
Thomas Gelf
Principal Consultant

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | thomas.gelf at netways.de

** OSDC 2017 - Mai – osdc.de **


More information about the icinga-users mailing list