monit-general
[Top][All Lists]
Advanced

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

Re: monitoring services started by inetd


From: Jan-Henrik Haukeland
Subject: Re: monitoring services started by inetd
Date: 21 Jul 2002 19:18:17 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

"Krayzman, Dmitriy" <address@hidden> writes:

> Can someone suggest how to monitor imap and pop when they are
> started by inetd. 

In this case what you actually want to monitor is inetd. Here's an
example for monitor inetd and also checking the pop and imap services.


check inetd with pidfile /var/run/inetd.pid
 start program = "/etc/init.d/inetd start"
 stop program  = "/etc/init.d/inetd stop"
 port 110 protocol pop 
 port 143 protocol imap 
 alert address@hidden 
 timeout if 2 restarts within 3 cycles

-- 
Jan-Henrik Haukeland



reply via email to

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