Xymon Mailing List Archive search

hobbitcgi.cfg CGI_GHOSTS_OPT mistype

list Paul Moore
Mon, 20 Oct 2008 16:31:38 +0000
Message-Id: <user-4476ab6f3552@xymon.invalid>

Henrik,

 
I don't know if you are still maintaining the 4.2.0 version, but I have
stumbled across a mistype in the hobbitcgi.cfg file that gets created.

 
#hobbit-ghosts.cgi options

CGI_GHOSTS_OPT="--env=/usr/local/hobbit/server/etc/hobbitserver.cfg"

 
However, in the hobbit-ghosts.sh file you call it differently.

 
more hobbit-ghosts.sh

#!/bin/sh

 
# This is the Hobbit wrapper for the ghosts CGI

 
. /opt/tools/hobbit/server/etc/hobbitcgi.cfg

 exec /usr/local/hobbit/server/bin/hobbit-ghosts.cgi
--env=/usr/local/hobbit/server/etc/hobbitserver.cfg $CGI_GHOSTS_OPTS

 
You have dropped the S off the end of the variable $CGI_GHOSTS_OPTS.
This only caused me trouble when building a package and the compiled
variables for serverip did not "exist" 

 
Paul Moore
Verizon Business
MNSO OSS - Principal Engineer
XXXX Weston Parkway
Cary, NC XXXXX
 
Office: X-XXX-XXX-XXXX
Vnet: 966-5159
Cell: X-XXX-XXX-XXXX
user-8c3a430470a0@xymon.invalid
http://mnso.mcilink.com/oss