Code

Rework http2nagios (and xml2nagios) and add SSL
[nagixsc.git] / sample-configs / http2nagios.cfg
index 2d7be30108b773868f23686604c7100da7d357d0..e103b68b900b1990185f2d5e5ec5f21538c3454c 100644 (file)
@@ -1,9 +1,19 @@
 [server]
 ip: 0.0.0.0
 port: 15667
+ssl: true
+sslcert: server.pem
 
 max_xml_file_size: 102400
-xml2nagios_cmdline: ./nagixsc_xml2nagios.py -O passive -vvv -f -
+
+mode: checkresult
+
+[mode_passive]
+pipe: /var/lib/nagios3/rw/nagios.cmd
+
+[mode_checkresult]
+#dir: /var/lib/nagios3/spool/checkresults
+dir: /tmp/cr
 
 [users]
 ; echo -n "Password" | md5sum -