curl --location 'https://api.flashcat.cloud/api/n9e-plus/collect-tpls' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjM2ZTRjZjI3LWI4OWYtNDFlZS04ZDhmLWZiMjdhMmZlZGIzOSIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTc3NTExMTEyMywidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9.IwPWDg92AjjvuUTGplaXgpexmOSsONx73M7Y7pOI_vE' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "sysUptime",
"device_type":"fw",
"brand":"cisco",
"models":["001"],
"note": "监控时间",
"config": "[[instances]]\nagents = [\"{{.Schema}}://{{.IP}}:{{.Port}}\"]\n\n{{.Auth}}\n\n[[instances.field]]\noid = \".1.3.6.1.2.1.1.3.0\"\nname = \"sysUptime\"",
"threshold": {},
"collect_disabled": 1
}'