[Xymon] Xymon on Ubuntu not running cgi

Thomas Eckert thomas.eckert at it-eckert.de
Wed May 21 09:52:05 CEST 2014


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: +49 40 7305 7509
www.it-eckert.com		info at it-eckert.de




On 21 May 2014, at 04:42, Scott A Dyer <sadyer at ucdavis.edu> 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 
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140521/f4056c74/attachment.html>


More information about the Xymon mailing list