[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FC4/sendmail/monit451 - unmonitored

From: Martin Pala
Subject: Re: FC4/sendmail/monit451 - unmonitored
Date: Mon, 15 Aug 2005 23:13:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1

You can run monit in debug mode using -v option and see what happens in logfile, optionaly you can run it with -I on the foreground (messages will appear on the console):

   monit -vI


unruhtech wrote:
i can't seem to got monit to monitor sendmail on fc4.  worked quite fine
on rh7.3.

config file:
check process sendmail with pidfile /var/run/
  group mail
  mode active
  start program = "/etc/init.d/sendmail start"
  stop  program = "/etc/init.d/sendmail stop"
  if failed port 25 protocol smtp then restart
  if 5 restarts within 5 cycles then timeout

pid file:
/usr/sbin/sendmail -bd -q1h

status output:
The monit daemon 4.5.1 uptime: 3h 0m
System ''
  load average                      [0.00] [0.00] [0.00]
  cpu                               0.8%us 0.3%sy 0.1%wa
  memory usage                      328604 kB [42.3%]
  data collected                    Mon Aug 15 16:00:51 2005

Process 'sendmail'
  status                            not monitored
  monitoring status                 not monitored
  data collected                    Mon Aug 15 15:58:51 2005

i have a feeling it is because of the 2nd line in the .pid file, but
i have no idea how to fix this.

ideas please.


To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]