RE: "check now" command

"Roose, Marco" <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
I very much like that idea!

Kind regards,
Marco Roose


-----Original Message-----
From: monit-general <[email protected]> On Behalf Of SZÉPE Viktor
Sent: Monday, July 30, 2018 10:29 PM
To: monit-general <[email protected]>
Subject: "check now" command

Hello!

I am a happy monit user.

Sometime I face a situation when a check has a temporary problem.

  # Number of resolvers
  check program network_resolv
     with path "/usr/local/sbin/server-integrity.sh -c RES -r 3" every
33 cycles
    group integrity
    if status != 0 then alert

So if it goes to "failed" status it would be nice to have a dedicated "check now" command that would evaluate the status of the check again.
Work-arounds may exist but I am looking for a straight-forwards solution.
(currently I issue monit reload for that with is not optimal)

Thanks!


SZÉPE Viktor, honlap üzemeltetés / Running your application https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
--
ügyelet/hotline: +36-20-4242498  [email protected]  skype: szepe.viktor Budapest, III. kerület






-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
smime.p7s (application/pkcs7-signature, 7.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.