ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] monit, monitrc & examples...
@ 2003-12-01  7:33 Evgeny Yugov
  2003-12-01 10:51 ` Igor Homyakov
  2003-12-01 10:52 ` Igor Homyakov
  0 siblings, 2 replies; 3+ messages in thread
From: Evgeny Yugov @ 2003-12-01  7:33 UTC (permalink / raw)
  To: All

Здравствуйте 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

при рестарте сервиса monit падаем... [FAILED], причем ничего
вразумительного в логах не наблюдаем. Это нормально?


-- 
With Best regards,
Evgeny Yugov,
MTS, programmer of Advanced Technologies Departament.
Registered Linux User #316667
mailto:yugov@scs-900.ru

Origin: В чужую сеть со своим пpотоколом не лезь!



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] monit, monitrc & examples...
  2003-12-01  7:33 [sisyphus] monit, monitrc & examples Evgeny Yugov
@ 2003-12-01 10:51 ` Igor Homyakov
  2003-12-01 10:52 ` Igor Homyakov
  1 sibling, 0 replies; 3+ messages in thread
From: Igor Homyakov @ 2003-12-01 10:51 UTC (permalink / raw)
  To: All


* Evgeny Yugov <yugov@scs-900.ru> [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

явно укажите host x.x.x.x port 22 with proto ssh

-- 
Igor Homyakov
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] monit, monitrc & examples...
  2003-12-01  7:33 [sisyphus] monit, monitrc & examples Evgeny Yugov
  2003-12-01 10:51 ` Igor Homyakov
@ 2003-12-01 10:52 ` Igor Homyakov
  1 sibling, 0 replies; 3+ messages in thread
From: Igor Homyakov @ 2003-12-01 10:52 UTC (permalink / raw)
  To: All



* Evgeny Yugov <yugov@scs-900.ru> [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
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-01 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-01  7:33 [sisyphus] monit, monitrc & examples Evgeny Yugov
2003-12-01 10:51 ` Igor Homyakov
2003-12-01 10:52 ` Igor Homyakov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git