2 # Sample configuration file for merlin
4 # Default options have been commented out
6 ipc_socket = /tmp/ninja-test/ipc.sock;
8 # module-specific configuration options.
10 # textual log of normal hum-drum events
11 log_file = @@TESTDIR@@/var/merlin-neb.log;
13 # determine whether we should call pthread_cancel() for the
14 # reaper thread or not. Set this to "no" if you're having
15 # problems with Monitor/Nagios crashing on soft reloads
19 # daemon-specific config options
21 pidfile = @@TESTDIR@@/var/merlin.pid;
23 # same as the "module" section above
24 log_file = @@TESTDIR@@/var/merlin-daemon.log;
26 # The import_program is responsible for priming the merlin database
27 # with configuration information and an initial import of status data.
28 # It's invoked with the following arguments:
29 # --cache=/path/to/objects.cache
30 # --status-log=/path/to/status.log
31 # --db-name=database_name
32 # --db-user=database_user_name
33 # --db-pass=database_password
34 # --db-host=database_host
35 # --db-conn_str=database_connection_string
36 # The database parameters are taken from "database" section if such
38 import_program = @@LIBDIR@@/merlin/ocimp
40 # address to listen to. 0.0.0.0 is default
43 # port to listen to. 15551 is default. This is a daemon
44 # specific config setting, as the module never listens to
55 # this section describes how we handle config synchronization
56 # It can also be configured on a per-node basis to override the
58 # "push" and "fetch" point to a command supposed to be run when we
59 # want to push configuration to any or all nodes in the network.
60 # They're invoked with the following arguments:
61 # --merlin-cfg=/path/to/merlin.conf
63 # a "push" happens for peers and pollers that we know have an
64 # older configuration than we do. This is what one would
65 # normally want to happen, since it originates from the node
66 # that already has all the information
69 # a "fetch" happens for peers and masters that we know
70 # have a newer configuration than we do. One won't normally
71 # configure this (and it currently lacks scripting support),
72 # but it's available for advanced users who know what they're
74 #fetch = mon oconf fetch