Skip to main content

Questions tagged [monit]

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

1 vote
0 answers
460 views

Problems installing OpenMediaVault on Raspberry Pi

BTW, I am trying to install OpenMediaVault on a Raspberry Pi 1, however, whenever I try and install OpenMediaVault on a Raspberry Pi 1, I get problems with the monit package, the FastCGI Process ...
William Wilkerson's user avatar
0 votes
1 answer
492 views

Trying to run a game server as a service

I'm trying to use monit to check my game server and restart it if it fails. The monit part is fairly simple to check port 28960 but I'm struggling to run the start script (cod4.sh) if monit detects a ...
Alec Barnes's user avatar
6 votes
2 answers
9k views

How can I use Monit to monitor a service that does not have a /var/run/ pid file or how can I create a pid file?

I am using Debian 9.8 I have a service that runs my dotnet program. I would like to monitor it with monit but in all of the examples, you need to reference a .pid file in /var/run but my dotnet ...
TheColonel26's user avatar
0 votes
1 answer
118 views

Monit to turn off machine when program is done

I am trying to set up monit to turn off my virtual machine when my program is done. (The program runs as a daemon, takes long time which I do not know in advance, and my machine is expensive so I ...
Baruch Youssin's user avatar
0 votes
0 answers
868 views

Monit for Squid

I am trying to use monit to monitor my squid server. I installed squid server on raspbian stretch using apt-get. The squid service was installed under /etc/init.d/squid and I checked if the PID file ...
Julian 's user avatar
  • 131
1 vote
1 answer
2k views

"Program does not exist" when trying to use "ip" with Monit

I'm trying to restart openvpn in my namespace using monit. The command that I use from the command line works fine: ip netns exec vpn openvpn --daemon --config /etc/openvpn/vpn.conf But when I try ...
JavajoeUK's user avatar
1 vote
1 answer
113 views

Use Monit to monitorize a web site using a nagios plugin

I've a web page that sometimes give a blank page with a 200 status and I want to automatically restart the service when this happen. To do it I want to use Monit and a nagios plugin that allow to ...
Daniel Carrasco Marín's user avatar
2 votes
1 answer
195 views

Monit summary is slow/hangs for 1m15s

On the server I’m working with (Ubuntu 14.04 LTS), Monit (v5.6) is hanging for 1 minute 15 seconds before the output of monit summary appears. Other operations, like unmonitor take even longer. I’m at ...
Excalibur's user avatar
  • 131
2 votes
1 answer
3k 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 ...
Justin's user avatar
  • 153
1 vote
0 answers
199 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/...
bitkot's user avatar
  • 142
9 votes
2 answers
8k 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 ...
Giacomo1968's user avatar
  • 56.1k
0 votes
1 answer
108 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. ...
drahnr's user avatar
  • 380
1 vote
1 answer
265 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 ...
jsharpe's user avatar
  • 183
1 vote
2 answers
1k 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 ...
opc0de's user avatar
  • 145
3 votes
1 answer
204 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 ...
Oddthinking's user avatar

15 30 50 per page