From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 1 Dec 2003 13:52:43 +0300 From: Igor Homyakov To: All Subject: Re: [sisyphus] monit, monitrc & examples... Message-ID: <20031201105243.GC5141@kadath.office.spb.ramax.ru> Mail-Followup-To: All References: <118346863653.20031201133324@scs-900.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <118346863653.20031201133324@scs-900.ru> User-Agent: Mutt/1.4.1i X-Operating-System: GNU/Linux (ALT Linux http://altlinux.org) X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.3 Precedence: list Reply-To: sisyphus@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 10:46:59 -0000 Archived-At: List-Archive: * Evgeny Yugov [031201 09:40]: > Здравствуйте All, > Попробовал раскоментировать записи в /etc/monitrc, например кусок: > check sshd with pidfile /var/run/sshd.pid > start program = "/etc/init.d/sshd start" > stop program = "/etc/init.d/sshd stop" > port 22 with proto ssh > alert admin > group servers в догонку, email тоже надо указывать явно admin@domain вообщем, чтобы никаких gethostname(2) не было -- Igor Homyakov http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141