You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ shasum -a 256 tob-1.1.0.darwin-amd64.tar.gz -c sha256sums.txt
61
-
tob-1.1.0.darwin-amd64.tar.gz: OK
60
+
$ shasum -a 256 tob-1.2.0.darwin-amd64.tar.gz -c sha256sums.txt
61
+
tob-1.2.0.darwin-amd64.tar.gz: OK
62
62
```
63
63
64
-
You should be able to see that the checksum value for the file is valid, `tob-1.1.0.linux-amd64.tar.gz: OK` and `tob-1.1.0.darwin-amd64.tar.gz: OK`.
64
+
You should be able to see that the checksum value for the file is valid, `tob-1.2.0.linux-amd64.tar.gz: OK` and `tob-1.2.0.darwin-amd64.tar.gz: OK`.
65
65
Indicates the file is not damaged, not modified and safe to use.
66
66
67
67
#### Extract
68
68
69
69
```shell
70
-
$ tar -xvzf tob-1.1.0.linux-amd64.tar.gz
70
+
$ tar -xvzf tob-1.2.0.linux-amd64.tar.gz
71
71
```
72
72
73
73
#### Run
@@ -111,6 +111,7 @@ currently tob supports below `KIND` of services
111
111
-**postgresql**
112
112
-**redis**
113
113
-**web**
114
+
-**diskstatus**
114
115
115
116
`KIND` represents one or many services. So you can monitor more than one service with the same `KIND`. For example, you can monitor multiple PostgreSQL instances. Or you can monitor multiple web applications.
116
117
@@ -150,6 +151,108 @@ currently tob supports below `KIND` of services
150
151
}
151
152
```
152
153
154
+
### Disk Status Monitoring
155
+
156
+
To monitor `Disk Status` on a Server Computer, `tob` requires a special `agent` that can be called by `tob`.
157
+
So we need to deploy an `agent`, in this case `tob-http-agent` to the Server Computer whose `Disk Status` we need to monitor.
#### Important !!!, always check the SHA256 Checksum before using it
166
+
167
+
Download `tob-http-agent-sha256sums.txt` according to the binary version you downloaded https://github.com/telkomdev/tob/releases/download/1.2.0/tob-http-agent-sha256sums.txt
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
236
+
nginx: configuration file /etc/nginx/nginx.conf test is successful
237
+
```
238
+
239
+
Restart `nginx`
240
+
```shell
241
+
$ sudo systemctl restart nginx
242
+
```
243
+
244
+
#### Add `diskstatus` config to the `tob` service config
245
+
246
+
```json
247
+
"ubuntu_1_storage_status": {
248
+
"kind": "diskstatus",
249
+
"url": "http://tob-http-agent.yourdomain.com",
250
+
"checkInterval": 5,
251
+
"thresholdDiskUsage": 90,
252
+
"enable": true
253
+
}
254
+
```
255
+
153
256
### Notificator
154
257
155
258
Currently tob supports the following types of `Notificator`. `Notificator` is where the tob will send notifications when one or more of the services you're monitoring have problems.
0 commit comments