Module: nagvis Branch: master Commit: 9f5c82e3c006dfa4f033ccd5b3972f81afd68888 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=9f5c82e3c006dfa4f033ccd5b3972f81afd68888
Author: LaMi <[email protected]> Date: Sun Nov 15 18:22:45 2009 +0100 Added mklivestatus as backend --- install.sh | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 7f0edf2..7f26a99 100755 --- a/install.sh +++ b/install.sh @@ -40,7 +40,7 @@ INSTALLER_CONFIG_MOD="n" # files to ignore/delete IGNORE_DEMO="" # backends to use -NAGVIS_BACKENDS="ndo2db,ido2db,ndo2fs,merlin" +NAGVIS_BACKENDS="mklivestatus,ndo2db,ido2db,ndo2fs,merlin" # Return Code RC=0 # data source @@ -118,7 +118,8 @@ Parameters: -g <GROUP> Group who runs the webserver -w <PATH> Path to the webserver config files -W <PATH Web path to the NagVis base directory (Default: $HTML_PATH) - -i <BACKENDs> comma separated list of backend interfaces to use: ndo2db, ido2db, ndo2fs, merlin + -i <BACKENDs> comma separated list of backend interfaces to use: + Available backends: mklivestatus, ndo2db, ido2db, ndo2fs, merlin -s <SOURCE> Data source, defaults to Nagios, may be Icinga -o omit demo files -r remove backup directory after successful installation @@ -257,6 +258,12 @@ check_backend() { fi NAGVIS_BACKEND=${NAGVIS_BACKEND#,} fi + + echo $NAGVIS_BACKEND | grep -i "MKLIVESTATUS" >/dev/null + if [ $? -eq 0 ]; then + # mklivestatus checks + fi + echo $NAGVIS_BACKEND | grep -i "NDO2DB" >/dev/null if [ $? -eq 0 ]; then # Check NDO ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
