Hi guys

is there some interaction between last OSSEC software and Linux-HA 
heartbeat ?

I mean something to be informed about an event like this XFS/DRBD 
failover on RedHat 5:

heartbeat[3249]: 2008/10/28_18:25:22 info: Link mmmc-nas2:eth2 dead.
heartbeat[3287]: 2008/10/28_18:25:23 ERROR: glib: mcast_write: Unable to 
send mcast packet [-1]: Invalid argument
heartbeat[3287]: 2008/10/28_18:25:23 ERROR: write_child: write failure 
on mcast eth2.: Invalid argument
heartbeat[3287]: 2008/10/28_18:25:24 ERROR: glib: mcast_write: Unable to 
send mcast packet [-1]: Invalid argument
heartbeat[3287]: 2008/10/28_18:25:24 ERROR: write_child: write failure 
on mcast eth2.: Invalid argument
heartbeat[3287]: 2008/10/28_18:25:26 ERROR: glib: mcast_write: Unable to 
send mcast packet [-1]: Invalid argument
heartbeat[3287]: 2008/10/28_18:25:26 ERROR: write_child: write failure 
on mcast eth2.: Invalid argument
heartbeat[3287]: 2008/10/28_18:25:26 WARN: Temporarily Suppressing write 
error messages
heartbeat[3287]: 2008/10/28_18:25:26 WARN: Is a cable unplugged on mcast 
eth2?
heartbeat[3249]: 2008/10/28_18:27:12 info: Heartbeat shutdown in 
progress. (3249)
heartbeat[8641]: 2008/10/28_18:27:12 info: Giving up all HA resources.
ResourceManager[8654][8665]: 2008/10/28_18:27:12 info: Releasing 
resource group: mmmc-nas2 drbddisk::resource01 
Filesystem::/dev/drbd1::/HA-DATA::xfs 172.19.16.82 portmap nfslock nfs
ResourceManager[8654][8675]: 2008/10/28_18:27:12 info: Running 
/etc/init.d/nfs  stop
ResourceManager[8654][8721]: 2008/10/28_18:27:16 info: Running 
/etc/init.d/nfslock  stop
ResourceManager[8654][8753]: 2008/10/28_18:27:16 info: Running 
/etc/init.d/portmap  stop
ResourceManager[8654][8783]: 2008/10/28_18:27:16 info: Running 
/etc/ha.d/resource.d/IPaddr 172.19.16.82 stop
IPaddr[8785][8816]: 2008/10/28_18:27:16 INFO:  Success
ResourceManager[8654][8831]: 2008/10/28_18:27:16 info: Running 
/etc/ha.d/resource.d/Filesystem /dev/drbd1 /HA-DATA xfs stop
Filesystem[8844][8874]: 2008/10/28_18:27:17 INFO: Running stop for 
/dev/drbd1 on /HA-DATA
Filesystem[8844][8884]: 2008/10/28_18:27:17 INFO: Trying to unmount /HA-DATA
Filesystem[8844][8887]: 2008/10/28_18:27:17 INFO: unmounted /HA-DATA 
successfully
Filesystem[8833][8893]: 2008/10/28_18:27:17 INFO:  Success
ResourceManager[8654][8908]: 2008/10/28_18:27:17 info: Running 
/etc/ha.d/resource.d/drbddisk resource01 stop
heartbeat[8641]: 2008/10/28_18:27:17 info: All HA resources relinquished.
heartbeat[3249]: 2008/10/28_18:27:18 info: killing 
/usr/lib64/heartbeat/dopd process group 5044 with signal 15
heartbeat[3249]: 2008/10/28_18:27:19 WARN: 1 lost packet(s) for 
[mmmc-nas2] [44907:44909]
heartbeat[3249]: 2008/10/28_18:27:19 info: No pkts missing from mmmc-nas2!
heartbeat[3249]: 2008/10/28_18:27:20 info: killing HBWRITE process 3290 
with signal 15
heartbeat[3249]: 2008/10/28_18:27:20 info: killing HBFIFO process 3281 
with signal 15
heartbeat[3249]: 2008/10/28_18:27:20 info: killing HBREAD process 3292 
with signal 15
heartbeat[3249]: 2008/10/28_18:27:20 info: killing HBWRITE process 3287 
with signal 15
heartbeat[3249]: 2008/10/28_18:27:20 info: killing HBREAD process 3288 
with signal 15
heartbeat[3249]: 2008/10/28_18:27:20 info: Core process 3290 exited. 5 
remaining
heartbeat[3249]: 2008/10/28_18:27:20 info: Core process 3281 exited. 4 
remaining
heartbeat[3249]: 2008/10/28_18:27:20 info: Core process 3288 exited. 3 
remaining
heartbeat[3249]: 2008/10/28_18:27:20 info: Core process 3292 exited. 2 
remaining
heartbeat[3249]: 2008/10/28_18:27:20 info: Core process 3287 exited. 1 
remaining
heartbeat[3249]: 2008/10/28_18:27:20 info: mmmc-nastemp Heartbeat 
shutdown complete.
heartbeat[8964]: 2008/10/28_18:27:45 info: Enabling logging daemon
heartbeat[8964]: 2008/10/28_18:27:45 info: logfile and debug file are 
those specified in logd config file (default /etc/logd.cf)
heartbeat[8964]: 2008/10/28_18:27:45 info: Version 2 support: false
heartbeat[8964]: 2008/10/28_18:27:45 info: **************************
heartbeat[8964]: 2008/10/28_18:27:45 info: Configuration validated. 
Starting heartbeat 2.1.3
heartbeat[8965]: 2008/10/28_18:27:45 info: heartbeat: version 2.1.3
heartbeat[8965]: 2008/10/28_18:27:45 info: Heartbeat generation: 1224189827
heartbeat[8965]: 2008/10/28_18:27:45 info: glib: UDP multicast heartbeat 
started for group 239.0.0.43 port 694 interface eth2 (ttl=1 loop=0)
heartbeat[8965]: 2008/10/28_18:27:45 info: glib: UDP Broadcast heartbeat 
started on port 694 (694) interface bond0
heartbeat[8965]: 2008/10/28_18:27:45 info: glib: UDP Broadcast heartbeat 
closed on port 694 interface bond0 - Status: 1
heartbeat[8965]: 2008/10/28_18:27:45 info: G_main_add_TriggerHandler: 
Added signal manual handler
heartbeat[8965]: 2008/10/28_18:27:45 info: G_main_add_TriggerHandler: 
Added signal manual handler
heartbeat[8965]: 2008/10/28_18:27:45 info: G_main_add_SignalHandler: 
Added signal handler for signal 17
heartbeat[8965]: 2008/10/28_18:27:45 info: Local status now set to: 'up'
heartbeat[8965]: 2008/10/28_18:27:46 info: Link 
mmmc-nastemp.us.mmpds.esa.int:bond0 up.
heartbeat[8965]: 2008/10/28_18:27:46 info: Link 
mmmc-nas2.us.mmpds.esa.int:eth2 up.
heartbeat[8965]: 2008/10/28_18:27:46 info: Link 
mmmc-nas2.us.mmpds.esa.int:bond0 up.
heartbeat[8965]: 2008/10/28_18:27:47 info: Comm_now_up(): updating 
status to active
heartbeat[8965]: 2008/10/28_18:27:47 info: Local status now set to: 'active'
heartbeat[8965]: 2008/10/28_18:27:47 info: Starting child client 
"/usr/lib64/heartbeat/dopd" (498,496)
heartbeat[8965]: 2008/10/28_18:27:47 info: Status update for node 
mmmc-nas2.us.mmpds.esa.int: status active
heartbeat[8974]: 2008/10/28_18:27:47 info: Starting 
"/usr/lib64/heartbeat/dopd" as uid 498  gid 496 (pid 8974)
harc[8975][8983]: 2008/10/28_18:27:47 info: Running 
/etc/ha.d/rc.d/status status
heartbeat[8965]: 2008/10/28_18:27:47 info: remote resource transition 
completed.
heartbeat[8965]: 2008/10/28_18:27:47 info: remote resource transition 
completed.
heartbeat[8965]: 2008/10/28_18:27:47 info: Local Resource acquisition 
completed. (none)
heartbeat[8965]: 2008/10/28_18:27:47 info: Initial resource acquisition 
complete (T_RESOURCES(them))
begin:vcard
fn:Fabio Martinelli
n:Martinelli;Fabio
org:INFN Tor Vergata
adr:;;via della ricerca scientifica, 1;ROME;;;ITALY
email;internet:[EMAIL PROTECTED]
title:Grid Computing Group
tel;work:+39 06 7259 4113
note;quoted-printable:Laurea V.O. in Informatica nel 2004, =
	=0D=0A=
	esperienze in =
	=0D=0A=
	ESA Frascati, =
	=0D=0A=
	ENEA Frascati, =
	=0D=0A=
	Accenture Roma, =
	=0D=0A=
	INFN Tor Vergata.
x-mozilla-html:TRUE
url:http://grid.roma2.infn.it/
version:2.1
end:vcard

Reply via email to