[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: source patch to alterate log level of start stop restart event
From: |
Lutz Mader |
Subject: |
Re: source patch to alterate log level of start stop restart event |
Date: |
Fri, 4 Dec 2020 23:03:50 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Hello Luca,
I use one script for all.
> And you need to set up two check program if you want to start stop your>
> service using monit, maybe too machinary.. do you mean that?
But my scripts deal with start/stop/status and restart in general and I
get useful status codes. But you are right (sorry), monit collect the
output from the status check only.
check program Manager with path "/usr/local/etc/monit/scripts/em.sh status"
start program "/usr/local/etc/monit/scripts/em.sh start" with timeout
240 seconds
stop program "/usr/local/etc/monit/scripts/em.sh stop" with timeout
300 seconds
if status > 1 for 3 times within 5 cycles then alert
The output of the status check of my script looks similar to the
start/stop output.
With regards,
Lutz
- RE: source patch to alterate log level of start stop restart event, lutz . mader, 2020/12/02
- Re: source patch to alterate log level of start stop restart event, fusillator, 2020/12/02
- Re: source patch to alterate log level of start stop restart event, Lutz Mader, 2020/12/03
- Re: source patch to alterate log level of start stop restart event, fusillator, 2020/12/03
- Re: source patch to alterate log level of start stop restart event,
Lutz Mader <=
- Re: source patch to alterate log level of start stop restart event, Luca Cazzaniga, 2020/12/05
- Re: source patch to alterate log level of start stop restart event, Lutz Mader, 2020/12/05
- Re: source patch to alterate log level of start stop restart event, fusillator, 2020/12/05
- Re: source patch to alterate log level of start stop restart event, Lutz Mader, 2020/12/06