I have succesfully installed Xymon, but just couldn't get the web interface working. I have included this in apache.conf: (any ideas what i'm missing??) Thanks for the help!
Alias /xymon/ "/home/xymon/server/www/" <Directory "/home/xymon/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory>
ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/" <Directory "/home/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory>
<Directory /var/www/*> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/" <Directory "/home/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory>
<Directory /var/www/*> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
ScriptAlias /xymon-seccgi/ "/home/xymon/cgi-secure/" <Directory "/home/xymon/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all
# Password file where users with access to these scripts are kept.
# Create it with "htpasswd -c /home/xymon/server/etc/xymonpasswd
USERNAME" # Add more users / change passwords with "htpasswd /home/xymon/server/etc/xymonpasswd USERNAME" # # You can also use a group file to restrict admin access to members of a # group, instead of anyone who is logged in. In that case you must setup # the "xymongroups" file, and change the "Require" settings to require # a specific group membership. See the Apache docs for more details.
AuthUserFile /home/xymon/server/etc/xymonpasswd
AuthGroupFile /home/xymon/server/etc/xymongroups
AuthType Basic
AuthName "Xymon Administration"
# "valid-user" restricts access to anyone who is logged in.
Require valid-user
# "group admins" restricts access to users who have logged in, AND
# are members of the "admins" group in xymongroups.
# Require group admins
</Directory>
You don't specify what "doesn't work." Have you checked the logs? You also have a duplicate stanza down there.
-- ____ *Note: UMDNJ is now Rutgers-Biomedical and Health Sciences* || \\UTGERS |---------------------*O*--------------------- ||_// Biomedical | Ryan Novosielski - Senior Technologist || \\ and Health | novosirj at rutgers.edu - 973/972.0922 (2x0922) || \\ Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark `'
From: Xymon [xymon-bounces at xymon.com] On Behalf Of warrenp [crmade at gmail.com] Sent: Tuesday, June 10, 2014 5:07 PM To: xymon at xymon.com Subject: [Xymon] xymon web interface
I have succesfully installed Xymon, but just couldn't get the web interface working. I have included this in apache.conf: (any ideas what i'm missing??) Thanks for the help!
Alias /xymon/ "/home/xymon/server/www/" <Directory "/home/xymon/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory>
ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/" <Directory "/home/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory>
<Directory /var/www/*> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/" <Directory "/home/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory>
<Directory /var/www/*> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
ScriptAlias /xymon-seccgi/ "/home/xymon/cgi-secure/" <Directory "/home/xymon/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all
# Password file where users with access to these scripts are kept.
# Create it with "htpasswd -c /home/xymon/server/etc/xymonpasswd USERNAME"
# Add more users / change passwords with "htpasswd /home/xymon/server/etc/xymonpasswd USERNAME"
#
# You can also use a group file to restrict admin access to members of a
# group, instead of anyone who is logged in. In that case you must setup
# the "xymongroups" file, and change the "Require" settings to require
# a specific group membership. See the Apache docs for more details.
AuthUserFile /home/xymon/server/etc/xymonpasswd
AuthGroupFile /home/xymon/server/etc/xymongroups
AuthType Basic
AuthName "Xymon Administration"
# "valid-user" restricts access to anyone who is logged in.
Require valid-user
# "group admins" restricts access to users who have logged in, AND
# are members of the "admins" group in xymongroups.
# Require group admins
</Directory>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
dumb question: Did you restart your web server after adding this to your config?
Cheers Torsten
On 10.06.2014 23:07, warrenp wrote:
I have succesfully installed Xymon, but just couldn't get the web interface working. I have included this in apache.conf: (any ideas what i'm missing??) Thanks for the help!
Alias /xymon/ "/home/xymon/server/www/" <Directory "/home/xymon/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory>
ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/" <Directory "/home/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory>
<Directory /var/www/*> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/" <Directory "/home/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory>
<Directory /var/www/*> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
ScriptAlias /xymon-seccgi/ "/home/xymon/cgi-secure/" <Directory "/home/xymon/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all
# Password file where users with access to these scripts are kept. # Create it with "htpasswd -c /home/xymon/server/etc/xymonpasswdUSERNAME" # Add more users / change passwords with "htpasswd /home/xymon/server/etc/xymonpasswd USERNAME" # # You can also use a group file to restrict admin access to members of a # group, instead of anyone who is logged in. In that case you must setup # the "xymongroups" file, and change the "Require" settings to require # a specific group membership. See the Apache docs for more details.
AuthUserFile /home/xymon/server/etc/xymonpasswd AuthGroupFile /home/xymon/server/etc/xymongroups AuthType Basic AuthName "Xymon Administration" # "valid-user" restricts access to anyone who is logged in. Require valid-user # "group admins" restricts access to users who have logged in, AND # are members of the "admins" group in xymongroups. # Require group admins</Directory>
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
+---------------------------------------------------------+ | E-mail : bb4 [at] richter-it.net | | | | Homepage: http://www.richter-it.net/ | +---------------------------------------------------------+ Download my public key from: http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32)
iEYEARECAAYFAlOaApcACgkQ7DlmxomQk6z++gCgy/fdRQSxY74D8DDkACQQ/MgJ YHMAoNGkFCP0mEYcvG3hYU14jGsUhAER =BMlF -----END PGP SIGNATURE-----
Yes, I restarted everything after adding that. Looking at the logs (var/log/xymon) I see a couple of errors, for example: clientdata.log: 2014-06-10 16:44:19 Peer not up, flushing message queue history.log: 2014-06-10 16:44:13 Peer not up, flushing message queue hostdata.log: 2014-06-10 16:49:08 Peer not up, flushing message queue
I have no clue of how to get the web interface up. I've tried to google this but I can't find anything.
Thanks for the help
On Thu, Jun 12, 2014 at 1:42 PM, Torsten Richter <bb4 at richter-it.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
dumb question: Did you restart your web server after adding this to your config?
Cheers Torsten
On 10.06.2014 23:07, warrenp wrote:
I have succesfully installed Xymon, but just couldn't get the web interface working. I have included this in apache.conf: (any ideas what i'm missing??) Thanks for the help!
Alias /xymon/ "/home/xymon/server/www/" <Directory "/home/xymon/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory>
ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/" <Directory "/home/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory>
<Directory /var/www/*> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/" <Directory "/home/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory>
<Directory /var/www/*> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
ScriptAlias /xymon-seccgi/ "/home/xymon/cgi-secure/" <Directory "/home/xymon/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all
# Password file where users with access to these scripts are kept. # Create it with "htpasswd -c /home/xymon/server/etc/xymonpasswdUSERNAME" # Add more users / change passwords with "htpasswd /home/xymon/server/etc/xymonpasswd USERNAME" # # You can also use a group file to restrict admin access to members of a # group, instead of anyone who is logged in. In that case you must setup # the "xymongroups" file, and change the "Require" settings to require # a specific group membership. See the Apache docs for more details.
AuthUserFile /home/xymon/server/etc/xymonpasswd AuthGroupFile /home/xymon/server/etc/xymongroups AuthType Basic AuthName "Xymon Administration" # "valid-user" restricts access to anyone who is logged in. Require valid-user # "group admins" restricts access to users who have logged in, AND # are members of the "admins" group in xymongroups. # Require group admins</Directory>
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
+---------------------------------------------------------+ | E-mail : bb4 [at] richter-it.net | | | | Homepage: http://www.richter-it.net/ | +---------------------------------------------------------+ Download my public key from: http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32)
iEYEARECAAYFAlOaApcACgkQ7DlmxomQk6z++gCgy/fdRQSxY74D8DDkACQQ/MgJ YHMAoNGkFCP0mEYcvG3hYU14jGsUhAER =BMlF -----END PGP SIGNATURE-----
You would go to http://<server<http://%3cserver> name or address>/xymon
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of warrenp Sent: Thursday, June 12, 2014 2:51 PM To: Torsten Richter Cc: xymon at xymon.com Subject: Re: [Xymon] xymon web interface
Yes, I restarted everything after adding that. Looking at the logs (var/log/xymon) I see a couple of errors, for example: clientdata.log: 2014-06-10 16:44:19 Peer not up, flushing message queue history.log: 2014-06-10 16:44:13 Peer not up, flushing message queue hostdata.log: 2014-06-10 16:49:08 Peer not up, flushing message queue I have no clue of how to get the web interface up. I've tried to google this but I can't find anything.
Thanks for the help
On Thu, Jun 12, 2014 at 1:42 PM, Torsten Richter <bb4 at richter-it.net<mailto:bb4 at richter-it.net>> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
dumb question: Did you restart your web server after adding this to your config?
Cheers Torsten
On 10.06.2014 23:07, warrenp wrote:
I have succesfully installed Xymon, but just couldn't get the web interface working. I have included this in apache.conf: (any ideas what i'm missing??) Thanks for the help!
Alias /xymon/ "/home/xymon/server/www/" <Directory "/home/xymon/server/www"> Options Indexes FollowSymLinks Includes MultiViews Order allow,deny Allow from all </Directory>
ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/" <Directory "/home/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory>
<Directory /var/www/*> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/" <Directory "/home/xymon/cgi-bin"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all </Directory>
<Directory /var/www/*> Options +ExecCGI AddHandler cgi-script .cgi </Directory>
ScriptAlias /xymon-seccgi/ "/home/xymon/cgi-secure/" <Directory "/home/xymon/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all
# Password file where users with access to these scripts are kept. # Create it with "htpasswd -c /home/xymon/server/etc/xymonpasswdUSERNAME" # Add more users / change passwords with "htpasswd /home/xymon/server/etc/xymonpasswd USERNAME" # # You can also use a group file to restrict admin access to members of a # group, instead of anyone who is logged in. In that case you must setup # the "xymongroups" file, and change the "Require" settings to require # a specific group membership. See the Apache docs for more details.
AuthUserFile /home/xymon/server/etc/xymonpasswd AuthGroupFile /home/xymon/server/etc/xymongroups AuthType Basic AuthName "Xymon Administration" # "valid-user" restricts access to anyone who is logged in. Require valid-user # "group admins" restricts access to users who have logged in, AND # are members of the "admins" group in xymongroups. # Require group admins</Directory>
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
+---------------------------------------------------------+ | E-mail : bb4 [at] richter-it.net<http://richter-it.net> | | | | Homepage: http://www.richter-it.net/ | +---------------------------------------------------------+ Download my public key from: http://gpg-keyserver.de/pks/lookup?search=0x899093AC&op=get -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32)
iEYEARECAAYFAlOaApcACgkQ7DlmxomQk6z++gCgy/fdRQSxY74D8DDkACQQ/MgJ YHMAoNGkFCP0mEYcvG3hYU14jGsUhAER =BMlF -----END PGP SIGNATURE-----
participants (4)
-
bb4@richter-it.net
-
crmade@gmail.com
-
novosirj@ca.rutgers.edu
-
Paul.Root@CenturyLink.com