OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Custom Monit
« previous next »
  • Print
Pages: [1]

Author Topic: Custom Monit  (Read 1776 times)

dcol

  • Hero Member
  • *****
  • Posts: 589
  • Karma: 49
    • View Profile
Custom Monit
« on: March 05, 2018, 03:22:44 pm »
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.
Logged

dcol

  • Hero Member
  • *****
  • Posts: 589
  • Karma: 49
    • View Profile
Re: Custom Monit
« Reply #1 on: March 05, 2018, 04:24:15 pm »
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
« Last Edit: March 05, 2018, 04:38:38 pm by dcol »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Custom Monit
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2