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
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The script will gather information:
19
19
- System Uptime
20
20
- UTC Timestamp
21
21
22
-
The script will produce a JSON output at 5 second intervals for use with any software or server accepting a JSON input.
22
+
The script will produce a JSON output at intervals for use with any software or server accepting a JSON input.
23
23
Example:
24
24
25
25
```json
@@ -80,6 +80,8 @@ The script includes a function to POST JSON to a remote server.
80
80
81
81
This script can be installed on several machines that report to a central monitoring server.
82
82
83
+
The destination, checking interval, sending attempts after failure and timeout between resending attempts can be set through arguments, use `python3 monitor.py -h` for more.
84
+
83
85
## Usage
84
86
85
87
Clone the script with `git clone`.
@@ -126,4 +128,4 @@ A new task will be created that runs the python monitoring script in the backgro
0 commit comments