From 61e89d2a38a735775d1eb5637c87ae6fc6039ed8 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 24 Feb 2011 22:18:35 +0000 Subject: - do not hardcode lib64 ( as I do test on 32 bits vm ) - do not hardcode ip address ( same reason ) - do not hardcode domain name ( again, for test ) --- modules/xymon/templates/hobbitserver.cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/xymon') diff --git a/modules/xymon/templates/hobbitserver.cfg b/modules/xymon/templates/hobbitserver.cfg index 0c990561..df7bd086 100644 --- a/modules/xymon/templates/hobbitserver.cfg +++ b/modules/xymon/templates/hobbitserver.cfg @@ -1,15 +1,15 @@ # NB : Even though it might look like a shell-script, it is NOT. # -BBSERVERROOT="/usr/lib64/xymon" # Where Xymon is installed - holds the server and bbvar sub-dirs. +BBSERVERROOT="<%= lib_dir %>/xymon" # Where Xymon is installed - holds the server and bbvar sub-dirs. BBSERVERLOGS="/var/log/xymon" # Directory for server logs. The hobbit user must have write-access here. -HOBBITCLIENTHOME="/usr/lib64/xymon/client" # BBHOME directory for the client +HOBBITCLIENTHOME="<%= lib_dir %>/xymon/client" # BBHOME directory for the client BBSERVERHOSTNAME="xymon.<%= domain %>" # The hostname of your server -BBSERVERIP="212.85.158.146" # The IP-address of your server. Use the real one, not 127.0.0.1 . +BBSERVERIP="<%= ipaddress %>" # The IP-address of your server. Use the real one, not 127.0.0.1 . BBSERVEROS="linux" # The operating system of your server. linux,freebsd,solaris,hpux,aix,osf -BBSERVERWWWNAME="xymon.mageia.org" # The name used for this hosts' webserver +BBSERVERWWWNAME="xymon.<%= domain %>" # The name used for this hosts' webserver BBSERVERWWWURL="/xymon" # The top URL for the Xymon webpages BBSERVERCGIURL="/xymon-cgi" # The URL for the Xymon CGI scripts. BBSERVERSECURECGIURL="/xymon-seccgi" # The URL for the secured Xymon CGI scripts. @@ -68,7 +68,7 @@ CGIBINURL="$BBSERVERCGIURL" # URL prefix for the Xymon CGI-scripts - /cgi-bin SECURECGIBINURL="$BBSERVERSECURECGIURL" # URL prefix for the secured Xymon CGI-scripts - /cgi-secure # Locations of system-wide files and directories -BBHOME="/usr/lib64/xymon/server" # The Xymon server directory, where programs and configurations go. +BBHOME="<%= lib_dir %>/xymon/server" # The Xymon server directory, where programs and configurations go. BBTMP="$BBHOME/tmp" # Directory used for temporary files. BBHOSTS="$BBHOME/etc/bb-hosts" # The bb-hosts file BB="$BBHOME/bin/bb" # The 'bb' client program -- cgit v1.2.1