code-highlighting
This commit is contained in:
parent
552aa61a16
commit
18ba590bde
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -199,3 +199,4 @@ yarn-debug.log*
|
||||||
!/storage/.keep
|
!/storage/.keep
|
||||||
/public/uploads
|
/public/uploads
|
||||||
|
|
||||||
|
README.html
|
||||||
|
|
15
README.adoc
15
README.adoc
|
@ -1,5 +1,6 @@
|
||||||
ssh_blackbox_exporter
|
ssh_blackbox_exporter
|
||||||
=====================
|
=====================
|
||||||
|
:source-highlighter: coderay
|
||||||
|
|
||||||
Tries to connect to ssh and fetches informations about the connections, ciphers, keys/certs.
|
Tries to connect to ssh and fetches informations about the connections, ciphers, keys/certs.
|
||||||
Like blackbox_exporter, but with more ssh-related informations.
|
Like blackbox_exporter, but with more ssh-related informations.
|
||||||
|
@ -9,7 +10,9 @@ Installation
|
||||||
|
|
||||||
The dependencies can be installed by bundler:
|
The dependencies can be installed by bundler:
|
||||||
|
|
||||||
|
....
|
||||||
$ bundle install
|
$ bundle install
|
||||||
|
....
|
||||||
|
|
||||||
TODO: The systemd-service-file
|
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:
|
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:
|
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
|
$ ./probe.rb user@remotehost
|
||||||
|
[...debug...]
|
||||||
|
....
|
||||||
|
|
||||||
|
[source,yaml]
|
||||||
|
----
|
||||||
---
|
---
|
||||||
start: '2022-03-16 21:02:19 +0100'
|
start: '2022-03-16 21:02:19 +0100'
|
||||||
status: pid 291884 exit 255
|
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`:
|
For starting server, use `puma`:
|
||||||
|
|
||||||
|
[source,sh]
|
||||||
----
|
----
|
||||||
$ puma -eproduction
|
$ puma -eproduction
|
||||||
----
|
----
|
||||||
|
|
Loading…
Reference in a new issue