<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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;"><span>Hello</span></p>

    <p style="margin: 0px;"><span> </span></p>

    <p style="margin: 0px;"><span>I got busy the last few days and didn't have the chance to look</span></p>

    <p style="margin: 0px;"><span>at your suggestions. If I still can't make it work I will re-install.</span></p>

    <p style="margin: 0px;"><span> </span></p>

    <p style="margin: 0px;"><span>Thanks a lot for your time Alex.</span></p>

    <p style="margin: 0px;"><span><br />
    </span></p>

    <p style="margin: 0px;"></p>

    <p> </p>

    <div style="margin: 5px 0px 5px 0px; font-family: monospace;">
      On September 28, 2011 at 4:50 AM Alex Levin <alevin@gmail.com> wrote:<br />
      <br />
      > Yanni,<br />
      ><br />
      > All directives for xymon related apache directories ( including cgi-*<br />
      > ) are already included in xymon-apache.conf, so you need just to make<br />
      > sure that the file itself is included into main apache config (<br />
      > httpd.conf )<br />
      ><br />
      > if you placed xymonpasswd into /etc/httpd/ folder - you need to edit<br />
      > xymon-apache.conf file and modify location of the file.<br />
      > Also - if not using groups for apache authentication - remove or<br />
      > comment corresponding lines from xymon-apache.conf.<br />
      ><br />
      > When done - check  syntax of the config ( apachectl -t ) and restart<br />
      > apache ( apachectl restart )  using root account.<br />
      > Under user xymon - start server ( in your case<br />
      > "/opt/xymon/server/xymon.sh start"  )<br />
      ><br />
      > if everything is OK - you should be able to see something at<br />
      > http://YOURWEBHOST/xymon/<br />
      ><br />
      ><br />
      > If something is not working - check log files ( apache or xymon )<br />
      ><br />
      > ---<br />
      > Alex<br />
      ><br />
      > On Tue, Sep 27, 2011 at 9:13 AM, Yanni<br />
      > <y.goudetsidis@mail.cryst.bbk.ac.uk> wrote:<br />
      > > Hi Alex<br />
      > ><br />
      > ><br />
      > ><br />
      > > Please allow me to mention what I have done so far.<br />
      > ><br />
      > ><br />
      > ><br />
      > > All xymon related directores (cgi-bin, cgi-secure, client, data, server,<br />
      > > webpages, xymon-cgi, xymon-seccgi) are inside<br />
      > ><br />
      > > /opt/xymon.<br />
      > ><br />
      > ><br />
      > ><br />
      > > After searching about configuring apache online, I found out that in order<br />
      > > for Apache to execute CGI scripts<br />
      > ><br />
      > > I need to edit the "access.conf" file by adding a section like this:<br />
      > ><br />
      > ><br />
      > ><br />
      > > <Directory /opt/xymon/cgi-bin><br />
      > > Options ExecCGI<br />
      > > AddHandler cgi-script   .cgi   .pl<br />
      > > </Directory><br />
      > ><br />
      > ><br />
      > ><br />
      > > I did that. Next I read that I should create a special location called alias<br />
      > > to the actual CGI directory and then edit my "httpd.conf" file and add the<br />
      > > line below:<br />
      > ><br />
      > > 'ScriptAlias /cgi-bin/  /opt/xymon/cgi-bin/'<br />
      > ><br />
      > ><br />
      > ><br />
      > > I've done that as well.<br />
      > ><br />
      > ><br />
      > ><br />
      > > Next I followed your instructions on the link you send me.<br />
      > ><br />
      > > I run:<br />
      > ><br />
      > > 'htpasswd -c /etc/httpd/xymonpasswd  admin' and entered password.<br />
      > ><br />
      > ><br />
      > ><br />
      > > I finally found "xymon-apache.conf" and copied it to /etc/httpd/conf.d/<br />
      > ><br />
      > ><br />
      > ><br />
      > > but I am a bit confused about the 'sed' command.<br />
      > ><br />
      > ><br />
      > ><br />
      > > Is the directory at the end stops at 'httpd'?<br />
      > ><br />
      > ><br />
      > ><br />
      > > Many thanks<br />
      > ><br />
      > > Yanni<br />
      > ><br />
      > ><br />
      > ><br />
      > > 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'<br />
      > >> > and<br />
      > >> > 'make install'.<br />
      > >> ><br />
      > >> ><br />
      > >> ><br />
      > >> > At the moment I am trying to configure my web server(Apache/2.2.3 )<br />
      > >> > (which<br />
      > >> > is located on the same machine as xymon) and I am following the<br />
      > >> > 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<br />
      > >> > 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<br />
      > >> > where<br />
      > >> > can I find this file?<br />
      > >> ><br />
      > >> ><br />
      > >> ><br />
      > >> > As you can understand my apache knowledge is limited, I only installed<br />
      > >> > 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>