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