Code

Fixed port for http2nagios
[nagixsc.git] / sample-configs / http2nagios.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 (15667) ###
9 ; Port to bind server
10 #port: 15667
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 ; ### pidfile (/var/run/nagixsc_http2nagios.pid) ###
23 ; Where to store pid file if daemonizing
24 ;
25 #pidfile: /var/run/nagixsc_http2nagios.pid
27 ; ### mode (no default) ###
28 ; Write checkresult files ("checkresult") or 
29 ; write passive checks to command file ("passive")
30 ;
31 mode: checkresult
33 [mode_passive]
34 ; ### pipe ###
35 ; File and path of Nagios command pipe
36 ;
37 pipe: /var/lib/nagios3/rw/nagios.cmd
39 [mode_checkresult]
40 ; ### dir ###
41 ; Path to Nagios checkresult dir
42 ;
43 ; For Debian packages set to "/var/lib/nagios3/spool/checkresults"
44 ; For local compiled Nagios set to "/usr/local/nagios/var/spool/checkresults"
45 ;
46 ; For quick start set to "/tmp/cr"
47 dir: /tmp/cr
49 [users]
50 ; All users who are allowed to connect and post informations are stored here.
51 ; Passwords must be md5 encrypted, for example in shell use:
52 ; echo -n "Password" | md5sum -
53 nagixsc: 019b0966d98fb71d1a4bc4ca0c81d5cc ; PW: nagixsc