Questions tagged [monit]

monit is a free, open source process supervision tool for Unix and Linux.

Monit is a free open source utility for managing and monitoring processes, programs, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.

389 questions
3
votes
4 answers

Recommendations for Monitoring services

I would like to install a monitoring services (Monit or others) on my web server and am looking for recommendation. I have no idea which is good, and what parameters which I should evaluate on, and which is a good for for my needs. Some which I saw…
shabda
  • 300
  • 1
  • 4
  • 10
3
votes
3 answers

How to prevent monit daemon stopped?

I use monit to make sure everything running fine, but monit daemon was also stopped. I dont know how this be, and how to prevent monit daemon from stopped?
Kewasen
3
votes
3 answers

Restart apache with monit

I'm trying to figure out some issues on my server where my CPU is reaching 100% utilization every other day. This causes all my websites and http services to fail. How can I configure monit to restart the httpd service when my cpu hits 100% for say…
ibyte
  • 83
  • 6
2
votes
1 answer

HTML formatted alert emails using monit

Is it possible to send HTML formatted alert emails using monit service ? I would like to include coloured status based on the alert. Ref: https://linux.die.net/man/1/monit
penguin
  • 39
  • 7
2
votes
1 answer

How can I make monit poll more often during a state change?

I'm using Monit to monitor various processes that need to be up and running as a group for a web site to work properly. To bring up or bring down the site, there's a definite order by which the processes must be started or stopped. The dependencies…
Louis
  • 526
  • 3
  • 12
2
votes
1 answer

Log system information collected by Monit to local log

I have configured Monit version 5.6 on an Ubuntu 14.04 server. There are few check like filesystem usage, remote host connectivity check and service monitoring. Now, when I check the web gui of monit, I see something like this; Now, there are many…
2
votes
1 answer

monit - "else if succeeded then exec"

I have a problem with monit executing script on success. ~/.monitrc: check host example.com with address example.com if failed url http://example.com/startpage and content == "mainBaner" timeout 10 seconds then exec…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
2
votes
2 answers

Setting up "monit" to monitor services, but can't get it to load

I'm trying to get this going on my new server: https://mmonit.com/monit/ I've installed it, but when I try and run any commands, it times out: root@mail:~# monit status /etc/monit/monitrc:298: Include failed -- Success…
Andrew Newby
  • 1,102
  • 2
  • 25
  • 58
2
votes
1 answer

Overriding monit alerts with mail-format on a per check basis

I currently have two monit checks for each host I have running HTTPS: check host www-example-https with address www.example.org if failed port 443 protocol https then alert check host www-example-certificate with address…
pwaring
  • 209
  • 2
  • 7
2
votes
2 answers

no httpd connection for monit started from systemd

When starting monit my logs show that [CET Oct 31 19:43:34] info : Starting Monit 5.16 daemon [CET Oct 31 19:43:34] error : monit: monit httpd not started since no connect allowed [CET Oct 31 19:43:34] info : 'srv.home' Monit 5.16…
WoJ
  • 3,607
  • 9
  • 49
  • 79
2
votes
2 answers

Monit missing files / wont start webserver

I just recently tried to install 'monit' on a server which runs Ubuntu, though when I try to run monit it will always popup the following errors: test:~$ sudo monit restart all /etc/monit/monitrc:289: Include failed -- Success…
killstreet
  • 83
  • 1
  • 9
2
votes
1 answer

Monit fails to start process

Monit fails to start a Java process that is launched from an init script in /etc/init.d. The init script works when launched from the shell. Monit detects that the service is running and detects when the service is down. Error message from…
user371087
  • 61
  • 1
  • 1
  • 4
2
votes
0 answers

aggregation of monit alerts per cycle

I have a dozen of identical services configured in monit. When I enable alerts for check process on these services and alert condition arises in all of the services I receive a dozen of identical alerts. Is there a way to do some kind of aggregation…
timurb
  • 347
  • 4
  • 12
2
votes
1 answer

On restart, start with "monitor all" enabled

I have monit enabled and monitoring one of my applications, where if the application restarts more than 4 times in 10 cycles, I stop it, and run a script (which, among other action, also does unmonitor all, and stops monit) Now, if I manually start…
Ani
  • 32
  • 2
  • 13
2
votes
2 answers

monit: Consolidated dashboard for monit running on multiple machines

I have monit setup on multiple machines. For Example: x.example.com:2812, y.example.com:2812 and z.example.com:2812. Is there a way so that we can see all these dashboards consolidated at one place let's say at web location consolidated.example.com.…
Mayank Jaiswal
  • 141
  • 1
  • 5