[Xymon] First time installed, and set up xymon, failed, NEED helps please.

Josh Luthman josh at imaginenetworksllc.com
Tue Sep 26 23:49:43 CEST 2017


I'm not seeing the httpd config, did you check that?

Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

On Sep 26, 2017 5:43 PM, "Japheth Cleaver" <cleaver at terabithia.org> wrote:

> On 9/26/2017 1:57 PM, Kern Doe wrote:
>
>> Hello,
>> 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.
>> Kern --
>>
>
> Hi Kern,
>
> No worries. Lists are here to help.
>
>
>> Followings are what I've done:
>> 1) my virtual Centos Linux (6.5)
>>      hostname: centos_hp0
>>      hostname -i: 172.20.10.5
>>
>
> 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.
>
>
> *snip*
>
>> ls -alt /var/www/html
>> ---------------------
>>      total 12
>>      drwxr-xr-x. 2 root root 4096 Sep 26 16:45 .
>>      lrwxrwxrwx. 1 root root   33 Sep 26 16:45 index.html ->
>> /home/xymon/server/www/xymon.html
>>
>>          ** do I need to modify this file?
>>
>
> 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?
>
>
>
>> xmon's index.html:
>> -----------------
>> ls -al /home/xymon/server/www
>>      total 92
>>      drwxr-xr-x. 10 xymon xymon   4096 Sep 26 16:48 .
>>      drwxr-xr-x.  9 xymon xymon   4096 Sep 26 14:25 ..
>>      -rw-r--r--.  1 xymon xymon   4767 Sep 26 16:48 critical.html
>>      drwxr-xr-x.  2 xymon xymon   4096 Sep 26 14:25 gifs
>>      drwxr-xr-x.  3 xymon xymon   4096 Sep 26 14:25 help
>>      drwxr-xr-x.  2 xymon xymon   4096 Sep 26 14:23 html
>>      lrwxrwxrwx.  1 xymon xymon     10 Sep 26 16:48 index.html ->
>> xymon.html
>>      drwxr-xr-x.  2 xymon xymon   4096 Sep 26 14:25 menu
>>      -rw-r--r--.  1 xymon xymon  20556 Sep 26 16:48 nongreen.html
>>      drwxr-xr-x.  2 xymon xymon   4096 Sep 26 14:23 notes
>>      -rw-r--r--.  1 xymon xymon   6591 Sep 26 16:48 red.html
>>      drwxrwxr-x.  2 xymon nobody  4096 Sep 26 14:23 rep
>>      drwxrwxr-x.  2 xymon nobody  4096 Sep 26 14:23 snap
>>      drwxr-xr-x.  2 xymon xymon   4096 Sep 26 14:23 wml
>>      -rw-r--r--.  1 xymon xymon  11317 Sep 26 16:48 xymon.html
>>
>
> This indicates that xymon is working okay (or, more specifically, that
> xymongen executed and was able to write these *.html files at least once).
>
> You should be able to validate that xymond is running by looking at the
> output of 'ps axfww' on your machine.
>
>
> on the browser, type: 172.20.10.5
>> ---------------------------------
>> Forbidden
>>
>> You don't have permission to access / on this server.
>>
>> Additionally, a 403 Forbidden error was encountered while trying to use
>> an ErrorDocument to handle the request.
>> Apache/2.2.15 (CentOS) Server at 172.20.10.5 Port 80
>>
>
> 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.
>
> 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.
>
> You'll also want to check the apache error logs for more details (they'll
> be in /var/log/httpd/).
>
>
> HTH,
> -jc
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170926/f9ab2aa7/attachment.html>


More information about the Xymon mailing list