Questions tagged [monit]

Monit is a daemon monitoring utility

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
189 views

Issues when installing Monit

I have recently been trying to install Open Media Vault along with exFAT support (exfat-fuse and exFAT-utils), however, when Monit tries to install it returns with the following error: sudo apt ...
1
vote
0answers
13 views

want to live monitor all log files in one vieuw

I like to view all log files live like tail -n0 somelog.log But then for literally all log files on the system (CentOS 7) Or an other way to do this is also nice. I want to output this to a web page ...
1
vote
1answer
94 views

monit removed from CentOS8 and EPEL. Any replacement?

I upgraded to CentOS8 and noticed that monit removed from CentOS8 and EPEL. We have been using it to monitor processes. I know I can build it but wondering why it was removed. Was it replaced with a ...
1
vote
1answer
87 views

How to monitor a service using monit for cpu % metrics.?

I have used monit to monitor various services which were offered by monit itself but I am unable to monitor the custom service which is not generating its PID file. I want if a particular service is ...
1
vote
0answers
183 views

How to run ps-watcher as non-root

The command is ps-watcher $HOME/ps-watcher.cfg Is I run it as normal user, I got this error: Unable to open file handle FH for file '/var/run/ps-watcher.pid': Permission denied The content of ps-...
1
vote
0answers
364 views

Monit STUN / TURN server

I set up a STUN & TURN server (with TLS support) using reTurnServer, on a Debian 8 VPS, using the official Debian package resiprocate-turn-server. I am already using Monit to monitor different ...
1
vote
0answers
590 views

How to restart an app monitored by monit at specific time

I have long-running python app which is monitored by monit, checking if all is well each minute. This is great, however, if the app misbehaves, I want users to be able to kill it, and thus far that ...
1
vote
0answers
651 views

Monit during reboot

We are seeing an issue using monit during a reboot or shutdown sequence. First some background of the some of the configuration of monit. Monit version is 5.5 Monit is started from inittab as null::...
1
vote
0answers
182 views

How to stop a program that is not showing up using monit?

I have a set of raspberry running raspbian. On each of these, I have configured monit to monitor the epiphany browser, which should always show up with a specific web site. Unfortunatly, some times (...
1
vote
2answers
1k views

Displaying messages to tty using whiptail through monit

I would like to display a whiptail message on the login screen that is triggered by monit, but I am without luck. I understand it might be something to do with interactive/non-interactive shell. Here ...
0
votes
1answer
17 views

Monit ignore pipes for some reason

I have Monit script to monitor my tvheadend service. To start the program I would like to use start command start program = "/etc/init.d/tvheadend start && /usr/bin/python /root/...
0
votes
1answer
206 views

How to monitor python script using monit

I want to monitor my python script. I am trying to run the python script from monit but I am getting the error file as : error: 'scraper' process is not running info: 'scraper' trying to restart ...
0
votes
1answer
49 views

monit:3: syntax error '='

I am trying to set up my virtual machine to shut down when my program completes, to stop the charges. I have written the following .monitrc for this purpose: SET DAEMON 30 CHECK PROCESS py MATCHING /...
0
votes
0answers
116 views

Monit doesn't run 'start program'

I am trying to add one more process for monitoring through monit: check process sidekiq_worker_flow with pidfile /home/flio/apps/stage-flow/current/tmp/pids/sidekiq-1.pid start program = "cd /home/...
0
votes
1answer
47 views

Monit - How to use different configurations for Day and Night time?

What is the most convenient way to configure monit to act different in day and night hours? The only thing I can figure out , is to use a cron job switch the monitrc file - let's say - at midnight, ...
0
votes
1answer
199 views

monit, http access with four different credentials types, one using PAM

monit 5.25.2 These are our credential settings: set httpd port 2812 allow localhost allow guest:guest read-only allow @wheel allow cleartext /opt/monit/htpasswd Rationale: localhost to enable ...
0
votes
0answers
2k views

monit and run script

I want monitor MariaDB with monit tools. my monit script is : check process mariadb_pid with pidfile /var/lib/mysql/db1.pid check program telnet with path "/root/telnet.sh" if status eq 99 then ...