diff --git a/.gitignore b/.gitignore index 74db647..aea6122 100644 --- a/.gitignore +++ b/.gitignore @@ -199,3 +199,4 @@ yarn-debug.log* !/storage/.keep /public/uploads +README.html diff --git a/README.adoc b/README.adoc index 3a03a4d..31ac405 100644 --- a/README.adoc +++ b/README.adoc @@ -1,5 +1,6 @@ ssh_blackbox_exporter ===================== +:source-highlighter: coderay Tries to connect to ssh and fetches informations about the connections, ciphers, keys/certs. Like blackbox_exporter, but with more ssh-related informations. @@ -9,7 +10,9 @@ Installation The dependencies can be installed by bundler: - $ bundle install +.... +$ bundle install +.... TODO: The systemd-service-file @@ -29,12 +32,19 @@ Additional to provide the metrics for prometheus, this tool provides some manual You can check a host without starting the server by using: - ./probe.rb user@remotehost +.... +$ ./probe.rb user@remotehost +.... If you are not able to login via IdentityFile, it will fail, but you would get some informations about the server: ----- +.... $ ./probe.rb user@remotehost +[...debug...] +.... + +[source,yaml] +---- --- start: '2022-03-16 21:02:19 +0100' status: pid 291884 exit 255 @@ -75,6 +85,7 @@ It's possible to print the metrics without starting a server: For starting server, use `puma`: +[source,sh] ---- $ puma -eproduction ----