Thanks Jeremy! This works great on my 4.4alpha installation. I no longer have 4.3.30 installed to test it there.Below is a minor update to make it not add the search function to the nongreen pages.Tom_______________________________________________On Wed, Apr 16, 2025 at 6:59 PM Jeremy Laidman <jeremy@laidman.org> wrote:Courtesy of AI, and after some minor tweaks, the attached javascript will create a host filter on Xymon pages with hosts (wherever the URL location starts with "/xymon/").Either insert the file to your stdnormal_footer file just above &XYMONBODYFOOTER, or create a new file in a suitable location such as /etc/xymon/xymonbodyfooter.html (or append to an existing file if you already use one) and (if it's not already set) update XYMONBODYFOOTER in xymonserver.cfg to point to the file (eg XYMONBODYFOOTER="file:/etc/xymon/xymonbodyfooter.html").Then, wait a few minutes for the pages to re-generate, and then the filter will be available. To toggle the filter on the page, either select the new checkboxed menu item from the Views menu, or type CTRL-SHIFT-F (or CMD-SHIFT-F on a Mac).
J_______________________________________________On Wed, 16 Apr 2025 at 09:39, Jeremy Laidman <jeremy@laidman.org> wrote:You can list a host in more than one page. So if you need to keep all 300 hosts in one page, you can have separate pages with subsets of the hosts.A Javascript add-on to dynamically filter the hosts shouldn't be too hard to put together.JOn Wed, 16 Apr 2025 at 09:15, Ken Connell via Xymon <xymon@xymon.com> wrote:_______________________________________________👍On Tue, Apr 15, 2025 at 2:29 PM Tom Schmidt <tom@4schmidts.com> wrote:Unfortunately, there is not a filtered host display page option. I may look to see if I can create one for Xymon 4.0 as an enhancement.Tom_______________________________________________On Tue, Apr 15, 2025 at 12:16 PM Jaime Kikpole via Xymon <xymon@xymon.com> wrote:_______________________________________________That makes sense. Would using groups (which leave the items on that page, but group them into logical sets of things) be useful?Otherwise, I'm not personally aware of any good solutions for you. There might be one, but I'm not thinking of it.
Jaime Kikpole
Director of Technology
Ichabod Crane Central School District
(518) 758-7575, x5425On Tue, Apr 15, 2025 at 2:14 PM Ken Connell <kconnell@torontomu.ca> wrote:Thanks for the reply.I do have many pages/sub-pages for other things, the issue is, I have some "outside scripts" that grab info off "page-x", so breaking the hosts list up would cause "other issues".On Tue, Apr 15, 2025 at 2:09 PM Jaime Kikpole <jkikpole@ichabodcrane.org> wrote:I don't believe so, but you could break it up into blocks of conceptually related items using groups or pages/subpages if you need the same blocks of stuff on a regular basis. This is done in the hosts.cfg file using page, subpage, subparent, etc. commands or group commands. Check https://xymon.sourceforge.io/xymon/help/manpages/man5/hosts.cfg.5.html for details.
Jaime Kikpole
Director of Technology
Ichabod Crane Central School District
(518) 758-7575, x5425On Tue, Apr 15, 2025 at 1:55 PM Ken Connell via Xymon <xymon@xymon.com> wrote:_______________________________________________I have a page with over 300 hosts, is there a way to just filter hosts that start with "X" ?--
Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com
--
Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com
--
Ken Connell
Senior Network Engineer
Computer & Communication Services
Toronto Metropolitan University (Formerly Ryerson University)
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com