[Check_mk (english)] Action upon state change?

Matthias Haehnel matthias.haehnel at sixt.com
Tue Apr 14 15:04:21 CEST 2015


Hi,
I have shortly discovered that the event console can execute shell scripts.

Atm i use it with logwatch, but you can also forward notifications to the EC

Regards Matthias

Von: checkmk-en-bounces at lists.mathias-kettner.de [mailto:checkmk-en-bounces at lists.mathias-kettner.de] Im Auftrag von Marcel Schulte
Gesendet: Dienstag, 14. April 2015 14:26
An: Mark Brandis; checkmk-en at lists.mathias-kettner.de
Betreff: Re: [Check_mk (english)] Action upon state change?

Hi Mark,

you also could get this by using notification scripts (e.g. via http://mathias-kettner.de/checkmk_flexible_notifications.html). Simply execute what you want instead of/in addition to notifying by mail.

If you're using CMC (available with CMK subscription) instead of Nagios/Icinga/whatever you have to use this technique as event handlers are not supported by CMC.

Regards,
Marcel

Mark Brandis <mark.brandis at gmx.de<mailto:mark.brandis at gmx.de>> schrieb am Di., 14. Apr. 2015 um 10:09 Uhr:
Hi!

I wanted to create an action (execute a shell script) when a certain
test switches to CRIT. Is that possible?

I read the manual about the event console and actions and so far my
impression is, that actions are only possible associated with events.

If I'm wrong, could you point me in the right direction (documentation
link)?

TIA
mad
_______________________________________________
checkmk-en mailing list
checkmk-en at lists.mathias-kettner.de<mailto:checkmk-en at lists.mathias-kettner.de>
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Well meet in Munich for the 2nd Check_MK Conference!
Book your place now and be part of it.
October 18th-20th, 2015
http://mathias-kettner.de/conference
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20150414/6aaab301/attachment-0001.html>


More information about the checkmk-en mailing list