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/sendmail.pid
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:
2735
/usr/sbin/sendmail -bd -q1h
status output:
The monit daemon 4.5.1 uptime: 3h 0m
System 'x.x.net'
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.
thanks,
steve
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general