Debian Codegraph @

debian/patches/nsca-ng.cfg_debian_config

raw
1 Description: Debian specific settings
2 Author: Alexander Wirt <[email protected]>
3 Forwarded: not-needed
4
5 --- a/etc/nsca-ng.cfg
6 +++ b/etc/nsca-ng.cfg
7 @@ -6,11 +6,27 @@
8 #
9
10 #
11 -# Most probably, you'll have to specify the path to the Nagios command file.
12 +# Most probably, you'll have to specify the path to the Icinga command file.
13 #
14 -command_file = "/usr/local/nagios/var/rw/nagios.cmd"
15 +
16 +# command_file for icinga
17 +command_file= "/var/run/icinga2/cmd/icinga2.cmd"
18 +
19 +# Debian specific settings
20 +listen = "localhost:5668" # only listen on localhost. If you use systemd this
21 + # this option is overriden by the
22 + # nsca-ng-server.socket file.
23 +
24 +user = "nagios" # run as user nagios
25 +pid_file = "/var/run/nsca-ng/nsca-ng.pid" # pid file for nsca-ng
26
27 #
28 +# local configuration:
29 +# if you'd prefer, you can instead place directives here
30 +include(/etc/nsca-ng/nsca-ng.local.cfg)
31 +
32 +#
33 +#
34 # These configuration settings are optional.
35 #
36 # listen = "monitoring.example.com:5668" # Default: "*".
37 @@ -105,6 +121,9 @@ command_file = "/usr/local/nagios/var/rw
38 # commands), at least one "commands", "hosts", and/or "services" expression must
39 # be specified.
40 #
41 +# This authorization line only allows pinging of the server, but you probably
42 +# want to change the password if you go into production
43 +
44 authorize "*" {
45 password = "change-me"
46 #