checkson 1.1 → 1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +22 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3034c81ee8dcdfd2144f5717ce4aab906401e1073c59e1d0c74c48579d2d36e1
|
4
|
+
data.tar.gz: 639e559b5370aa20637b9f78bfbf81399bc3332035df17e4025308666d384890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a2084ae9a54298000135078937cfdf1036e773ad591caf3377bb49c0e625116a160ddbdcda5a091e56968d8fd98ee7fabe0aae8d47c381540b1ff85cb2aff98
|
7
|
+
data.tar.gz: 5dc0b857a5c2a429eeac127ed8769219682da575f2a8c52cea7bfe67947965ce0572110001e58c33430ffaa4c89c77a1173d8332f202f8b1709e4e572db6de46
|
data/README.md
CHANGED
@@ -1,4 +1,24 @@
|
|
1
1
|
# Checkson
|
2
|
-
[](https://gitlab.fsrv.xyz/fsrv/checkson/commits/master)
|
3
|
-
[](https://badge.fury.io/rb/checkson)
|
4
2
|
|
3
|
+
## Basic information
|
4
|
+
|
5
|
+
Checkson is a simple framework for host and network checking. It supports multiple modules.
|
6
|
+
|
7
|
+
An example config will include multiple blocks, each for a singe test.
|
8
|
+
|
9
|
+
## Example configuration
|
10
|
+
|
11
|
+
```
|
12
|
+
check 'port 61000 is open' do
|
13
|
+
using Shell
|
14
|
+
set :code, %(sockstat -4 | grep \*:61000)
|
15
|
+
help 'Port 61000 is closed'
|
16
|
+
end
|
17
|
+
|
18
|
+
check 'ssh daemon is running' do
|
19
|
+
using Process
|
20
|
+
set :name, 'sshd'
|
21
|
+
help 'Enable and start sshd'
|
22
|
+
end
|
23
|
+
|
24
|
+
```
|