monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem using monit with curl


From: Lutz Mader
Subject: Re: Problem using monit with curl
Date: Sun, 19 Jul 2020 15:21:56 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Hello Norbert,
I append some sample scripts to get the summary, the status or do some
actions on monit to the mail. Have a look to use the right user and
password, the samples use "admin" with "monit", the port is 2812.

summary.sh host [service]
status.sh host [service]
doaction.sh host start|stop|monitor|unmonitor [service]

The scripts are very easy and samples only.
The use of the scripts takes place on your own risk.

Nobody can be made under any circumstances liable for damages to
hardware and software, lost data and others directly or indirectly by
the use of the software emerging damages.

If you do not agree with these conditions, you may not use or distribute
these scripts.

With regards,
Lutz

Attachment: summary.sh
Description: Bourne shell script

Attachment: status.sh
Description: Bourne shell script

Attachment: doaction.sh
Description: Bourne shell script


reply via email to

[Prev in Thread] Current Thread [Next in Thread]