Update run.sh to run container in detached mode with restart policy and add example script for mac-monitor API
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
curl -k -X POST "https://127.0.0.1:8443/mac-monitor" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{
|
||||||
|
"host": "10.10.0.1",
|
||||||
|
"username": "ZabbixROT2c",
|
||||||
|
"password": "xxxxxxxxxx",
|
||||||
|
"port": 22,
|
||||||
|
"timeout": 30
|
||||||
|
}'
|
||||||
Reference in New Issue
Block a user