Hi Thomas & rest, Sorry for the late response, been very busy with puppet ;-)
I tried "icingacli" as command, but it isn't found on my system... I am running on OpenSuSE 13.1 x86.. My Icinga versions: icinga2-ido-mysql-2.3.8-1.1.i586 icinga2-common-2.3.8-1.1.i586 icinga2-2.3.8-1.1.i586 icinga2-doc-2.3.8-1.1.i586 python-icinga2-2.1.1-1.1.i586 icinga2-bin-2.3.8-1.1.i586 icinga2-classicui-config-2.3.8-1.1.i586 icingaweb2-vendor-dompdf-0.6.1-1.noarch icingaweb2-vendor-lessphp-0.4.0-1.noarch icingaweb2-common-2.0.0-4.rc1.noarch icingaweb2-vendor-Parsedown-1.0.0-1.noarch icingaweb2-vendor-HTMLPurifier-4.6.0-1.noarch icingaweb2-vendor-JShrink-1.0.1-1.noarch icingaweb2-2.0.0-4.rc1.noarch with businessprocess under icingaweb2 as module from github Hans Scheffers AIX / Linux Systeembeheer > Date: Thu, 13 Aug 2015 12:38:30 +0200 > From: thomas.g...@netways.de > To: icinga-users@lists.icinga.org > Subject: Re: [icinga-users] icingaweb2 BP Addon > > Hi Hans, > > the businessprocess module provides a check command similar to the > legacy check_bp_status.pl, registered as part of the Icinga (Web) CLI: > > # icingacli businessprocess check process 'My special service' > Business Process OK: My special service > > The process name can refer any node, even sub-processes. In case you > created multiple config files and your process is not to be found in the > first one please use the --config parameter to specify the config name > without the .conf suffix. So for the node 'Another process' in > whatever.conf would ask for a check command as follows: > > icingacli businessprocess check process --config whatever 'Another process' > Business Process OK: Another service > > Cheers, > Thomas > > Am 13.08.2015 um 10:39 schrieb Hans Scheffers: >> Hi, >> I installed the BP Addon from github under icingaweb2 and define some >> business processes as test. >> >> Example: >> intra_dbserver = server1`;MySQL Daemon >> intra_webserver = server2;HTTP Daemon >> intranet = intra_dbserver & intra_webserver >> display 1; intranet;Intranet >> >> Is it possible to get a notification when this BP gets in a warning or >> critical state? And if then how :) >> Most ideal would be that i can turn of the notifications for the singels >> checks, and only get notifcations for the BP. >> >> >> Hans Scheffers >> AIX / Linux Systeembeheer >> >> _______________________________________________ >> icinga-users mailing list >> icinga-users@lists.icinga.org >> https://lists.icinga.org/mailman/listinfo/icinga-users >> > > -- > Thomas Gelf > Senior Consultant > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > Tel: +49 911 92885-0 | Fax: +49 911 92885-77 > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > http://www.netways.de | thomas.g...@netways.de > > ** OSBConf 2015 - September - osbconf.org ** > ** OSMC 2015 - November - netways.de/osmc ** > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users