[Xymon] Xymon Digest, Vol 8, Issue 20
Yanni
y.goudetsidis at mail.cryst.bbk.ac.uk
Wed Oct 5 13:00:00 CEST 2011
Hello
I got busy the last few days and didn't have the chance to look
at your suggestions. If I still can't make it work I will re-install.
Thanks a lot for your time Alex.
On September 28, 2011 at 4:50 AM Alex Levin <alevin at gmail.com> wrote:
> Yanni,
>
> All directives for xymon related apache directories ( including cgi-*
> ) are already included in xymon-apache.conf, so you need just to make
> sure that the file itself is included into main apache config (
> httpd.conf )
>
> if you placed xymonpasswd into /etc/httpd/ folder - you need to edit
> xymon-apache.conf file and modify location of the file.
> Also - if not using groups for apache authentication - remove or
> comment corresponding lines from xymon-apache.conf.
>
> When done - check syntax of the config ( apachectl -t ) and restart
> apache ( apachectl restart ) using root account.
> Under user xymon - start server ( in your case
> "/opt/xymon/server/xymon.sh start" )
>
> if everything is OK - you should be able to see something at
> http://YOURWEBHOST/xymon/
>
>
> If something is not working - check log files ( apache or xymon )
>
> ---
> Alex
>
> On Tue, Sep 27, 2011 at 9:13 AM, Yanni
> <y.goudetsidis at mail.cryst.bbk.ac.uk> wrote:
> > Hi Alex
> >
> >
> >
> > Please allow me to mention what I have done so far.
> >
> >
> >
> > All xymon related directores (cgi-bin, cgi-secure, client, data, server,
> > webpages, xymon-cgi, xymon-seccgi) are inside
> >
> > /opt/xymon.
> >
> >
> >
> > After searching about configuring apache online, I found out that in order
> > for Apache to execute CGI scripts
> >
> > I need to edit the "access.conf" file by adding a section like this:
> >
> >
> >
> > <Directory /opt/xymon/cgi-bin>
> > Options ExecCGI
> > AddHandler cgi-script .cgi .pl
> > </Directory>
> >
> >
> >
> > 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:
> >
> > 'ScriptAlias /cgi-bin/ /opt/xymon/cgi-bin/'
> >
> >
> >
> > I've done that as well.
> >
> >
> >
> > Next I followed your instructions on the link you send me.
> >
> > I run:
> >
> > 'htpasswd -c /etc/httpd/xymonpasswd admin' and entered password.
> >
> >
> >
> > I finally found "xymon-apache.conf" and copied it to /etc/httpd/conf.d/
> >
> >
> >
> > but I am a bit confused about the 'sed' command.
> >
> >
> >
> > Is the directory at the end stops at 'httpd'?
> >
> >
> >
> > Many thanks
> >
> > Yanni
> >
> >
> >
> > On September 27, 2011 at 12:17 AM Alex Levin <alevin at gmail.com> wrote:
> >
> >> Yanni,
> >>
> >> You need to include xymon-apache.conf file in your httpd.conf, it's
> >> location depends on the system you are using and on how the Apache
> >> server was installed ( from repository or compiled )
> >> but before - make sure that xymonpasswd ( and probably
> >> xymongroups ) files are created. ( read the config file :) )
> >>
> >> Actually - it is a good idea to understand syntax of Apache config
> >> files ( at least check directives used in xymon config on
> >> http://httpd.apache.org/docs/2.2/ ) ...
> >>
> >> Also, I have some notes on installing xymon in AWS ( amazon ) cloud
> >> that could be useful for you -
> >> http://www.abristech.net/2011/09/xymon-monitoring-from-cloud.html as
> >> well
> >>
> >>
> >> --
> >> Alex
> >>
> >>
> >>
> >> On Mon, Sep 26, 2011 at 4:02 AM, Yanni
> >> <y.goudetsidis at mail.cryst.bbk.ac.uk> wrote:
> >> > Hi everyone
> >> >
> >> >
> >> >
> >> > I am junior sysadmin at a college and after a few failed attempts I
> >> > successfully installed Xymon. No errors appeared after running 'make'
> >> > and
> >> > 'make install'.
> >> >
> >> >
> >> >
> >> > At the moment I am trying to configure my web server(Apache/2.2.3 )
> >> > (which
> >> > is located on the same machine as xymon) and I am following the
> >> > instructions
> >> > on the "installing Xymon" link
> >> > (http://www.xymon.com/xymon/help/install.html) but I can not really
> >> > understand what changes I have to make. It says on the link that I have
> >> > to
> >> > make the necessary additions to the apache configuration in
> >> > ~/server/etc/xymon-apache.conf. What lines do I have to add/change and
> >> > where
> >> > can I find this file?
> >> >
> >> >
> >> >
> >> > As you can understand my apache knowledge is limited, I only installed
> >> > it so
> >> > I can run Xymon. Could someone please help me?
> >> >
> >> >
> >> >
> >> > Many thanks
> >> >
> >> > Yanni
> >> >
> >> >
> >> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20111005/f2bb1942/attachment.html>
More information about the Xymon
mailing list