wassail 0.1.0
|
wassail is a set of C++ building blocks to check the health of UNIX-based systems. Python bindings are also included.
The library is based on the observation that high performance computing sites tend to create their own custom local health tools. The user interfaces vary widely but the health checks themselves are universal. wassail provides highly customizable "low level" building blocks for creating bespoke user level system health tools.
Check whether the value of the environment variable FOO
is equal to bar
:
The three categories of building blocks are shown in this example.
wassail::data
namespace. Data sources are not queried when the object is initialized but rather when the evaluate()
method is invoked (the data is cached).wassail::check
namespace as well as flexible generic checks. The reference value could be hard-coded or user configurable via the user interface of the user level system health tool.<<
operator can be overloaded. The message strings can also be customized by specifying alternative templates when constructing the check.The equivalent example to check the value of the environment variable FOO
using the Python binding:
Several C++ and Python samples are included.
A C++14 compiler is required (C++17 preferred). See [INSTALL](INSTALL).
wassail is distributed under the [Mozilla Public License 2.0](LICENSE).
Copyright © 2018-2020 Scott McMillan
wassail incorporates the following third party software.
wassail originates from the Middle English "wæs hæil", or "be in good health". May your system be in good health!
Here we come a-wassailing
Among the leaves so green
Here we come a-wand'ring
So fair to be seen
Love and joy come to you,
And to you your wassail too;
And God bless you and send you a Happy New Year
And God send you a Happy New Year