Hi Icinga admins.
We’re looking for an option to have a ICINGA DSL check routine to pass “a result” to the associated event handler. Although not fully investigated it seems that only host/service runtime attribute last_check_result is a candidate but i have no clue if/how the check code can somewhat pass by output or other way to the event handler.
Any idea, hint or question is highly welcome.
Best regards
Michael
Background
By using the powerful ICINGA DSL we have developed a quite handy scenario correlation check which could be specified by a custom check variable array condition_matrix
.
It is evaluated by Icinga as a dummy check DLS check command function and dummy_text is producing a Plugin output as shown here:
The “additional result” we want to pass to event handler is the list of CRITICAL offenders.