curl --location --request PUT 'https://api.flashcat.cloud/api/n9e-plus/collect-tpl/' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjdjMGM4YmQyLTExOTYtNDlmYS04YzY0LWE0NDE2ODQ4NTUzYSIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTc0OTg4ODQ4MCwidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9._S1Isb29viOhHyVrjbwIUjPZnNQXewmb4zftVeqbFpA' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"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
}'