Hi

I don't speak english veru well, but I will try

I'm using mon and heartbeat.alert script to monitoring apache2 in
debian distro, but not stoping the heartbeat when the service apache2
falls. any suggestions?

The morpheu's machines
morpheus: eth0 192.168.1.240

/etc/heartbeat/ha.cf
logfacility     local0
keepalive 2
deadtime 10
warntime 5
initdead 30
udpport 694
bcast   eth0
auto_failback on
node morpheus
node niobe

/etc/heartbeat/haresources
morpheus \
        192.168.1.240/24/eth0/192.168.1.255 \
        apache2

/etc/mon/mon.cf
alertdir   = /usr/lib/mon/alert.d
mondir     = /usr/lib/mon/mon.d
maxprocs    = 20
histlength = 100
randstart = 60s

#
# define groups of hosts to monitor
#
hostgroup servers 172.16.1.240

watch servers
    service http
        interval 1m
        monitor http.monitor
        period wd {Sun-Sat}
            alert heartbeat.alert
            alert mail.alert -S "Servidor web caiu" [EMAIL PROTECTED]
            upalert mail.alert -S "Servidor web voltou" [EMAIL PROTECTED]
            alertevery 1m

--

The niobe's machines
niobe: eth0 192.168.1.241

/etc/heartbeat/ha.cf
logfacility     local0
keepalive 2
deadtime 10
warntime 5
initdead 30
udpport 694
bcast   eth0
auto_failback on
node morpheus
node niobe

/etc/heartbeat/haresources
morpheus \
        192.168.1.240/24/eth0:0/192.168.1.255 \
        apache2


Thanks

-- 
Fabricio Vaccari Constanski (fvc) || Linux User 295747
fabriciovc[em]gmail.com || http://www.fabriciovc.eti.br
--
Dê uma chance ao Planeta. Dê uma chance à humanidade:
Use Linux !!! Apenas pelo prazer de ser livre!
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to