Code

Added livestatus as data source
[nagixsc.git] / sample-configs / conf2http.cfg
1 ; Lines starting with "#" are defaults
3 [server]
4 ; ### ip (0.0.0.0) ###
5 ; IP to bind server
6 #ip: 0.0.0.0
8 ; ### port (15666) ###
9 ; Port to bind server
10 #port: 15666
12 ; ### ssl (false) ###
13 ; Use SSL for server communication
14 #ssl: false
16 ; ### sslcert (no default) ###
17 ; Read server key and certificate from this file
18 ;
19 ; Example
20 ;sslcert: server.pem
22 ; ### conf_dir (no default) ###
23 ; Directory where your config files are stored
24 ;
25 ; Absolute file names recommended, but for quick start it is set relative
26 ; to the source directory
27 conf_dir: ./sample-configs/conf
29 ; ### pidfile (/var/run/nagixsc_conf2http.pid) ###
30 ; Where to store pid file if daemonizing
31 ;
32 #pidfile: /var/run/nagixsc_conf2http.pid
34 ; ### livestatus_socket (no default) ###
35 ; Query mk-livestatus (http://mathias-kettner.de/checkmk_livestatus.html)
36 ; "livestatus_socket" could be
37 ;   - local path and filename of socket ("/var/lib/nagios3/rw/live.sock")
38 ;   - IPv4 address and port ("127.0.0.1:6557")
39 ;   - IPv6 address and port ("[::1]:6557" or "::1:6557")
40 ;   - DNS resolvable name and port ("localhost:6557") - could be IPv4 *or* IPv6!
41 ;
42 ; Examples:
43 ;livestatus_socket: /var/lib/nagios3/rw/live.sock
44 ;livestatus_socket: /usr/local/nagios/var/rw/live
45 ;livestatus_socket: 127.0.0.1:6557
46 ;livestatus_socket: [::1]:6557
47 ;livestatus_socket: localhost:6557
48 livestatus_socket: 172.21.254.99:6557
50 [users]
51 ; All users who are allowed to connect and request informations are stored here.
52 ; Passwords must be md5 encrypted, for example in shell use:
53 ; echo -n "Password" | md5sum -
54 nagixsc: 019b0966d98fb71d1a4bc4ca0c81d5cc ; PW: nagixsc