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

learn more… | top users | synonyms

1
vote
0answers
25 views

Trying to configure monit to use https protocol but it sticks with http

I'm trying to monitor a VHost on the local Apache instance via Monit. The same domain accepts both http and https traffic, so I wanted to monitor both. Also, the IP that the domain resolves to goes ...
0
votes
0answers
25 views

Monit rabbitmq-server with monit fails but run the process

When monit try to run rabbitmq-server, the server running is successful but I get this failure message from monit. [CET Mar 14 14:02:27] info : 'rabbitmq-server' start: /usr/local/sbin/rabbitmq-...
0
votes
0answers
9 views

How to set maximum limit to monit alert trigger?

I have monit setup on servers. I am sending out SNS on monit alerts as below. check filesystem "root" with path /dev/xvda1 if space usage > 80% for 10 cycles then exec "/bin/bash -c '/usr/...
5
votes
1answer
301 views

How to get Monit to re-monitor a service it has unmonitored?

While devising an answer to this question I ran into a snag while testing this MySQL Monit ruleset on an Ubuntu 12.04.5 setup: check process mysqld with pidfile /var/run/mysqld/mysqld.pid group ...
0
votes
0answers
14 views

Conditionally starting monit services

I have a monitrc file that defines services in two groups A and B according to some environment variable X I want to either start A and B or just A or just B, How can I achieve that? Is loading ...
0
votes
1answer
56 views

monit fails to support dbus session

I am trying to use monit to monitor and automatically issues like crashes, memory leaks and cpu hotspinning. For one application - one that uses DBus (serving and calling funcs) just will not start. ...
1
vote
0answers
54 views

monit to restart more than one process at once?

It seems that monit will only start a single process at a time and then wait to verify that it has started, before moving on to start the next one... even if there are lots of things to get up and ...
0
votes
2answers
752 views

Manually Installed monit on debian squeeze

I am running Debian squeeze and I want to install monit, the problem is that the version in the repository is old and doesn't have some options that I need. I downloaded the source and compiled it ...
2
votes
1answer
170 views

Monit vs Source Control: permission problems

I'm trying to be good. That's my big mistake. I'm being good by having process monitoring: I have monit watching some key processes, and restarting them if they fail. I'm being good by not running ...
2
votes
1answer
73 views

Getting directory of file

I have found an error in monit init script that I want to fix on my own for now. The faulty code is PID_DIR=$(/bin/basename "$MONIT_PID_FILE") /bin/mkdir -p -m0700 "$PID_DIR" The developer wants to ...
2
votes
2answers
2k views

Debian / Monit: mail is only sent to local system, not to outside address

I have a Debian server and have monit installed and running. I use the following settings for alert mails: set mailserver localhost # primary mailserver set mail-format { from: monit@abc.test } set ...
4
votes
1answer
3k views

What does Monit do when it says 'initializing'?

I'm using Monit for system monitoring. If i enable monitoring on a service it shows 'initializing' in the Status row. This can take a while. I wonder what Monit is doing in that time, since the used ...