we are using Host and Service-Comments for communicating certain operational stuff to ops-personnel, e.g. “from 7am to 6pm call person xyz - from 6am to 7pm cry lonely - but don’t tell anyone”
Is there any way in general with icinga2 and with Icinga-director (current most actual version) in our specific case to stuff all comments attached to a host/service into one variable (we could also live with the most actual comment - i.e only one comment) into a variable and pass it to a notification-script?
I googled and browsed through found documentation - but nothing did really match with my problem.
Thanks in advance!