ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] ложное срабатывание при старте monit
@ 2006-10-21 17:32 Serge
  2006-10-21 21:56 ` Michael Shigorin
  0 siblings, 1 reply; 12+ messages in thread
From: Serge @ 2006-10-21 17:32 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Master24+updates
rpm -qa|grep monit
monit-4.8-alt0.M24.1
monit-base-4.8-alt0.M24.1

При старте демона отсылаются оповещения на e-mail что "ping false", хотя хост 
в момент старта демона включен и отвечает на ping (происходит ложное 
срабатывание)
в web интерфейсе наблюдаю такое для хоста, который я мониторю:
If failed Echo Request count 3 with timeout 3 seconds 1 times within 1 
cycle(s) then alert else if passed 1 times within 1 cycle(s) then alert
откуда берется ветка if passed?
подскажите, что не так.

мои настройки
cat /etc/monitrc|grep ^[^#]

set daemon 60
set logfile syslog facility log_daemon
set statefile /var/run/monit.state
set mailserver mail.mydomain
check host host.mydomain with address xx.yy.zz.yy
    if failed icmp type echo count 3 with timeout 3 seconds then alert
set mail-format {
        from: root@mydomain
       subject: [monit]
        message: ping false
    }
set alert xxxxxxxxx@yyy.zzz
set httpd port 2812 and use the address 192.168.1.1
        allow 192.168.1.0/24
        allow monit:monit


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

end of thread, other threads:[~2006-10-22 16:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-21 17:32 [Sysadmins] ложное срабатывание при старте monit Serge
2006-10-21 21:56 ` Michael Shigorin
2006-10-21 23:25   ` Evgenii Terechkov
2006-10-22  9:47     ` Michael Shigorin
2006-10-22 10:47       ` Konstantin A. Lepikhov
2006-10-22 10:59         ` Michael Shigorin
2006-10-22  7:09   ` Serge
2006-10-22  7:23     ` Anton Gorlov
2006-10-22  7:33       ` Serge
2006-10-22 10:59     ` Michael Shigorin
2006-10-22 12:18       ` Serge
2006-10-22 16:15         ` Michael Shigorin

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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