Skip to main content

Questions tagged [monit]

Monit is a daemon monitoring utility

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 ...
U. Windl's user avatar
  • 1,771
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&...
achhainsan's user avatar
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-...
achhainsan's user avatar
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 -...
Pioz's user avatar
  • 103
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 ...
rubo77's user avatar
  • 30.6k
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 ...
NR Technology 's user avatar
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/...
user9338787's user avatar
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 ...
spacecabbie's user avatar
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 ...
Rahul's user avatar
  • 323
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 ...
Piyush's user avatar
  • 111
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 /...
Baruch Youssin's user avatar
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/...
kunashir's user avatar
  • 101
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, ...
lese's user avatar
  • 2,756
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 ...
Massimo's user avatar
  • 1,055
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 ...
orome's user avatar
  • 416

15 30 50 per page