xymon web interface
list Warrenp
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>
list Ryan Novosielski
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 | user-46c89e614701@xymon.invalid - 973/972.0922 (2x0922) || \\ Sciences | OIRT/High Perf & Res Comp - MSB C630, Newark
▸
`'
From: Xymon [xymon-bounces at xymon.com] On Behalf Of warrenp [user-c459454985b7@xymon.invalid]
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>
list Torsten Richter
-----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/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>
- -- +---------------------------------------------------------+
| E-mail : user-c862b499d9fa@xymon.invalid | | | | 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-----
list Warrenp
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 <user-c862b499d9fa@xymon.invalid> 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/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>- -- +---------------------------------------------------------+ | E-mail : user-c862b499d9fa@xymon.invalid | | | | 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-----
list Paul Root
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 <user-c862b499d9fa@xymon.invalid<mailto:user-c862b499d9fa@xymon.invalid>> 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/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>
- -- +---------------------------------------------------------+
| E-mail : user-c862b499d9fa@xymon.invalid<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-----
list Torsten Richter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hmmm.. if you have /home/xymon/server/www and it looks for /home/xymon/server/www/server then there might be something wrong in your xymonserver.cfg as the the apache.conf you've posted earlier seems to be ok except for that double "<Directory /var/www/*> ..." entry. Can you take a look at your xymonserver.cfg and check for XYMONSERVERWWWURL, XYMONWEBHOSTURL and XYMONWEB and what values they have? On 12.06.2014 22:10, warrenp wrote:
Perfect I have these erros, none of those directories exist, what should those directories have? I have /home/xymon/server/www and nothing in /var/www. File does not exist: /home/xymon/server/www/server does not exist: /var/www/xymon Thanks On Thu, Jun 12, 2014 at 1:57 PM, Torsten Richter <user-c862b499d9fa@xymon.invalid> wrote: These messages are quite normal after restarting the XYmon server. The interesting part would be the error log of your apache web server. Cheers Torsten
▸
On 12.06.2014 21:50, warrenp wrote: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 <user-c862b499d9fa@xymon.invalid> wrote: 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/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>
- -- +---------------------------------------------------------+ | E-mail : user-c862b499d9fa@xymon.invalid | | | | 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)
iEYEARECAAYFAlOa6loACgkQ7DlmxomQk6ymVACgnRVUyGWwRCAUqEVzv8RAUCQi
frMAoNqOAJntjeM3X92Ajd+TG3H3qLO2
=mQzS
-----END PGP SIGNATURE-----
list Galen Johnson
Don't forget that you need the trailing / on the url... http:// <server>/xymon/
▸
On Fri, Jun 13, 2014 at 8:11 AM, Torsten Richter <user-c862b499d9fa@xymon.invalid> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hmmm.. if you have /home/xymon/server/www and it looks for /home/xymon/server/www/server then there might be something wrong in your xymonserver.cfg as the the apache.conf you've posted earlier seems to be ok except for that double "<Directory /var/www/*> ..." entry. Can you take a look at your xymonserver.cfg and check for XYMONSERVERWWWURL, XYMONWEBHOSTURL and XYMONWEB and what values they have? On 12.06.2014 22:10, warrenp wrote:Perfect I have these erros, none of those directories exist, what should those directories have? I have /home/xymon/server/www and nothing in /var/www. File does not exist: /home/xymon/server/www/server does not exist: /var/www/xymon Thanks On Thu, Jun 12, 2014 at 1:57 PM, Torsten Richter <user-c862b499d9fa@xymon.invalid> wrote: These messages are quite normal after restarting the XYmon server. The interesting part would be the error log of your apache web server. Cheers Torsten On 12.06.2014 21:50, warrenp wrote: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 <user-c862b499d9fa@xymon.invalid> wrote: 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>- -- +---------------------------------------------------------+ | E-mail : user-c862b499d9fa@xymon.invalid | | | | 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) iEYEARECAAYFAlOa6loACgkQ7DlmxomQk6ymVACgnRVUyGWwRCAUqEVzv8RAUCQi frMAoNqOAJntjeM3X92Ajd+TG3H3qLO2 =mQzS -----END PGP SIGNATURE-----