[op5-users] More merlin questions
Tom Welsh
twelsh37 at gmail.com
Wed Jun 10 12:12:46 CEST 2009
Morning List,
I now have merlin up and running on one of my machines.
How do i get it to do redundant master/slave failover?
Is there a config option like one needs to be "noc" one needs to be "poller"
My servers are both in the same subnet
My config goes like this in merlin .conf
mode = noc;
ipc_socket = /usr/local/nagios/merlin/ipc.sock;
# address to listen to. 0.0.0.0 is default
#address = 0.0.0.0;
# module-specific configuration options.
module {
# textual log of normal hum-drum events
log_file = /usr/local/nagios/merlin/logs/neb.log;
# binary log of everything read/written from/to the ipc socket
ipc_debug_read = /usr/local/nagios/merlin/logs/neb.ipc.read.bin;
ipc_debug_write = /usr/local/nagios/merlin/logs/neb.ipc.write.bin;
}
# daemon-specific config options
daemon {
pidfile = /var/run/merlin.pid
# same as the "module" section above
log_file = /usr/local/nagios/merlin/logs/daemon.log;
ipc_debug_read = /usr/local/nagios/merlin/logs/daemon.ipc.read.bin;
ipc_debug_write =
/usr/local/nagios/merlin/logs/daemon.ipc.write.bin;
# port to listen to. 15551 is default. This is a daemon
# specific config setting, as the module never listens to
# the network
port = 15551;
database {
name = merlin
user = merlin
pass = merlin
host = localhost
type = mysql
}
mode = poller
peer Nagios2 {
address = <IP ADDRESS>
}
all help welcome
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.op5.com/pipermail/op5-users/attachments/20090610/c33a838e/attachment-0001.html
More information about the op5-users
mailing list