monit Questions
13
Solved
1
I'm new to Monit and trying to understand if it offers a way to handle multiple processes of the same name where the PIDs are unknown. My ideal Monit behaviour would be:
Watch every process with...
Constellation asked 18/3, 2016 at 15:34
1
Solved
I use Monit 5.27.2 and MariaDB 10.5.15 on my Debian 11 servers.
My servers are set up in Multi-Source MariaDB Replication.
Sometimes, replication stops and I am not notified. I have not seen anywhe...
Lally asked 4/7, 2022 at 6:18
4
I have a daemon which runs via the usual init.d/service scripts.
I have monit running which ensures these daemons are restarted if they crash.
I have a request that 'service foo stop' should stop...
Campus asked 15/9, 2011 at 12:46
4
Solved
I have been trying for hours to configure monit so I can access it remotely from a web browser from http://:2812 but it always times out. I have Nexus running on the same instance at http::8081 so ...
Dronski asked 20/4, 2015 at 21:17
4
Solved
I'm trying to install monit on linux. I ran the following commands :
wget http://mmonit.com/monit/dist/monit-5.5.tar.gz
tar zxvf monit-5.5.tar.gz
cd monit-5.5
./configure
and when i try :
mak...
7
Solved
So I have the following in my monitrc file:
check process apache with pidfile /usr/local/apache/logs/httpd.pid
group apache
start program = "/etc/init.d/httpd start"
stop program = "/etc/init.d/ht...
2
I want to try to monitor postfix queue with monit. I have taken a example from people of Stackoverflow. My version of monit is the latest
This is Monit version 5.10
In /etc/monit.d I have postfix...
Leifleifer asked 9/12, 2014 at 10:15
2
Solved
error: invalid action action= restart monit
Server Info
Ubuntu 16.04.4 LTS
monit:
Installed: 1:5.16-2ubuntu0.1
Livvyy asked 14/8, 2018 at 13:7
4
Solved
I've been using monit for a little while, but I want to alarm if a file exists. This is the opposite use case from the main documentation.
Here's the doc says:
IF [DOES] NOT EXIST [[<X>] &l...
Internecine asked 12/4, 2013 at 3:23
6
Solved
I'm struggling to find a monit config for php-fpm that works.
This is what I've tried:
### Monitoring php-fpm: the parent process.
check process php-fpm with pidfile /var/run/php-fpm/php-fpm.pid
...
7
Solved
I find debugging monit to be a major pain. Monit's shell environment basically has nothing in it (no paths or other environment variables). Also, there are no log file that I can find.
The problem...
2
Solved
I installed monit and tried to check the status using below command.
monit status
But end up with below error.
monit: error connecting to the monit daemon
How can I fix this?
Appetitive asked 28/1, 2015 at 8:36
3
Solved
I am fairly new to monit and I was wondering if this script is enough to restart a crashed program lets say program1 is the name of the program.
check process program1
matching "program1"
start pr...
4
Solved
I have an Opsworks stack with a Node.js Layer and Node.js Application. I'm wondering if anyone knows where on an ubuntu 14.04LTS instance the console logs from my application are being printed to. ...
Elane asked 28/1, 2015 at 2:0
1
I have the following configuration -
check host qbox_logstash_1
with address blah.mysite.com
group qbox
if failed
host blah.mysite.com
port 443
type TCPSSL
protocol https
http headers [ A...
Marker asked 10/7, 2015 at 6:30
3
I'm trying to monitor my FPM daemon with Monit, and I'm assuming that the following is not the best technique due to respawning and the PID changing?
check process php5-fpm with pidfile "/var/run/...
13
Solved
Are there any examples on the web of how to monitor delayed_job with Monit?
Everything I can find uses God, but I refuse to use God since long running processes in Ruby generally suck. (The most ...
Goad asked 4/8, 2009 at 8:30
3
Solved
Our sysadmin recently switched to using monit, and so now when I want to restart a service, I'm supposed to use "monit restart <servicename>" instead of "/etc/init.d/<servicename> restart".
...
1
Summary
How can I combine multiple checks in Monit? I want to check against process activity and file content/timestamp.
Long and boring explanation
I'm working on a Monit daemon for keeping m...
1
I would like to handle a kind of chain action in monit.
check for a process and alert immediately.
restart process after a num of cycles.
My tries (so far):
check process myprocess with pidfil...
6
I'm trying to set up Monit for Sidekiq. Here's what I have so far for my config file:
check process sidekiq_site
with pidfile /var/www/site/tmp/pids/sidekiq.pid
start program = "bundle exec sid...
Shoal asked 17/11, 2012 at 19:11
2
Any ideas why monit will not monitor mysql in this setup???
I've gone through everything I can find here to solve the problem to no avail.
These are my versions:
Distributor ID: Ubuntu
Descriptio...
1
I have a program that using phantomjs.
There should be only a instance for the program and there is no program using Phantomjs.
But sometimes Phantomjs are launched several instances sametime. Pr...
1
Solved
I am trying to use monit on my postgres. My monit configuration file is
check process postgresql with pidfile /var/lib/postgresql/9.3/main/postmaster.pid
start program = "/etc/init.d/postg...
Jarnagin asked 20/12, 2014 at 6:4
1 Next >
© 2022 - 2024 — McMap. All rights reserved.