Crates.io | allup |
lib.rs | allup |
version | 0.1.1 |
source | src |
created_at | 2024-02-29 07:02:19.022569 |
updated_at | 2024-04-20 07:40:22.860335 |
description | A CLI to check that all (configured) services are currently up |
homepage | |
repository | https://github.com/jcornaz/allup |
max_upload_size | |
id | 1157457 |
size | 49,916 |
A CLI to check that all (configured) services are currently up
Write a toml
file listing all services you care about.
Example:
[[endpoints]]
name = "Google"
url = "https://google.com"
[[endpoints]]
name = "Github"
url = "https://github.com"
[[endpoints]]
name = "Rust docs"
url = "https://docs.rs"
allup $FILE
will probe each url (concurrently) and print the status.
It does not fail early if one URL fail (but it does return an error if there was any failure).
The output may look something like this:
Google: UNREACHABLE
Github: OK (175 ms)
Rust docs: OK (580 ms)
Note It is also possible to get the output as JSON.
cargo install allup --locked
I made this project for my personal use. I'll be happy if it can be useful to anyone else, but there are a few things to keep in mind:
That being said, I also welcome suggestions and contributions.
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to http://unlicense.org/