Awesome! Thank you! So I did those changes and now it is only the tests I need that are showing up. However, what you mentioned at the end:
"The latter entries are there just for display purposes. The columns "info" and "trends" are included by default. Those columns are specific to the host and _not_ to the page. This means clicking on "info" on page L1 is exactly the same as clicking on the link on page L2 or L3."
This is an issue. I'm hoping to be able to set it up so that when I click on info for TEST1, it will only show testing1, instead of all three tests. This is so that when I'm on the main view, I can see whether or not individual systems on the same host are up and running, without all three turning red when only one is failing.
On Wed, Jul 20, 2016 at 9:48 AM, John Thurston <john.thurston at alaska.gov> wrote:
On 7/20/2016 7:19 AM, Joshua Hunt wrote:
This set up does run all my custom tests properly, however, each setup for "site.address.domain" runs /all three custom scripts, /(testing1 testing 2 & testing3),
Are the scripts actually *running* three times?
I believe Xymon builds a list of hosts, and then builds a list of tests for each host. It then performs the tests defined for each host. I'd expect your configuration to run each test once for the host, display all three columns/tests on each page, and show all three test results on the host's "info" page.
If what you want is a single test to appear on each page, then I suggest something like this in your hosts.cfg:
#################### page L1 TEST1 group-only testing1 10.0.0.1 site.address.domain # prefer noping testip testing1
testing2 testing3page L2 TEST2 group-only testing2 0.0.0.0 site.address.domain #
page L3 TEST3 group-only testing3 0.0.0.0 site.address.domain # ##########################
The first defines the host, its IP, and all of its network tests. The slash on the end is to handle the short lines of my email client. It signifies a continuation of the line onto the next. You could split the line, or just make it very long.
The latter entries are there just for display purposes. The columns "info" and "trends" are included by default. Those columns are specific to the host and _not_ to the page. This means clicking on "info" on page L1 is exactly the same as clicking on the link on page L2 or L3.
-- Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Enterprise Technology Services Department of Administration State of Alaska
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon