Xymon Mailing List Archive search

Xymon on Ubuntu not running cgi

list Thomas Eckert
Wed, 21 May 2014 09:52:05 +0200
Message-Id: <user-f983203f3d31@xymon.invalid>

Hi Scott,

I have not tried the xymon-packages from the official repository but rather installed the packages from sf.net.
At least on precise (64bit) this works out automatically: the package installs `/etc/apache2/conf.d/xymon` that is automatically included in the default vhost.

If you’d like to fix your current installation: The cgi-handler hint by Rolf points in the right direction. Check the `ScriptAlias` settings of your configuration. From the file mentioned above (excerpt):

ScriptAlias /xymon-cgi/ "/usr/lib/xymon/cgi-bin/"
<Directory "/usr/lib/xymon/cgi-bin">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /xymon-seccgi/ "/usr/lib/xymon/cgi-secure/"
<Directory "/usr/lib/xymon/cgi-secure”>
(…)

I would advise to install the newest version of Xymon on the monitoring server (the clients can use the repo-version without problems). Just install the dependencies first:

apt-get install libldap-2.4 libpcre3 librrd4 libssl1.0.0 fping libc-ares2

and fetch 	the xymon and xymon-client packages from http://sf.net/p/xymon (4.3.17 is the current one), install the `xymon-client` package first as the server (`xymon`) depends on it.


All the best
Thomas

-- 
IT-Beratung Eckert		Bleickenallee 19			fon: +49 40 7305 1809
Thomas Eckert		22763 Hamburg			fax: +XX XX XXXX XXXX
www.it-eckert.com		user-dcf4e2aaac67@xymon.invalid


On 21 May 2014, at 04:42, Scott A Dyer <user-4042f0cba51e@xymon.invalid> wrote:
I have set up xymon using apache2 and the apt-get xymon package on a VMware virtual host.  I have been able to get the main page to display and all the hosts I have added in the hosts file show up green.  But, if I click one of the statuses it attempts to download the cgi script.  Except In chrome it gives me the following page.

#!/bin/sh # This is a wrapper for the Xymon svcstatus.cgi script . /usr/lib/xymon/server/etc/cgioptions.cfg exec /usr/lib/xymon/server/bin/svcstatus.cgi $CGI_SVC_OPTS
I think it is a configuration issue in apache that is causing the problem but I have been unable to find it.

Thank you for any help,
Scott