Xymon web interface missing?
list Elliott Barrere
Hi all, I have a fresh install of Xymon on CentOS 5, following the instructions here: http://xymon.sourceforge.net/xymon/help/install.html There were no errors during configure or install, but now when trying to access the URL, I see a directory listing (folders called gifs, help, html, menu, etc) rather than the Xymon web interface. Sorry to pose this question here, but I have no idea how this is supposed to work. Should there be an index.php/index.html that is missing or somehow didn't get installed? An Alias to the correct file in the Apache config (xymon.conf)? Thanks for any help!
list Michael Burger
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Elliott Barrere Sent: Wednesday, December 19, 2012 2:06 PM To: xymon at xymon.com Subject: [Xymon] Xymon web interface missing?
▸
Hi all, I have a fresh install of Xymon on CentOS 5, following the instructions here: http://xymon.sourceforge.net/xymon/help/install.html There were no errors during configure or install, but now when trying to access the URL, I see a directory listing (folders called gifs, help, html, menu, etc) rather than the Xymon web interface. Sorry to pose this question here, but I have no idea how this is supposed to work. Should there be an index.php/index.html that is missing or somehow didn't get installed? An Alias to the correct file in the Apache config (xymon.conf)? Thanks for any help!
Elliott,
Did you remember to symlink xymon-apache.conf into your
/etc/httpd/conf.d (or /etc/apache2/conf.d) directory?
ln -s /path/to/your/xymon-apache.conf /etc/httpd/conf.d
or
ln -s /path/to/your/xymon-apache.conf /etc/apache2/conf.d
And then reload your webserver's configuration?
service httpd reload
or
service apache2 reload
--
Mike Burger
AIX Administrator
Phone (XXX) XXX-XXXX, Fax (XXX) XXX-XXXX, Cell (XXX) XXX-XXXX
E-mail: user-c26873f0522a@xymon.invalid
"Once word leaks out that a pirate's gone soft, people begin to disobey
you and then it's nothing but work, work, work, all the time."
--Westley/The Dread Pirate Roberts
CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for
the sole use of the intended recipient(s) and may contain confidential
information. Any unauthorized review, use, disclosure, alteration or
distribution is strictly prohibited and may violate state or federal law. If you
are not the intended recipient, please contact the sender by reply e-mail,
delete this email and destroy all copies of the message.
list Elliott Barrere
▸
Elliott, Did you remember to symlink xymon-apache.conf into your /etc/httpd/conf.d (or /etc/apache2/conf.d) directory?
Thanks for the feedback. I did copy the file over and restart apache. No reason it _needs_ to be a symlink, right?
▸
ln -s /path/to/your/xymon-apache.conf /etc/httpd/conf.d or ln -s /path/to/your/xymon-apache.conf /etc/apache2/conf.d And then reload your webserver's configuration? service httpd reload or service apache2 reload
list Elliott Barrere
You need to start Xymon so it creates bb.html and a soft link index.html Ah, thanks Josh, so the Xymon process creates the index.html. I did _try_ to start the service. It said "Starting Xymon: Xymon started", but maybe something went wrong. Looking in the logs, I see a few things that might be a problem, knowing now that Xymon creates the index file: $ tail /var/log/xymon/xymongen.log 2012-12-20 08:55:30 -> Recipient '<IP>', timeout 15 2012-12-20 08:55:30 -> 1st line: 'xymondboard fields=hostname,testname,color,flags,lastchange,logtime,validtime,acktime,disabletime,sender,cookie,line1,acklist' 2012-12-20 08:55:30 xymond status-board not available, code 7 2012-12-20 08:55:30 Failed to load current Xymon status, aborting page-update 2012-12-20 08:56:32 Whoops ! Failed to send message (timeout) So it sounds like maybe I need to get some host checks working before it will create the web interface? Any thoughts on why the IP of the server itself would timeout during checks? I've verified that fping <IP> reports the host is alive, but beyond that I'm not sure where to look. I've also just tried disabling the firewall and restarting Xymon, with no luck. Thanks! Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX
list Josh Luthman
Default xymon-hosts.cfg should include the server itself. Even if it is blank, I expect it would work and just have zero hosts output (it would include the HTML above and below it). I can't say I know what those errors mean but I know just after ./configure.server && make && make install you can can start Xymon with the config entered from ./configure.server
▸
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Thu, Dec 20, 2012 at 12:14 PM, Elliott Barrere <
▸
user-96c7db05f3dc@xymon.invalid> wrote:
So it sounds like maybe I need to get some host checks working before it will create the web interface? Any thoughts on why the IP of the server itself would timeout during checks? I've verified that fping <IP> reports the host is alive, but beyond that I'm not sure where to look. I've also just tried disabling the firewall and restarting Xymon, with no luck.
list Elliott Barrere
So it looks like I spoke too soon. The files are now there, and the interface is accessible. The only thing I can think is that restarting with the firewall turned off must have fixed it. Thanks for the help!
list Larry Barber
Check the xymongen entry in tasks.cfg. Make sure its creating the html files in the correct directory. Also check the permissions on your www directory, it has to be writable the by the user running xymon and readable by the user running your web server (typically either apache or nobody). The xymongen log files may also be informative. Thanks, Larry Barber On Thu, Dec 20, 2012 at 11:17 AM, Josh Luthman
▸
<user-4c45a83f15cb@xymon.invalid>wrote:
Default xymon-hosts.cfg should include the server itself. Even if it is blank, I expect it would work and just have zero hosts output (it would include the HTML above and below it). I can't say I know what those errors mean but I know just after ./configure.server && make && make install you can can start Xymon with the config entered from ./configure.server Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Thu, Dec 20, 2012 at 12:14 PM, Elliott Barrere < user-96c7db05f3dc@xymon.invalid> wrote:So it sounds like maybe I need to get some host checks working before it will create the web interface? Any thoughts on why the IP of the server itself would timeout during checks? I've verified that fping <IP> reports the host is alive, but beyond that I'm not sure where to look. I've also just tried disabling the firewall and restarting Xymon, with no luck.