Questions tagged [monit]
monit is a free, open source process supervision tool for Unix and Linux.
401 questions
Score of 1
0 answers
60 views
Monit not detecting sleeping processes even though uptime rule triggers [closed]
I need to automatically end processes running for more than 24 hours on a CentOS 7 server. I’m using Monit to detect long-running processes and execute a custom script.
To test it, I reduced the ...
Score of 0
0 answers
36 views
Getting monit to restart a process if an arbitrary command output is wrong
I want to get monit to restart a daemon if its response is incorrect. This is what I have:
check program rpcdaemon_content with path "/path/to/myscript.sh"
with timeout 30 seconds
...
Score of 0
1 answer
271 views
monit states that certificate is expired but its not
I use M/Monit to monitor my servers. For a few days, this test is broken. It seems the test uses another certificate than I see in the browser.
check host cloud.example.com
with address cloud....
Score of 1
2 answers
247 views
Upgraded to debian bookworm - How do I configure monit to check for text in syslog (systemd's journal)?
I have been using monit for some time. One of the checks I had was to make sure that my mail server wasn't being abused. I use milter-limit to limit the rate of sending - and it logs to syslog. Prior ...
Score of 0
1 answer
214 views
how to monitor traffic in monit by traffic I mean bandwidth and is that possible using monit
I have a question regarding monit is it possible to monitor traffic in monit I kind don't know if that is possible to be traffic. by traffic I mean my bandwidth I have two in my vps incoming and ...
Score of 0
1 answer
197 views
monit website This site can’t be reached
I follow the tutorial to setup Monit on my vps which does not include support but I cannot reach the website for monit using public ip it work fine in localhost I followed this page in this website ...
Score of 0
1 answer
131 views
specifying multiple mail formats in a monit file
I have a very long monit file, with different rules.
For certain rules, I want to send an email (with a specific format) to multiple email addresses.
I thought about using a Message Format, but we ...
Score of 0
1 answer
314 views
Monit and MySQL/MariaDB Checksum
I have Monit monitoring MariaDB but when a minor MariaDB update is rolled out Monit fails to monitor as the Checksum has changed:
Checksum failed Service mysql_bin
Description: checksum failed, ...
Score of 1
1 answer
331 views
Monit: exec a command but don't alert
I use monit to start a program when a webserver is not accessible.
.monitrc:
check host MyServer with address MyServer
if failed port 80 protocol http then exec "/home/michael/monit/...
Score of 0
2 answers
192 views
Is it safe to expose monitd http server to the world
I'd like to use monitd for monitoring my webserver. I read it has built in http server. By default it is set to run on 2812 port. Is safe to open the port on firewall and view it via a browser?
Score of 0
2 answers
408 views
Monit complains of checksum failure after MariaDB reinstall and upgrade to newer version
I have a Linode VPS running CentOS 7 and somewhat old versions of web-related services (because code I've written isn't ready for newer versions - I'm planning to build a fresh VPS with new everything ...
Score of 2
1 answer
317 views
Setting up monit to keep track of .sock files for php-fmp sites
I'm trying to setup Monit so that it keeps track of domains in case PHP crashes. Example:
check file php7.3-fpm-pidfile with path /var/run/php/php7.3-fpm.pid
start program = "/usr/sbin/...
Score of 0
1 answer
1376 views
What is the correct way to check monit status/summary success/failure
I have monit utility on production for monitoring several daemons (our micro-services). I'm trying to figure the best way to unmonitor/monitor my daemons while updating them. So, basically I need ...
Score of 0
1 answer
212 views
Setting up Slack Alerts for Monit monitoring MySQL
Trying to set up Slack alerts for Monit and MySQL/MariaDB but stuck in writing a MySQL check script. I have the monit successfully working if MySQL is stopped and receive email alerts - but want the ...
Score of 0
1 answer
121 views
Monit with Ansible - invalid mail format '#015'
I've been trying to install monit with an ansible playbook. I'm changing the monitrc file and when the playbook restarts monit, I get :
Jun 8 08:00:30 myserver monit[1857462]: Starting daemon monitor:...