Questions tagged [monit]

Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.

Monit is a free open source utility for managing and monitoring processes, programs, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.

434 questions
6
votes
1 answer

How to setup Monit with Amazon SES

I'm having a hard time setting up my monitrc file. I'm using Capistrano to setup Monit on Amazon EC2, using this tutorial as a guide: http://railscasts.com/episodes/375-monit set daemon 30 set logfile…
JPN
  • 632
  • 12
  • 24
6
votes
2 answers

monit removes quotes from start program commands

I am debugging monit start/stop program statements. In my /etc/monit.conf file, my start program statement looks like this: check process node with pidfile /home/ec2-user/blah/node.pid start program = "/bin/su -c 'export APP_ENV=development;…
dubeegee
  • 781
  • 1
  • 6
  • 14
6
votes
0 answers

How to use monit too with Rails default webrick server?

I am looking out to use monit tool for my Rails app.As this is my first attempting in using any monitoring tool can anybody guide me or point me to some references on how can I set up and use monit tool with the default Rails Webrick server (local…
Jignesh Gohel
  • 6,236
  • 6
  • 53
  • 89
6
votes
4 answers

alarm on existence of file in Monit

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 [[] CYCLES] THEN action [ELSE IF SUCCEEDED [[] CYCLES]…
tedder42
  • 23,519
  • 13
  • 86
  • 102
6
votes
6 answers

Monit Ruby on Rails Sidekiq

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 sidekiq -C /var/www/site/config/sidekiq.yml -P…
Brian
  • 5,951
  • 14
  • 53
  • 77
6
votes
4 answers

make failure installing monit on linux ec2

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 : make && make install I get : make: *** No targets…
Liatz
  • 4,997
  • 7
  • 28
  • 33
5
votes
3 answers

Monit appears to be working on command line but get 404 'There is no service by that name' in web interface

Monit seems to be working, but when I go to the web interface at port :2812 I get -->:/var/log$ sudo monit -t Control file syntax OK -->:/var/log$ sudo monit status The Monit daemon 5.2.5 uptime: 11m System 'system_mydomain.net' status …
99miles
  • 10,942
  • 18
  • 78
  • 123
5
votes
2 answers

Monit failing to start process

I have a simple script that I'm trying to get Monit to monitor. After some digging around I found this little nugget: start program = "su - myuser -c '/home/user/myscript.rb start' " which I believe should work but looking at the log files it says:…
fetimo
  • 235
  • 5
  • 13
5
votes
2 answers

Running 'monit restart all' gives invalid action

error: invalid action action= restart monit Server Info Ubuntu 16.04.4 LTS monit: Installed: 1:5.16-2ubuntu0.1
Ninad Nehete
  • 540
  • 6
  • 15
5
votes
4 answers

Any tools to monitor IIS and application performance

I have a web-service application that exposes lot of web-methods ( internally calling internal APIs or external web-services). I would like to have a tool to monitor this whole application running under IIS. To be clear I just don't want to inspect…
imak
  • 6,489
  • 7
  • 50
  • 73
5
votes
1 answer

How to show the most recent timestamp for an InfluxDB measurement in Grafana table (or singlestat)?

I'm using Telegraf/InfluxDB/Grafana to register and view metrics for my servers. Occasionally one of these components crash and metrics stop flowing into InfluxDB. To be able to notice when this happens (on top of using Monit to restart the service)…
Robin Smidsrød
  • 447
  • 4
  • 9
5
votes
1 answer

Rolling restart of process group in monit

Does anyone have any suggestions of how I might go about achieving a rolling restart of a process group using monit? Thanks in advance, fturtle
fturtle
  • 365
  • 1
  • 5
  • 17
5
votes
0 answers

How to monitor open file descriptors with monit?

Is there a way to monitor the number of open file descriptors for a process using monit? Preferably comparing it against the process's limits (via /proc/$PID/limits perhaps) and alerting when a threshold is exceeded. I don't see open file…
schmichael
  • 412
  • 3
  • 8
5
votes
1 answer

Monit configuration for postgres

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/postgresql start" stop program = "/etc/init.d/postgresql…
Amit Badheka
  • 2,677
  • 4
  • 19
  • 29
5
votes
1 answer

Node: 100s of simultaneous requests slows down server substantially. O.S issue?

My node application is making requests to two Servers, A and B. To server A, it waits for one request to finish before making the next one. To server B it makes 20 requests a second without waiting. When I'm making the requests to Server B, the…
user1585789
  • 648
  • 6
  • 14
1 2
3
28 29