Questions tagged [monit]

monit is a free, open source process supervision tool for Unix and Linux.

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.

382 questions
0
votes
1 answer

Monit - issue configuring "check program"

I'm trying to configure Monit to run my script but it's not working. I'm running Monit 5.3.2 from a Ubuntu 11.2 environment (it's a virtual machine, my machine actually is Windows 7), and for some reason I cannot make the "check program" to work. It…
ThaisK
  • 121
  • 6
0
votes
1 answer

monit sumary not working when domain specified in use address

When I specify an actual domain in my monitrc file like so: set httpd port 2812 and use address domain.com # only accept connection from localhost allow localhost # allow localhost to connect to the server and allow USER:PASS …
0
votes
1 answer

chef and monit files

I have several processes running on servers with different roles that are monitored by monit. For example, say I have an Apache server and a DB server with MySQL. I have several monitrc files that can be dropped in to monit's configuration…
Josh Nankin
  • 722
  • 11
  • 27
0
votes
2 answers

configure monit on linux to monitor a process and then reboot

I would like monit to monitor my service and once it's stopped then I want the computer to reboot. The process don't have a certain port that I can monitor. This is what I did: check process chat with pidfile /var/run/chat.pid start program =…
edotan
  • 1,786
  • 12
  • 37
  • 57
0
votes
1 answer

Monit: 2 checks, one action

Is something like this possible with monit: check process foo with bar check process foo2 with bar2 start program = "baz start" stop program = "baz stop" Basically I'm looking for an "OR" condition.
mahemoff
  • 197
  • 11
0
votes
1 answer

Server management tool for small network

What would be the right management tool for my network? I take a look on Cacti, Nagios, OpenNMS, Munin & Monit ... but I'm not sure which will be the best direction. I prefer something that will out of the box cover much as possible. I need to…
Nenad
  • 375
  • 1
  • 4
  • 14
0
votes
2 answers

Monit stops running on centos

How can you make sure that monit is always running? At the moment it's silently falling over and leaving the server unmonitored. Server is running on CentOS.
Adam Jimenez
  • 155
  • 2
  • 7
0
votes
1 answer

why i am not able to access Gui panel at 2812 port

I followed this http://fosscasts.com/screencasts/6-System-Monitoring-With-Monit set daemon 20 set logfile /var/log/monit.log set mailserver smtp.gmail.com port 587 username "myemail" password "mypswd" using tlsv1 with…
Rahul Mehta
  • 919
  • 3
  • 11
  • 13
0
votes
1 answer

Running monit on Suse SLED 10

Can anyone tell me how to get monit to start at boot on Suse SLED 10 ? Suse seems to do services different than everyone else. I found a link to a monit init file, but I don't think it will work out of the box.…
macarthy
  • 193
  • 2
  • 6
0
votes
1 answer

Monit process aliasing

I have Monit checking a process whose name is just "python", but would like a more informative name (e.g. "webapp") in status, emails, etc. Is there any way to declare an alias, or would I have to change the process's name to achieve this?
npt
  • 313
  • 3
  • 10
0
votes
1 answer

Monit connection testing, -1 response not being caught

I have a problem with apache 2.2 on my ubuntu 6.06 LTS server, some old rails sites are producing seg faults and all sorts of madness which seems to be eventually dragging down apache. I am migrating them to a 8.04 installation with nginx and…
Matthew
  • 33
  • 3
0
votes
1 answer

Monit catch run-away process

There are examples for how to make Monit detect a service going amok and use too much RAM. But what if the service forks a program and the child takes too much RAM? Or put another way, how can I make Monit detect and act on any random process which…
Prof. Falken
  • 292
  • 7
  • 16
0
votes
1 answer

Monitoring hanging processes

I need to monitor hanging processes on the output of ps -ef | grem GMC... What's the best way to do this without running this command manually and being stuck in front of a command line all day? I'd like to our dev team to get an email whenever one…
Ben
  • 3,630
  • 17
  • 62
  • 93
0
votes
1 answer

Apache and monit keep crashing

I'm using a VPS on Ubuntu 10.10 to serve my private website and Apache 2.2.16 keeps crashing without a trace. The server is on a very light load with about 300 visits/day. To solve this I have set up monit to regularly check on apache the but that…
Leonard Ehrenfried
  • 371
  • 1
  • 3
  • 8
0
votes
2 answers

Is there a way to test an individual Monit control file?

I've created a Monit control file, but it doesn't seem to be working. It would be nice to have a way to test Monitor control files other than by just letting them run and seeing if they work. Anyone have any way to do this?