Icinga/icingaweb2-module-businessprocess

business process check, add 1 level of verbosity in output

wp-davga opened this issue · 1 comments

Is your feature request related to a problem? Please describe.

As a user I am able to monitor my business process using 'icingacli businessprocess' utility. Even after using '--details' parameter, the output does provides only the service's name in error. This cause problem when you enable notifications only for business processes, as you don't have any detailed informations about the service in error.
The technician is forced to login on icinga2 to see the detailed service's output

e.g. '/usr/bin/icingacli businessprocess process check 'bp_child' '--config' 'bp_root' --details'
Business Process CRITICAL: bp_root

  • [CRITICAL] hostname: Service Name

Describe the solution you'd like

I would like to see the service output as well, not only the name.
e.g. '/usr/bin/icingacli businessprocess process check 'bp_child' '--config' 'bp_root' --details 2'
Business Process CRITICAL: bp_root

  • [CRITICAL] hostname: Service Name
      • Service Name output

Describe alternatives you've considered

None, the only alternative is to enable notifications for all the services as well.

Additional context

In my mind I would like something as Icinga for Windows output, with a verbosity parameter and a nice tree output
https://icinga.com/docs/icinga-for-windows/latest/plugins/doc/plugins/13-Invoke-IcingaCheckService/#example-output-4
https://user-images.githubusercontent.com/38723488/105349546-279ce280-5bea-11eb-8a40-a9cd895df837.png

hi,

same for us .. we had a pretty old master branch running .. and details was shown .. but we switched to * (HEAD detached at v2.1.0) and now .. we just get .. the host and which business process .. but not what exactly. So I have to go to the Icingaweb and check there, what the issue is.

Update:

solved by switching to v2.4.0