<div dir="auto">I'm not seeing the httpd config, did you check that?<br><br><div data-smartmail="gmail_signature">Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sep 26, 2017 5:43 PM, "Japheth Cleaver" <<a href="mailto:cleaver@terabithia.org">cleaver@terabithia.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 9/26/2017 1:57 PM, Kern Doe wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
I'm a complete newbie to xymon and I don't have any luck on getting this to work yet. If you guys can help me out to at least see the xymon screen I really appreciate it, since I'm not getting that far.<br>
Kern --<br>
</blockquote>
<br>
Hi Kern,<br>
<br>
No worries. Lists are here to help.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Followings are what I've done:<br>
1) my virtual Centos Linux (6.5)<br>
     hostname: centos_hp0<br>
     hostname -i: 172.20.10.5<br>
</blockquote>
<br>
I don't *believe* this will cause a problem within xymon, but hostnames with underscores can cause problems for some tools, even if it's allowed as a component of a DNS label.<br>
<br>
<br>
*snip*<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
ls -alt /var/www/html<br>
---------------------<br>
     total 12<br>
     drwxr-xr-x. 2 root root 4096 Sep 26 16:45 .<br>
     lrwxrwxrwx. 1 root root   33 Sep 26 16:45 index.html -> /home/xymon/server/www/xymon.h<wbr>tml<br>
<br>
         ** do I need to modify this file?<br>
</blockquote>
<br>
Xymon will automatically create this symlink, although it's odd that it's in a distinct server root. Can you provide the WWW directory settings from within your xymonserver.cfg file?<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
xmon's index.html:<br>
-----------------<br>
ls -al /home/xymon/server/www<br>
     total 92<br>
     drwxr-xr-x. 10 xymon xymon   4096 Sep 26 16:48 .<br>
     drwxr-xr-x.  9 xymon xymon   4096 Sep 26 14:25 ..<br>
     -rw-r--r--.  1 xymon xymon   4767 Sep 26 16:48 critical.html<br>
     drwxr-xr-x.  2 xymon xymon   4096 Sep 26 14:25 gifs<br>
     drwxr-xr-x.  3 xymon xymon   4096 Sep 26 14:25 help<br>
     drwxr-xr-x.  2 xymon xymon   4096 Sep 26 14:23 html<br>
     lrwxrwxrwx.  1 xymon xymon     10 Sep 26 16:48 index.html -> xymon.html<br>
     drwxr-xr-x.  2 xymon xymon   4096 Sep 26 14:25 menu<br>
     -rw-r--r--.  1 xymon xymon  20556 Sep 26 16:48 nongreen.html<br>
     drwxr-xr-x.  2 xymon xymon   4096 Sep 26 14:23 notes<br>
     -rw-r--r--.  1 xymon xymon   6591 Sep 26 16:48 red.html<br>
     drwxrwxr-x.  2 xymon nobody  4096 Sep 26 14:23 rep<br>
     drwxrwxr-x.  2 xymon nobody  4096 Sep 26 14:23 snap<br>
     drwxr-xr-x.  2 xymon xymon   4096 Sep 26 14:23 wml<br>
     -rw-r--r--.  1 xymon xymon  11317 Sep 26 16:48 xymon.html<br>
</blockquote>
<br>
This indicates that xymon is working okay (or, more specifically, that xymongen executed and was able to write these *.html files at least once).<br>
<br>
You should be able to validate that xymond is running by looking at the output of 'ps axfww' on your machine.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
on the browser, type: 172.20.10.5<br>
------------------------------<wbr>---<br>
Forbidden<br>
<br>
You don't have permission to access / on this server.<br>
<br>
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.<br>
Apache/2.2.15 (CentOS) Server at 172.20.10.5 Port 80<br>
</blockquote>
<br>
This, combined with the ls listings above, would seem to indicate that there's some confusion on where xymon is configured to output its www files vs where the xymon.conf file in /etc/httpd/conf.d/ has the ServerRoot pointed to. Typically this is handled with an "Alias /xymon" line, but it can be configured wherever you'd like as long as the $XYMONSERVERWWWURL variable in xymonserver.cfg is set to the same.<br>
<br>
I think all you may need to do is set XYMONWWWDIR=/var/www/html and XYMONSERVERWWWURL=/ in xymonserver.cfg and restart the service, assuming that you want xymon's display to live at the root of your web directory.<br>
<br>
You'll also want to check the apache error logs for more details (they'll be in /var/log/httpd/).<br>
<br>
<br>
HTH,<br>
-jc<br>
______________________________<wbr>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman<wbr>/listinfo/xymon</a><br>
</blockquote></div></div>