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
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