[Xymon] Xymon not showing up hosts in the html web page

Gregoire, William William.Gregoire at ca.ebarrette.com
Mon Nov 12 19:45:46 CET 2018


Ok,

Here is my updated hosts.cfg

#
# Master configuration file for Xymon
#
# This file defines several things:
#
# 1) By adding hosts to this file, you define hosts that are monitored by Xymon
# 2) By adding "page", "subpage", "group" definitions, you define the layout
#    of the Xymon webpages, and how hosts are divided among the various webpages
#    that Xymon generates.
# 3) Several other definitions can be done for each host, see the hosts.cfg(5)
#    man-page.
#
# You need to define at least the Xymon server itself here.

#0.0.0.0        .default.       # NOPROPRED:+apt,+libs

#group Servers
127.0.0.1       chas-mon01      # bbd http://chas-mon01/

#group Dialup
0.0.0.0 notebook.bla.net # noconn dialup

#chapais
include ./cha/hosts.cfg




Now I see the notebook.bla.net in my xymon page, as you can see in the attached file.


De : Josh Luthman [mailto:josh at imaginenetworksllc.com]
Envoyé : 12 novembre 2018 13:39
À : Gregoire, William
Cc : xymon at xymon.com
Objet : Re: [Xymon] Xymon not showing up hosts in the html web page

You have notebook.bla.net<http://notebook.bla.net> commented out.  Stop that.

#group Dialup

0.0.0.0        notebook.bla.net<http://notebook.bla.net> # noconn dialup



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

On Mon, Nov 12, 2018 at 1:37 PM, Gregoire, William <William.Gregoire at ca.ebarrette.com<mailto:William.Gregoire at ca.ebarrette.com>> wrote:
For the instalation i dont know the difference between package and compiling it. But i just downloade dit from sourceforge, extracted the zip file, and i ran the ‘’./configure’’ command, after that i did ‘’sudo make’’ , then ‘sudo make install’’.

Here is my host.cfg from /etc/xymon/hosts.cfg

#
# Master configuration file for Xymon
#
# This file defines several things:
#
# 1) By adding hosts to this file, you define hosts that are monitored by Xymon
# 2) By adding "page", "subpage", "group" definitions, you define the layout
#    of the Xymon webpages, and how hosts are divided among the various webpages
#    that Xymon generates.
# 3) Several other definitions can be done for each host, see the hosts.cfg(5)
#    man-page.
#
# You need to define at least the Xymon server itself here.

#0.0.0.0        .default.       # NOPROPRED:+apt,+libs

#group Servers
127.0.0.1       chas-mon01      # bbd http://chas-mon01/

#group Dialup
#0.0.0.0        notebook.bla.net<http://notebook.bla.net> # noconn dialup

#chapais
include ./cha/hosts.cfg



In case you want to see the other file, here it is, for the /usr/lib/xymon/server/etc/hosts.cfg

#
# Master configuration file for Xymon
#
# This file defines several things:
#
# 1) By adding hosts to this file, you define hosts that are monitored by Xymon
# 2) By adding "page", "subpage", "group" definitions, you define the layout
#    of the Xymon webpages, and how hosts are divided among the various webpages
#    that Xymon generates.
# 3) Several other definitions can be done for each host, see the hosts.cfg(5)
#    man-page.
#
# You need to define at least the Xymon server itself here.

127.0.0.1   chas-mon01      # bbd http://chas-mon01/


include /etc/xymon/hosts.cfg





I did a reboot of the server, and now for some reason, the xymon is showing my server twice on the monitoring ? You can see the attached file.


De : Josh Luthman [mailto:josh at imaginenetworksllc.com<mailto:josh at imaginenetworksllc.com>]
Envoyé : 12 novembre 2018 11:05
À : Gregoire, William
Cc : xymon at xymon.com<mailto:xymon at xymon.com>
Objet : Re: [Xymon] Xymon not showing up hosts in the html web page

What does /etc/xymon/hosts.cfg look like?  Share that config here.

Did you install from a package or compile it?


Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St<https://maps.google.com/?q=1100+Wayne+St+%0D%0ASuite+1337+%0D%0ATroy,+OH+45373&entry=gmail&source=g>
Suite 1337
Troy, OH 45373

On Mon, Nov 12, 2018 at 11:03 AM, Gregoire, William <William.Gregoire at ca.ebarrette.com<mailto:William.Gregoire at ca.ebarrette.com>> wrote:
Hello,

I have been working on a situation with my xymon server for over a week, I cant find the solution. For some reason I am unable to see the hosts I add in my hosts.cfg file on the main webpage of xymon.

I have 2 location on my server where hosts files are.


1-      /usr/lib/xymon/server/etc/hosts.cfg

2-      /etc/xymon/hosts.cfg

Whaterver i do in those 2 hosts files, nothing happen.

I added a screenshot to this email so you can see what my home page looks like.

If you have any suggestion regarding this situation, thanks in advance.






_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto: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/20181112/9227bada/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main xymon page.png
Type: image/png
Size: 36673 bytes
Desc: Main xymon page.png
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181112/9227bada/attachment.png>


More information about the Xymon mailing list