<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title></title>
</head>
<body>
<p style="margin: 0px;">Hi Alex</p>
<p style="margin: 0px;"><span> </span></p>
<p>Please allow me to mention what I have done so far.</p>
<p> </p>
<p>All xymon related directores (cgi-bin, cgi-secure, client, data, server, webpages, xymon-cgi, xymon-seccgi) are inside</p>
<p>/opt/xymon.</p>
<p> </p>
<p>After searching about configuring apache online, I found out that in order for Apache to execute CGI scripts</p>
<p>I need to edit the "access.conf" file by adding a section like this:</p>
<p> </p>
<p><span class="code"><Directory /opt/xymon/cgi-bin><br />
Options ExecCGI<br />
AddHandler cgi-script .cgi .pl<br />
</Directory></span></p>
<p> </p>
<p>I did that. Next I read that I should create a special location called alias to the actual CGI directory and then edit my "httpd.conf" file and add the line below:</p>
<p><span class="code"><br />
</span></p>
<p><span class="code">'ScriptAlias /cgi-bin/ /opt/xymon/cgi-bin/'</span></p>
<p> </p>
<p>I've done that as well.</p>
<p> </p>
<p><span class="code">Next I followed your instructions on the link you send me.</span></p>
<p><span class="code">I run:<br />
</span></p>
<p><span class="code"><br />
</span></p>
<p>'htpasswd -c /etc/httpd/xymonpasswd admin' and entered password.</p>
<p> </p>
<p>I finally found "xymon-apache.conf" and copied it to /etc/httpd/conf.d/</p>
<p> </p>
<p>but I am a bit confused about the 'sed' command.</p>
<p> </p>
<p>Is the directory at the end stops at 'httpd'?</p>
<p> </p>
<p>Many thanks</p>
Yanni
<p style="margin: 0px;"></p>
<p> </p>
<div style="margin: 5px 0px 5px 0px; font-family: monospace;">
On September 27, 2011 at 12:17 AM Alex Levin <alevin@gmail.com> wrote:<br />
<br />
> Yanni,<br />
><br />
> You need to include xymon-apache.conf file in your httpd.conf, it's<br />
> location depends on the system you are using and on how the Apache<br />
> server was installed ( from repository or compiled )<br />
> but before - make sure that xymonpasswd ( and probably<br />
> xymongroups ) files are created. ( read the config file :) )<br />
><br />
> Actually - it is a good idea to understand syntax of Apache config<br />
> files ( at least check directives used in xymon config on<br />
> http://httpd.apache.org/docs/2.2/ ) ...<br />
><br />
> Also, I have some notes on installing xymon in AWS ( amazon ) cloud<br />
> that could be useful for you -<br />
> http://www.abristech.net/2011/09/xymon-monitoring-from-cloud.html as<br />
> well<br />
><br />
><br />
> --<br />
> Alex<br />
><br />
><br />
><br />
> On Mon, Sep 26, 2011 at 4:02 AM, Yanni<br />
> <y.goudetsidis@mail.cryst.bbk.ac.uk> wrote:<br />
> > Hi everyone<br />
> ><br />
> ><br />
> ><br />
> > I am junior sysadmin at a college and after a few failed attempts I<br />
> > successfully installed Xymon. No errors appeared after running 'make' and<br />
> > 'make install'.<br />
> ><br />
> ><br />
> ><br />
> > At the moment I am trying to configure my web server(Apache/2.2.3 ) (which<br />
> > is located on the same machine as xymon) and I am following the instructions<br />
> > on the "installing Xymon" link<br />
> > (http://www.xymon.com/xymon/help/install.html) but I can not really<br />
> > understand what changes I have to make. It says on the link that I have to<br />
> > make the necessary additions to the apache configuration in<br />
> > ~/server/etc/xymon-apache.conf. What lines do I have to add/change and where<br />
> > can I find this file?<br />
> ><br />
> ><br />
> ><br />
> > As you can understand my apache knowledge is limited, I only installed it so<br />
> > I can run Xymon. Could someone please help me?<br />
> ><br />
> ><br />
> ><br />
> > Many thanks<br />
> ><br />
> > Yanni<br />
> ><br />
> ><br />
> >
</div>
</body>
</html>