ITRS-Group / monitor-merlin

Module for Effortless Redundancy and Loadbalancing In Naemon
https://itrs-group.github.io/monitor-merlin/
GNU General Public License v2.0
22 stars 14 forks source link

Default installation path and merlin.cfg #18

Closed geekmichael closed 5 years ago

geekmichael commented 7 years ago

Since all configuration files will use the directory /opt/merlin, the first command should be "./configure --prefix=/opt/merlin". Meanwhile, after run "make install", the merlin.cfg file is copied to /etc/naemon/ instead of /etc/nameon/module-conf.d/.

The last issue is regarding IPC socket as showing in /opt/merlin/var/log/merlin/neb.log: [1499751576] 6: Initializing IPC socket '/opt/merlin/var/lib/merlin/ipc.sock' for module [1499751576] 3: Failed to connect to ipc socket '/opt/merlin/var/lib/merlin/ipc.sock': No such file or directory

geekmichael commented 7 years ago

Sorted out the way to fix the issue of IPC socket. After installation, must run "/opt/merlin/bin/merlind -c /opt/merlin/etc/merlin/merlin.conf".