Xymon Mailing List Archive search

New Installation, Incorrect URL for graphs

list Jeremy Laidman
Wed, 21 Dec 2011 14:04:04 +1100
Message-Id: <user-00c4826c7ab5@xymon.invalid>

On Wed, Dec 21, 2011 at 5:46 AM, James Wade
<user-659655b2ea05@xymon.invalid> wrote:> I just did a new installation and
everything is working, except for the> graph location URL at the
bottom of the page. Is the URL compiled within the> code?
No, the status webpage is generated by code within xymonrrd.c which
builds the URL from the environment variable $CGIBINURL.  This is
defined in xymonserver.cfg, and normally assigned with the value of
$XYMONSERVERCGIURL.  Here are the lines from my xymonserver.cfg file:

  XYMONSERVERCGIURL="/xymon-cgi"               # The URL for the Xymon
CGI scripts.
  CGIBINURL="$XYMONSERVERCGIURL"                       # URL prefix
for the Xymon CGI-scripts - /cgi-bin

Cheers
Jeremy