How do you handle retired servers?
When a server is retured, I really hate to removeit from xymon, but it is annoying to have to preiodically disable the the tests.
How do folks handle this? Do you simply delete them and move on? It seems like that tosses some potentionally useful historical information.
-- Isaac Traxler Storage & Infrastructure Manager High Performance Computing Louisiana State University, LONI 325 Frey Computing Center, Baton Rouge, LA 70803 225-578-1923 | traxler at lsu.edu
If you delete the host from hosts.cfg the history is not destroyed.
If you need to get it back, you could simply use the URLs or add the host to hosts.cfg.
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Wed, Sep 20, 2017 at 10:45 AM, Isaac W Traxler <traxler at lsu.edu> wrote:
When a server is retured, I really hate to removeit from xymon, but it is annoying to have to preiodically disable the the tests.
How do folks handle this? Do you simply delete them and move on? It seems like that tosses some potentionally useful historical information.
-- Isaac Traxler Storage & Infrastructure Manager High Performance Computing Louisiana State University, LONI 325 Frey Computing Center, Baton Rouge, LA 70803 225-578-1923 | traxler at lsu.edu
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On 9/20/2017 6:45 AM, Isaac W Traxler wrote:
When a server is retired, I really hate to remove it from xymon, but it is annoying to have to periodically disable the the tests.
How do folks handle this? Do you simply delete them and move on? It seems like that tosses some potentionally useful historical information.
I have a script which disables server-side tests, suppresses noise from the client, and moves the line from hosts.cfg into 'retired_hosts'. retired_hosts looks like:
title <div style="color:dimgray;">Hosts no longer monitored</div> subparent TOP retired <div style="color:dimgray;">Retired Hosts</div>
title <div style="font-family: sans-serif;">These hosts were retired in:</div>
This default line is important. It prevents noise from escaping.
0.0.0.0 .default. # noconn nonongreen NOPROPRED:* NOPROPYELLOW:* NOPROPPURPLE:* NOPROPACK:*
group-only info 20170913-151622 thurston
0.0.0.0 doaetsjnumobt02.foo.alaska.gov # http://www.foo.alaska.gov/
0.0.0.0 doaetsjnumobt02.foo.alaska.gov #
- etc -
The idea is, 'retired_hosts' defines a new page, under the main page, containing hosts grouped by the date of their retirement. More recently retired hosts are at the top. The group name includes the retirement date and username of the person who retired the host.
There are two lines for each host in the new group. The first line is a commented out copy of the original line from hosts.cfg. The second line is a plain-jane line to eat any post-retirement messages submitted by the client.
Users can now see which hosts are retired, and when they were retired.
I have another script which I use to trim the bottom of 'retired_hosts' and 'drop' associated test results.
-- Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Department of Administration State of Alaska
participants (3)
-
john.thurston@alaska.gov
-
josh@imaginenetworksllc.com
-
traxler@lsu.edu