Custom Monit

Started by dcol, March 05, 2018, 03:22:44 PM

Previous topic - Next topic
Since there is no plugin specific category, I will post my question here.

In the Monit service, is there a way to pass data from the condition field to the script?
For example I want to have a condition like 'when CPU temp reaches XX degrees'. And be able to pass the number 'XX' to the custom script.

I cannot find any docs explaining how the condition field works with custom scripts.

March 05, 2018, 04:24:15 PM #1 Last Edit: March 05, 2018, 04:38:38 PM by dcol
Just noticed an update to Monit version 1.5

Any important changes?
I see you can now import the smtp settings from notifications. That's nice