summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0463df)
raw | patch | inline | side by side (parent: b0463df)
author | Sven Velt <sven@velt.de> | |
Fri, 3 Sep 2010 14:13:47 +0000 (16:13 +0200) | ||
committer | Sven Velt <sven@velt.de> | |
Fri, 3 Sep 2010 14:13:47 +0000 (16:13 +0200) |
and be a little bit more verbose in sample-configs/http2nagios.cfg
Signed-off-by: Sven Velt <sven@velt.de>
Signed-off-by: Sven Velt <sven@velt.de>
nagixsc_http2nagios.py | patch | blob | history | |
sample-configs/http2nagios.cfg | patch | blob | history |
diff --git a/nagixsc_http2nagios.py b/nagixsc_http2nagios.py
index df8e2d394f7fd47de91c327f815905c9c5e216d5..c1ec000697f103a250c2fd61eec1feac3901a091 100755 (executable)
--- a/nagixsc_http2nagios.py
+++ b/nagixsc_http2nagios.py
config = {
'ip': '0.0.0.0',
- 'port': '15666',
+ 'port': '15667',
'ssl': False,
'sslcert': None,
'conf_dir': '',
index 1543d7bd33da928734acc159ae69b52529d4658e..71fd117e89b8b7106e1a3706f2805d1502626565 100644 (file)
; Lines starting with "#" are defaults
[server]
+; ### ip (0.0.0.0) ###
+; IP to bind server
#ip: 0.0.0.0
+
+; ### port (15667) ###
+; Port to bind server
#port: 15667
+
+; ### ssl (false) ###
+; Use SSL for server communication
#ssl: false
-#sslcert: server.pem
+; ### sslcert (no default) ###
+; Read server key and certificate from this file
+;
+; Example
+;sslcert: server.pem
+
+; ### pidfile (/var/run/nagixsc_http2nagios.pid) ###
+; Where to store pid file if daemonizing
+;
#pidfile: /var/run/nagixsc_http2nagios.pid
+; ### mode (no default) ###
+; Write checkresult files ("checkresult") or
+; write passive checks to command file ("passive")
+;
mode: checkresult
[mode_passive]
+; ### pipe ###
+; File and path of Nagios command pipe
+;
pipe: /var/lib/nagios3/rw/nagios.cmd
[mode_checkresult]
-;dir: /var/lib/nagios3/spool/checkresults
+; ### dir ###
+; Path to Nagios checkresult dir
+;
+; For Debian packages set to "/var/lib/nagios3/spool/checkresults"
+; For local compiled Nagios set to "/usr/local/nagios/var/spool/checkresults"
+;
+; For quick start set to "/tmp/cr"
dir: /tmp/cr
[users]
+; All users who are allowed to connect and post informations are stored here.
+; Passwords must be md5 encrypted, for example in shell use:
; echo -n "Password" | md5sum -
nagixsc: 019b0966d98fb71d1a4bc4ca0c81d5cc ; PW: nagixsc