Business Process Alerting

This forum was archived to /woltlab and is now in read-only mode.
  • Hello,


    i want to configure Alerting for my Business Processe in Icingaweb2

    I'm using:

    Icingaweb2 2.4.1

    Businessprocess 2.1.0

    director 1.3.1

    monitoring 2.4.1


    I have read following articels:

    Notifications based on BusinessProcess

    https://www.unixe.de/business-processes-in-icinga-2/


    I have created my config under /etc/icinga2/conf.d/businessprocess.conf


    Copied the config from: https://github.com/Icinga/icin…nga2/demo/bp_cluster.conf


    my current config:


    # icingacli businessprocess process check --config Test "Test-Storage"

    object Host "bp-cluster" {

    check_command = "dummy"

    vars.dummy_state = 0


    display_name = "Business Process Cluster"


    vars.bp_cluster["Test"] = {

    icingacli_businessprocess_process = "Test-Storage"

    icingacli_businessprocess_config = "Test"

    icingacli_businessprocess_details = true

    }


    }


    apply Service "bp-cluster-" for (bp_name => config in host.vars.bp_cluster) {

    check_command = "icingacli-businessprocess"

    display_name = config.icingacli_businessprocess_process

    vars += config

    assign where host.name == "bp-cluster"

    }



    I have changed nagios permissions as following:

    sudo usermod -a -G icingaweb2 nagios
    chmod o+r -R /etc/icingaweb2/
    chmod o+x -R /etc/icingaweb2/


    When i Check my Service: Service: Test-Storage (bp-cluster-Test)

    I see following:


    Plugin Output

    ERROR: Exception in /usr/share/icingaweb2/modules/businessprocess/library/Businessprocess/BpConfig.php:518 with message: The node "" doesn't exist




    Under Custom Variables of my Service, the variables are correct set:



    icingacli_businessprocess_process = "Test-Storage"

    icingacli_businessprocess_config = "Test"



    As mentioned here: https://www.icinga.com/docs/ic…doc/03-monitoring-basics/


    Can anybody help?



    Best regards


    David

  • icinga2 - The Icinga 2 network monitoring daemon (version: r2.6.3-1)


    System information:

    Platform: Debian GNU/Linux

    Platform version: 8 (jessie)

    Kernel: Linux

    Kernel version: 3.16.0-4-amd64

    Architecture: x86_64


    Build information:

    Compiler: GNU 4.9.2

    Build host: smithers


    Sorry for the delay. It would be great if you could assist me, to resolve this problem.

  • I have found the issue, if i remove follolwing config from the the service conf it works:

    vars.icingacli_businessprocess_details = true