SOURCES: nagircbot.sysconfig, nagircbot.init - support remote nagi...
glen
glen at pld-linux.org
Mon Nov 20 09:54:26 CET 2006
Author: glen Date: Mon Nov 20 08:54:26 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- support remote nagios location
---- Files affected:
SOURCES:
nagircbot.sysconfig (1.3 -> 1.4) , nagircbot.init (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SOURCES/nagircbot.sysconfig
diff -u SOURCES/nagircbot.sysconfig:1.3 SOURCES/nagircbot.sysconfig:1.4
--- SOURCES/nagircbot.sysconfig:1.3 Mon Nov 20 09:53:15 2006
+++ SOURCES/nagircbot.sysconfig Mon Nov 20 09:54:21 2006
@@ -1,6 +1,9 @@
# path to status.log ('status_file' parameter in nagios.cfg)
STATUSFILE="/var/lib/nagios/status.dat"
+# host:port for retrieving status.log
+#STATUSFILEURL="nagios.example.org:5000"
+
# run daemon as this user
RUNAS="nagios"
================================================================
Index: SOURCES/nagircbot.init
diff -u SOURCES/nagircbot.init:1.4 SOURCES/nagircbot.init:1.5
--- SOURCES/nagircbot.init:1.4 Mon Nov 20 09:22:31 2006
+++ SOURCES/nagircbot.init Mon Nov 20 09:54:21 2006
@@ -31,6 +31,7 @@
msg_starting "Nagios IRC Bot"
daemon --user $RUNAS nagircbot \
${STATUSFILE:+-f $STATUSFILE} \
+ ${STATUSFILEURL:+-F $STATUSFILEURL} \
${IRCSERVER:+-s $IRCSERVER} \
${CHANNEL:+-c $CHANNEL} \
$([ "$COLORS" == "yes" ] && echo -C) \
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/nagircbot.sysconfig?r1=1.3&r2=1.4&f=u
http://cvs.pld-linux.org/SOURCES/nagircbot.init?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list