123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464 |
- {
- "ApiSpecs": [
- {
- "HttpVerb": "GET",
- "Path": "/api/v1/template/178",
- "Calls": [
- {
- "Id": 0,
- "CurrentPath": "/api/v1/template/178",
- "MethodType": "GET",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "",
- "ResponseBody": "{}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "GET",
- "Path": "/api/v1/user/auth_session",
- "Calls": [
- {
- "Id": 1,
- "CurrentPath": "/api/v1/user/auth_session",
- "MethodType": "GET",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "",
- "ResponseBody": "{\"message\":\"session is vaild!\"}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "GET",
- "Path": "/api/v1/template",
- "Calls": [
- {
- "Id": 2,
- "CurrentPath": "/api/v1/template",
- "MethodType": "GET",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "",
- "ResponseBody": "[{\"id\":1,\"tpl_name\":\"cpu.board\",\"parent_id\":0,\"action_id\":5,\"create_user\":\"usera\"},{\"id\":2,\"tpl_name\":\"traffic checking\",\"parent_id\":0,\"action_id\":6,\"create_user\":\"userb\"},{\"id\":3,\"tpl_name\":\"cputest\",\"parent_id\":0,\"action_id\":7,\"create_user\":\"userc\"},{\"id\":5,\"tpl_name\":\"all metrics base\",\"parent_id\":0,\"action_id\":12,\"create_user\":\"root\"}]",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "POST",
- "Path": "/api/v1/template",
- "Calls": [
- {
- "Id": 3,
- "CurrentPath": "/api/v1/template",
- "MethodType": "POST",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "Content-Type": " application/json\r",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": "{\"action\":{\"id\":141,\"uic\":\"admin,mm1\",\"url\":\"\",\"callback\":0,\"before_callback_sms\":0,\"before_callback_mail\":0,\"after_callback_sms\":0,\"after_callback_mail\":0},\"stratges\":[{\"id\":686,\"metric\":\"xxx.check\",\"tags\":\"name=xxx\",\"max_step\":3,\"priority\":2,\"func\":\"all(#2)\",\"op\":\"<\",\"right_value\":\"1\",\"note\":\"xxx服务异常\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":178},{\"id\":687,\"metric\":\"xxx.sync\",\"tags\":\"\",\"max_step\":3,\"priority\":2,\"func\":\"all(#3)\",\"op\":\"!=\",\"right_value\":\"0\",\"note\":\"XXX同步异常\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":178},{\"id\":688,\"metric\":\"bbb.check.mq\",\"tags\":\"\",\"max_step\":3,\"priority\":2,\"func\":\"all(#3)\",\"op\":\"==\",\"right_value\":\"1\",\"note\":\"bbb连接MQ异常\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":178},{\"id\":793,\"metric\":\"aaa.proc.num\",\"tags\":\"\",\"max_step\":3,\"priority\":2,\"func\":\"all(#3)\",\"op\":\"==\",\"right_value\":\"1\",\"note\":\"aaaa 进程大于5\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":178}],\"template\":{\"id\":178,\"tpl_name\":\"TemplateA\",\"parent_id\":0,\"action_id\":141,\"create_user\":\"root\"}}",
- "RequestBody": "{\"parent_id\":0,\"name\":\"AtmpForTesting\"}",
- "ResponseBody": "{\"message\":\"template created\"}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "POST",
- "Path": "/api/v1/template/action",
- "Calls": [
- {
- "Id": 4,
- "CurrentPath": "/api/v1/template/action",
- "MethodType": "POST",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "Content-Type": " application/json\r",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "{\"url\":\"\",\"uic\":\"test,tt2\",\"tpl_id\":225,\"callback\":1,\"before_callback_sms\":0,\"before_callback_mail\":0,\"after_callback_sms\":0,\"after_callback_mail\":0}",
- "ResponseBody": "{\"message\":\"action is created and bind to template: 225\"}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "PUT",
- "Path": "/api/v1/template",
- "Calls": [
- {
- "Id": 5,
- "CurrentPath": "/api/v1/template",
- "MethodType": "PUT",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "Content-Type": " application/json\r",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "{\"tpl_id\":225,\"parent_id\":0,\"name\":\"AtmpForTesting2\"}",
- "ResponseBody": "{\"message\":\"template updated\"}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "PUT",
- "Path": "/api/v1/template/action",
- "Calls": [
- {
- "Id": 6,
- "CurrentPath": "/api/v1/template/action",
- "MethodType": "PUT",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "Content-Type": " application/json\r",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "{\"url\":\"\",\"uic\":\"test,tt2,tt3\",\"id\":175,\"callback\":1,\"before_callback_sms\":0,\"before_callback_mail\":0,\"after_callback_sms\":0,\"after_callback_mail\":0}",
- "ResponseBody": "{\"message\":\"action is updated, row affected: 1\"}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "DELETE",
- "Path": "/api/v1/template/225",
- "Calls": [
- {
- "Id": 7,
- "CurrentPath": "/api/v1/template/225",
- "MethodType": "DELETE",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "",
- "ResponseBody": "{\"message\":\"template 225 has been deleted\"}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "GET",
- "Path": "/api/v1/strategy",
- "Calls": [
- {
- "Id": 8,
- "CurrentPath": "/api/v1/strategy",
- "MethodType": "GET",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {
- "tid": "221"
- },
- "RequestBody": "",
- "ResponseBody": "[{\"id\":893,\"metric\":\"proc.num\",\"tags\":\"name=redis-server\",\"max_step\":3,\"priority\":2,\"func\":\"all(#2)\",\"op\":\"\\u003c\",\"right_value\":\"1\",\"note\":\"FWRedis服务异常\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":221},{\"id\":894,\"metric\":\"proc.num\",\"tags\":\"name=beam.smp\",\"max_step\":3,\"priority\":2,\"func\":\"all(#3)\",\"op\":\"\\u003c\",\"right_value\":\"1\",\"note\":\"FWCM进程状态异常\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":221},{\"id\":895,\"metric\":\"proc.num\",\"tags\":\"cmdline=fwlog\",\"max_step\":3,\"priority\":3,\"func\":\"all(#5)\",\"op\":\"\\u003c\",\"right_value\":\"2\",\"note\":\"fwlog服务异常\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":221},{\"id\":896,\"metric\":\"fcd.oldworker.count\",\"tags\":\"\",\"max_step\":3,\"priority\":3,\"func\":\"all(#1)\",\"op\":\"\\u003e\",\"right_value\":\"10\",\"note\":\"FastCache Old Worker 数量大于10\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":221},{\"id\":897,\"metric\":\"service.logs.jifei\",\"tags\":\"\",\"max_step\":1,\"priority\":4,\"func\":\"all(#3)\",\"op\":\"\\u003e\",\"right_value\":\"10\",\"note\":\"fastcache计费日志堆积\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":221},{\"id\":898,\"metric\":\"proc.num\",\"tags\":\"cmdline=syslog\",\"max_step\":3,\"priority\":4,\"func\":\"all(#1)\",\"op\":\"\\u003c\",\"right_value\":\"1\",\"note\":\"syslog/rsyslog服务异常\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":221},{\"id\":899,\"metric\":\"proc.num\",\"tags\":\"name=fwsa2d\",\"max_step\":3,\"priority\":2,\"func\":\"all(#2)\",\"op\":\"\\u003c\",\"right_value\":\"1\",\"note\":\"FWSA2服务异常\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":221},{\"id\":900,\"metric\":\"redis.log.null\",\"tags\":\"\",\"max_step\":3,\"priority\":2,\"func\":\"all(#3)\",\"op\":\"!=\",\"right_value\":\"0\",\"note\":\"FWRedis同步异常\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":221},{\"id\":901,\"metric\":\"check.fwsa2\",\"tags\":\"\",\"max_step\":3,\"priority\":2,\"func\":\"all(#3)\",\"op\":\"==\",\"right_value\":\"1\",\"note\":\"Fwsa2连接MQ异常\",\"run_begin\":\"\",\"run_end\":\"\",\"tpl_id\":221}]",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "POST",
- "Path": "/api/v1/strategy",
- "Calls": [
- {
- "Id": 9,
- "CurrentPath": "/api/v1/strategy",
- "MethodType": "POST",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "Content-Type": " application/json\r",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "{\"tpl_id\":221,\"tags\":\"\",\"run_end\":\"24:00\",\"run_begin\":\"00:00\",\"right_value\":\"1\",\"priority\":1,\"op\":\"==\",\"note\":\"this is a test\",\"metric\":\"agent.alive\",\"max_step\":3,\"func\":\"all(#3)\"}",
- "ResponseBody": "{\"message\":\"stragtegy created\"}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "GET",
- "Path": "/api/v1/strategy/904",
- "Calls": [
- {
- "Id": 10,
- "CurrentPath": "/api/v1/strategy/904",
- "MethodType": "GET",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "",
- "ResponseBody": "{\"id\":904,\"metric\":\"agent.alive\",\"tags\":\"\",\"max_step\":3,\"priority\":1,\"func\":\"all(#3)\",\"op\":\"==\",\"right_value\":\"1\",\"note\":\"this is a test\",\"run_begin\":\"00:00\",\"run_end\":\"24:00\",\"tpl_id\":221}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "PUT",
- "Path": "/api/v1/strategy",
- "Calls": [
- {
- "Id": 11,
- "CurrentPath": "/api/v1/strategy",
- "MethodType": "PUT",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "Content-Type": " application/json\r",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "{\"tags\":\"\",\"run_end\":\"\",\"run_begin\":\"\",\"right_value\":\"1\",\"priority\":2,\"op\":\"==\",\"note\":\"this is a test\",\"metric\":\"agent.alive\",\"max_step\":3,\"id\":904,\"func\":\"all(#3)\"}",
- "ResponseBody": "{\"message\":\"stragtegy:904 has been updated\"}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "DELETE",
- "Path": "/api/v1/strategy/904",
- "Calls": [
- {
- "Id": 12,
- "CurrentPath": "/api/v1/strategy/904",
- "MethodType": "DELETE",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "",
- "ResponseBody": "{\"message\":\"strategy:904 has been deleted\"}",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "GET",
- "Path": "/api/v1/metric/default_list",
- "Calls": [
- {
- "Id": 13,
- "CurrentPath": "/api/v1/metric/default_list",
- "MethodType": "GET",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {},
- "RequestBody": "",
- "ResponseBody": "[\"cpu.busy\",\"cpu.cnt\",\"cpu.guest\",\"cpu.idle\",\"cpu.iowait\",\"cpu.irq\",\"cpu.nice\",\"cpu.softirq\",\"cpu.steal\",\"cpu.system\",\"cpu.user\",\"df.bytes.free\",\"df.bytes.free.percent\",\"df.bytes.total\",\"df.bytes.used\",\"df.bytes.used.percent\",\"df.inodes.free\",\"df.inodes.free.percent\",\"df.inodes.total\",\"df.inodes.used\",\"df.inodes.used.percent\",\"disk.io.avgqu-sz\",\"disk.io.avgrq_sz\",\"disk.io.await\",\"disk.io.ios_in_progress\",\"disk.io.msec_read\",\"disk.io.msec_total\",\"disk.io.msec_weighted_total\",\"disk.io.msec_write\",\"disk.io.read_bytes\",\"disk.io.read_merged\",\"disk.io.read_requests\",\"disk.io.read_sectors\",\"disk.io.svctm\",\"disk.io.util\",\"disk.io.write_bytes\",\"disk.io.write_merged\",\"disk.io.write_requests\",\"disk.io.write_sectors\",\"kernel.maxfiles\",\"kernel.maxproc\",\"load.15min\",\"load.1min\",\"load.5min\",\"mem.memfree\",\"mem.memfree.percent\",\"mem.memtotal\",\"mem.memused\",\"mem.memused.percent\",\"mem.swapfree\",\"mem.swapfree.percent\",\"mem.swaptotal\",\"mem.swapused\",\"mem.swapused.percent\",\"net.if.in.bytes\",\"net.if.in.compressed\",\"net.if.in.dropped\",\"net.if.in.errors\",\"net.if.in.fifo.errs\",\"net.if.in.frame.errs\",\"net.if.in.multicast\",\"net.if.in.packets\",\"net.if.out.bytes\",\"net.if.out.carrier.errs\",\"net.if.out.collisions\",\"net.if.out.compressed\",\"net.if.out.dropped\",\"net.if.out.errors\",\"net.if.out.fifo.errs\",\"net.if.out.packets\",\"net.if.total.bytes\",\"net.if.total.dropped\",\"net.if.total.errors\",\"net.if.total.packets\",\"net.port.listen\",\"proc.num\",\"\"]",
- "ResponseCode": 200
- }
- ]
- },
- {
- "HttpVerb": "GET",
- "Path": "/api/v1/template_simple",
- "Calls": [
- {
- "Id": 0,
- "CurrentPath": "/api/v1/template_simple",
- "MethodType": "GET",
- "PostForm": null,
- "RequestHeader": {
- "Apitoken": "{\"name\":\"root\",\"sig\":\"427d6803b78311e68afd0242ac130006\"}",
- "X-Forwarded-For": " 127.0.0.1\r"
- },
- "CommonRequestHeaders": null,
- "ResponseHeader": {
- "Access-Control-Allow-Credentials": "true",
- "Access-Control-Allow-Headers": "Content-Type, Content-Length, Apitoken",
- "Access-Control-Allow-Methods": "POST, GET, OPTIONS, PUT, DELETE, UPDATE",
- "Access-Control-Allow-Origin": "*",
- "Access-Control-Expose-Headers": "Content-Length",
- "Access-Control-Max-Age": "86400",
- "Content-Type": "application/json; charset=utf-8"
- },
- "RequestUrlParams": {
- "q": "a"
- },
- "RequestBody": "",
- "ResponseBody": "[{\"id\":63,\"tpl_name\":\"AllCacheServer\",\"parent_id\":0,\"action_id\":0,\"create_user\":\"\"},{\"id\":53,\"tpl_name\":\"arch2_monitor\",\"parent_id\":0,\"action_id\":0,\"create_user\":\"\"},{\"id\":220,\"tpl_name\":\"Bandwidth_trends\",\"parent_id\":0,\"action_id\":0,\"create_user\":\"\"},{\"id\":42,\"tpl_name\":\"basic\",\"parent_id\":0,\"action_id\":0,\"create_user\":\"\"},{\"id\":149,\"tpl_name\":\"bossapi\",\"parent_id\":0,\"action_id\":0,\"create_user\":\"\"}]",
- "ResponseCode": 200
- }
- ]
- }
- ]
- }
|