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
0
votes
2 answers

Tiny tiny rss monit

Help! I want to set up a monitoring service on my Debian server, that will monitor and start wen needed the updater for tiny tiny rss. The problem is that it is a php foreground process normally run in a screen on a non-root user. I can run it…
Chaqosmagnetx
  • 55
  • 1
  • 5
0
votes
1 answer

How to (or should I) monitor or ensure running of a monitoring software?

I'm writing a system/service monitoring software, and my primary goal is to make it as failsafe as possible. Right now, I have a binary script which starts the master process, which forks off children which do the actual monitoring and reporting.…
abject_error
  • 2,858
  • 1
  • 19
  • 23
0
votes
1 answer

Regular expression to match if X strings containing a word?

I'm dealing with a problem that i don't know if is possible to solve this way, hope you can help me, Let's see: I'm using Monit to monitor some log files, and i want it to look for a certain expression, but I only want a positive match if that…
catteneo
  • 175
  • 1
  • 1
  • 6
0
votes
1 answer

Monit to use with virtualenv

I want to monitor django server using monit. However, it won't let me to run "python manage.py runserver" because it is environment specific to the virtualenv that i use. So i want to do.. workon myvirtualenv and then run python manage.py…
CIF
  • 1,754
  • 2
  • 18
  • 30
0
votes
0 answers

Resource limit matched monit ruby on rails 3

I have an small rails 3 app on a small linode 512 mb and I make the monitoring with monit my rails app. I can see on monit the message Resource limit matched. You can see the next…
hyperrjas
  • 10,666
  • 25
  • 99
  • 198
0
votes
1 answer

Monit exec not working

This is my applicable monit.conf check file feedabilityLog with path /var/www/scraper/feedability/feedabilityLog.txt if timestamp > 20 seconds then exec "/usr/local/bin/forever restart feedability.js" group feedabilityLog In my monit log file, I…
Olu
  • 3,216
  • 2
  • 20
  • 11
0
votes
1 answer

cap monit:setup failed

I'm using monit for monitoring my rails app. This is my monit.rb file: namespace :monit do desc "Install Monit" task :install do run "#{sudo} apt-get -y install monit" end after "deploy:install", "monit:install" desc "Setup all Monit…
hyperrjas
  • 10,666
  • 25
  • 99
  • 198
0
votes
1 answer

Monit memory utilization different from Ubuntu's own diagnostics

I have a Linode 512 VPS running Ubuntu 12.04 and I noticed a very big discrepency between Monit's report of memory utilization and Ubuntu's report. This becomes an issue when monit tries to restart some of my processes when it crosses a certain…
chourobin
  • 4,004
  • 4
  • 35
  • 48
0
votes
1 answer

Using Monit to monitor a custom daemon

I created a daemon using the System_Daemon pear package. How do I use Monit to restart the daemon when it fails. I have the following code that was going to place in the monit config gile: check process merge with pidfile…
Chris Hansen
  • 7,813
  • 15
  • 81
  • 165
0
votes
1 answer

Ash pidfile showing wrong process id

I've got a really simple wrapper script to start a ruby program that monitors a network connection. The script's on router - hence we're using ash, not bash. Since we're using monit to monitor the status, I need a PID file. The problem is, the…
simonmorley
  • 2,810
  • 4
  • 30
  • 61
0
votes
1 answer

Getting Monit monitrc file to test Rails applications

I'm trying to use Monit to monitor and restart some rails apps when they crash. The apps use Sphinx. Monit isnt accepting commands that would typically work in the shell. The monitrc configuration looks something like this: ... check process…
user1642579
  • 95
  • 1
  • 5
0
votes
1 answer

Using monit with java

I am using the tool monit to start/stop a process. I have a java file as follows: class test { public void start() { //do something } public void stop() { //do something } } I want to call the start func when a start command is issued…
samach
  • 3,244
  • 10
  • 42
  • 54
0
votes
3 answers

Delay restart of processes in monit

Can I modify montrc so that it will not restart process immediately. The process has to be down for a full cycle before a restart is triggered. This is so I can keep my existing capistrano deploys.
Tommie Jones
  • 957
  • 1
  • 16
  • 37
0
votes
1 answer

How to apply Monit on a nginx PHP script

I am using a linux tool called Monit that I am trying to monitor a PHP daemon script. I do not know how to issue the command correctly. Please provide me with some sample command for those who are experienced with monit. I use command like…
0
votes
4 answers

Managing Resque workers with Monit on RBenv setup

I'm trying to set up Monit to manage Resque workers, but it fails to start saying /home/deployer/.rbenv/shims/bundle: line 4: exec: rbenv: not found I've checked that it is running commands as deployer user and if I copy and paste the command…
Fenelon
  • 700
  • 2
  • 6
  • 16
1 2 3
28
29