1

I have monit running and working (I set up a dummy warning that is getting sent), but I don't see any binary called "monit" in the process list. Furthermore if I sort the processes by newest process, the only things I see are the processes relevant to monit sending out emails — I don't see the monit binary itself.

more info

I installed it with apt-get monit

I started it with service monit start

# ps -ef | grep monit
root     29985 23882  0 02:07 pts/0    00:00:00 grep --color=auto monit`
2
  • How did you install it? What command did you use to start it? What is the output of ps -ef | grep monit?
    – quanta
    Commented Nov 8, 2011 at 1:54
  • added that info in the question above Commented Nov 8, 2011 at 2:08

1 Answer 1

0

It sounds like you didn't start it in the background. Uncomment the following line in /etc/monit/monitrc:

## Start Monit in the background (run as a daemon):
#
set daemon  120           # check services at 2-minute intervals

to run it as a daemon. Restart Monit and verify with ps, you will see something like this:

$ ps -ef | grep [m]onit
root      8530     1  0 09:10 ?        00:00:00 /usr/bin/monit
1
  • Ahhh hahaha, that was it. So I guess it was just doing one check and then quiting. Commented Nov 8, 2011 at 2:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .