Questions tagged [monit]
Monit is a daemon monitoring utility
37 questions
3
votes
2
answers
2k
views
Who changes `/proc/sys/kernel/random/boot_id` in Linux (SLES)?
Well, I thought it's just logical that the kernel changes /proc/sys/kernel/random/boot_id during boot, and then keeps that value while running.
At least that would make sense to me if the intended use ...
0
votes
1
answer
60
views
Send monit alert at most once in Linux?
My script to send sms
#send-sms.sh
curl "http://10.10.10.10:1084/somerandomhexcode&[email protected]&password=passwordgOesHere&countryCode=countrycodegoeshere&...
0
votes
2
answers
7k
views
How to check if a web server is reachable in Linux?
I want to poll every few minutes if an external web server is reachable from the Linux server.
Assume the server is 10.20.30.40.
I'm following this guide.
https://www.baeldung.com/linux/hosts-network-...
1
vote
0
answers
1k
views
Check systemd unit with monit
I need to check a program that has a systemd unit under user namespace and this is my monit conf (systemd conf works without any problem):
check program foo with path "/usr/bin/systemctl --user -...
12
votes
1
answer
7k
views
Install monit in Debian 10 (buster)
I try to install monit in Debian Buster, but it sais
Package monit is not available, but is referred to by another package.
How do I find out this referenced package? Or do I need to install an ...
1
vote
0
answers
757
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 ...
0
votes
1
answer
142
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/...
1
vote
0
answers
53
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
1
answer
307
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 ...
0
votes
1
answer
2k
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
1
answer
309
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
0
answers
683
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
1
answer
74
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
1
answer
463
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 monit ...
2
votes
1
answer
2k
views
How do I configure to 'monit' monitor a process after it restarts?
I have monit configured to terminate a pair of processes when they consume too much CPU, but once either is terminated, monit summary reports "Not monitored" for the process, even after the OS ...