[icinga-users] Business Process module

Thomas Gelf thomas.gelf at netways.de
Tue Jan 24 18:37:30 CET 2017


We are working on automating our GitHub/Icinga Exchange integration.
However, it wouldn't have helped here as there never was a tagged
version on GitHub. Can only get better ;-)

Am 24.01.2017 um 18:16 schrieb Garrett Pye:
> That was it! Interesting the Exchange version was dated. Downloaded from
> GitHub and now it's working.
>
> Thank you.
>
> //Garrett
>
> On Tue, Jan 24, 2017 at 9:46 AM, Thomas Gelf <thomas.gelf at netways.de
> <mailto:thomas.gelf at netways.de>> wrote:
>
>     Now THAT is a very, VERY old one. Last change nearly two years ago or
>     so. While there have been lots of changes after that version in 2015, we
>     never tagged a stable version - and nobody updated Icinga Exchange.
>     Guess most people used the latest one from Git. To get that version
>     running you must probably manually create a config file according the
>     documentation from the good old BP addon:
>
>     http://bp-addon.monitoringexchange.org/doc/README
>     <http://bp-addon.monitoringexchange.org/doc/README>
>
>     Store it to /etc/icingaweb2/modules/businessprocess/processes/ and it
>     should work. Or even better, get the latest version from GitHub:
>
>     https://github.com/Icinga/icingaweb2-module-businessprocess
>     <https://github.com/Icinga/icingaweb2-module-businessprocess>
>
>     It is far, FAR better. And scheduled to be tagged v2.0.0 stable tomorrow
>     ;-) Not kidding:
>
>     https://github.com/Icinga/icingaweb2-module-businessprocess/milestones
>     <https://github.com/Icinga/icingaweb2-module-businessprocess/milestones>
>
>     Cheers,
>     Thomas
>
>     Am 24.01.2017 um 17:31 schrieb Garrett Pye:
>     > Downloaded module from Icinga.com site
>     >
>     > https://exchange.icinga.com/icinga/Business+Process#Latest-Release
>     <https://exchange.icinga.com/icinga/Business+Process#Latest-Release>!
>     >
>     >
>     > Name  businessprocess
>     > State enabled disable
>     >
>     <http://localhost/icingaweb2/config/moduledisable?name=businessprocess
>     <http://localhost/icingaweb2/config/moduledisable?name=businessprocess>>
>     > Version       2.0.0-beta1
>     > Description   *BPapp is a viewer for BPaddon business process
>     config files*
>     > That's it
>     > Dependencies  *monitoring*
>     >
>     >
>     > On Tue, Jan 24, 2017 at 8:55 AM, Thomas Gelf <thomas.gelf at netways.de <mailto:thomas.gelf at netways.de>
>     > <mailto:thomas.gelf at netways.de <mailto:thomas.gelf at netways.de>>>
>     wrote:
>     >
>     >     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
>     <https://travis-ci.org/Icinga/icingaweb2-module-businessprocess/builds/194640720>
>     >
>      <https://travis-ci.org/Icinga/icingaweb2-module-businessprocess/builds/194640720
>     <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
>     <http://gnu.org/licenses/gpl2.html>
>     >     <http://gnu.org/licenses/gpl2.html
>     <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>
>     >     <mailto:Antony.Stone at icinga.open.source.it
>     <mailto:Antony.Stone at icinga.open.source.it>>
>     >     > <mailto:Antony.Stone at icinga.open.source.it
>     <mailto:Antony.Stone at icinga.open.source.it>
>     >     <mailto: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>
>     >     <https://github.com/Icinga/icingaweb2-module-businessprocess
>     <https://github.com/Icinga/icingaweb2-module-businessprocess>>
>     >     >
>      <https://github.com/Icinga/icingaweb2-module-businessprocess
>     <https://github.com/Icinga/icingaweb2-module-businessprocess>
>     >     <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>
>     >     <http://you.icinga2.ser.ver/icingaweb2/config/modules
>     <http://you.icinga2.ser.ver/icingaweb2/config/modules>>
>     >     >     <http://you.icinga2.ser.ver/icingaweb2/config/modules
>     <http://you.icinga2.ser.ver/icingaweb2/config/modules>
>     >     <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>
>     >     <mailto:icinga-users at lists.icinga.org
>     <mailto:icinga-users at lists.icinga.org>>
>     >     <mailto:icinga-users at lists.icinga.org
>     <mailto:icinga-users at lists.icinga.org>
>     >     <mailto: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>
>     >     <https://lists.icinga.org/mailman/listinfo/icinga-users
>     <https://lists.icinga.org/mailman/listinfo/icinga-users>>
>     >     >     <https://lists.icinga.org/mailman/listinfo/icinga-users
>     <https://lists.icinga.org/mailman/listinfo/icinga-users>
>     >     <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 <mailto:icinga-users at lists.icinga.org>
>     <mailto: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>
>     >     <https://lists.icinga.org/mailman/listinfo/icinga-users
>     <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
>     <mailto:thomas.gelf at netways.de>
>     >     <mailto:thomas.gelf at netways.de <mailto:thomas.gelf at netways.de>>
>     >
>     >     ** OSDC 2017 - Mai – osdc.de <http://osdc.de> <http://osdc.de> **
>     >     _______________________________________________
>     >     icinga-users mailing list
>     >     icinga-users at lists.icinga.org
>     <mailto:icinga-users at lists.icinga.org>
>     <mailto: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>
>     >     <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 <mailto:icinga-users at lists.icinga.org>
>     > https://lists.icinga.org/mailman/listinfo/icinga-users
>     <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
>     <mailto:thomas.gelf at netways.de>
>
>     ** OSDC 2017 - Mai – osdc.de <http://osdc.de> **
>     _______________________________________________
>     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