Page 1 of 1

start all monitors api

Posted: Tue Aug 19, 2025 7:47 pm
by zemerdon

Code: Select all

curl -XPOST http://192.168.1.13/zm/api/monitors/1.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/2.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/3.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/4.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/5.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/6.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/7.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/8.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/9.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/10.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/11.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/12.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"
curl -XPOST http://192.168.1.13/zm/api/monitors/14.json -d "Monitor[Function]=Modect&Monitor[Enabled]=1"