Module: nagvis
Branch: master
Commit: 93957b8e708308660a0834db880617337dba5aeb
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=93957b8e708308660a0834db880617337dba5aeb

Author: Wolfgang <[email protected]>
Date:   Thu May 20 21:28:32 2010 +0200

trac #290: fix handling of mklivestatus backend

---

 install.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/install.sh b/install.sh
index 3522041..b202211 100755
--- a/install.sh
+++ b/install.sh
@@ -1392,6 +1392,8 @@ if [ -f $NAGVIS_PATH/${NAGVIS_CONF}-sample ]; then
        [ $? -eq 0 ]&&NEWBACK="ndomy_1"
        echo $NAGVIS_BACKEND | grep "ndo2db" >/dev/null
        [ $? -eq 0 ]&&NEWBACK="ndomy_1"
+       echo $NAGVIS_BACKEND | grep "mklivestatus" >/dev/null
+       [ $? -eq 0 ]&&NEWBACK="live_1"
        DONE=`log "setting backend to $NEWBACK" done` 
        $SED -i "s#;\(backend\)=\(.*\)#;\1=\2\n\1=\"$NEWBACK\"#" $NAGVIS_CFG
        chk_rc "|  Error setting backend" "$DONE"


------------------------------------------------------------------------------

_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to