{"action":"opened","issue":{"url":"https://api.github.com/repos/rpsedlak/zabbix-docker/issues/31","repository_url":"https://api.github.com/repos/rpsedlak/zabbix-docker","labels_url":"https://api.github.com/repos/rpsedlak/zabbix-docker/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/rpsedlak/zabbix-docker/issues/31/comments","events_url":"https://api.github.com/repos/rpsedlak/zabbix-docker/issues/31/events","html_url":"https://github.com/rpsedlak/zabbix-docker/issues/31","id":214311406,"number":31,"title":"Value should be a JSON object.","user":{"login":"andyChenn","id":8891845,"avatar_url":"https://avatars1.githubusercontent.com/u/8891845?v=3","gravatar_id":"","url":"https://api.github.com/users/andyChenn","html_url":"https://github.com/andyChenn","followers_url":"https://api.github.com/users/andyChenn/followers","following_url":"https://api.github.com/users/andyChenn/following{/other_user}","gists_url":"https://api.github.com/users/andyChenn/gists{/gist_id}","starred_url":"https://api.github.com/users/andyChenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyChenn/subscriptions","organizations_url":"https://api.github.com/users/andyChenn/orgs","repos_url":"https://api.github.com/users/andyChenn/repos","events_url":"https://api.github.com/users/andyChenn/events{/privacy}","received_events_url":"https://api.github.com/users/andyChenn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-15T08:01:35Z","updated_at":"2017-03-15T08:01:35Z","closed_at":null,"body":"when it runing, i found a problem like Value should be a JSON object.\r\nthe key is \"docker.discovery\".\r\n\r\nbut i run the zabbix-docker-discover.py then return the result is ::\r\n\r\n{\r\n    \"data\": [\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_elasticsearch-logging.8878d4d1_elasticsearch-logging-v1-t6q2q_kube-system_7b229c21-0934-11e7-a9cb-005056953399_d7828d0a\",\r\n            \"{#ZD_IMAGE}\": \"gcr.io/google-containers/elasticsearch:v2.4.1\",\r\n            \"{#ZD_ID}\": \"2bffaa1eee77\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.72963366_elasticsearch-logging-v1-t6q2q_kube-system_7b229c21-0934-11e7-a9cb-005056953399_bcdb4c39\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"1c38f8363b62\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_fluentd-elasticsearch.6680f463_fluentd-elasticsearch-bhdr0_kube-system_aaa814c2-0932-11e7-a9cb-005056953399_89b1e4a1\",\r\n            \"{#ZD_IMAGE}\": \"gcr.io/google-containers/fluentd-elasticsearch:1.20\",\r\n            \"{#ZD_ID}\": \"8c3033625f37\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.ae8ee9ac_fluentd-elasticsearch-bhdr0_kube-system_aaa814c2-0932-11e7-a9cb-005056953399_fbedc160\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"d53c7fe8c219\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_saas-customer.4073ca31_saas-customer-7vhoo_saas_ce1b4fa1-091a-11e7-a9cb-005056953399_72158ef8\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/saas-customer:0.10.1\",\r\n            \"{#ZD_ID}\": \"49afe5e4ae89\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.24f70ba9_saas-customer-7vhoo_saas_ce1b4fa1-091a-11e7-a9cb-005056953399_015de107\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"786448301d39\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_saas-settings.38d7ca2f_saas-settings-i0zca_saas_11be1ce7-f74b-11e6-909c-005056953399_0ebc5054\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/saas-settings:0.10.2\",\r\n            \"{#ZD_ID}\": \"48064ad250aa\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.24f70ba9_saas-settings-i0zca_saas_11be1ce7-f74b-11e6-909c-005056953399_6e5c97cf\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"dbcc937a39b0\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_saasclient.b7d7e8ac_saasclient-tsei1_saas_ae8a06cd-058d-11e7-909c-005056953399_eca19b1f\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/saasclient:0.10.7\",\r\n            \"{#ZD_ID}\": \"590c6b44de86\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_saas-contact-history.b9f4d2bf_saas-contact-history-xe2g2_saas_1184aa0e-f74b-11e6-909c-005056953399_2eff55ef\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/saas-contact-history:0.10.3.3\",\r\n            \"{#ZD_ID}\": \"5582d1be21e8\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_redis.c9a30fbb_redis-6yui2_default_e7c17e81-d7d8-11e6-909c-005056953399_845bd7c0\",\r\n            \"{#ZD_IMAGE}\": \"redis:3.2.0-alpine\",\r\n            \"{#ZD_ID}\": \"a69442c4fe07\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_ces.3c1bd515_ces-0rtgx_ces_62616e2e-dbcf-11e6-909c-005056953399_185b57ca\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/ces-proxy\",\r\n            \"{#ZD_ID}\": \"8a38af7f89c9\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.24f70ba9_saas-contact-history-xe2g2_saas_1184aa0e-f74b-11e6-909c-005056953399_d960080a\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"1b3b635f5cc2\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.24f70ba9_saasclient-tsei1_saas_ae8a06cd-058d-11e7-909c-005056953399_7fe7fa21\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"cc22a378c9f2\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_ivr.26c0999b_ivr-scpir_ces_bfffe2fd-d3c3-11e6-909c-005056953399_503e48fd\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/ivr-web\",\r\n            \"{#ZD_ID}\": \"7996e214bf06\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.21290ba7_ces-0rtgx_ces_62616e2e-dbcf-11e6-909c-005056953399_11f61ce8\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"4f24d190ebf4\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.10ef0dc9_redis-6yui2_default_e7c17e81-d7d8-11e6-909c-005056953399_fad3b1cc\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"e5b15ca966ad\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.24f70ba9_ivr-scpir_ces_bfffe2fd-d3c3-11e6-909c-005056953399_cbc11d2f\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"4941ed91d438\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_saas-settings.38d7ca2f_saas-settings-i0zca_saas_11be1ce7-f74b-11e6-909c-005056953399_44105ec5\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/saas-settings:0.10.2\",\r\n            \"{#ZD_ID}\": \"63946569b3c1\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.24f70ba9_saas-settings-i0zca_saas_11be1ce7-f74b-11e6-909c-005056953399_02848409\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"643a4370a540\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_saasclient.b7d7e8ac_saasclient-tsei1_saas_ae8a06cd-058d-11e7-909c-005056953399_7c9d251a\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/saasclient:0.10.7\",\r\n            \"{#ZD_ID}\": \"72d4017e22cd\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.24f70ba9_saasclient-tsei1_saas_ae8a06cd-058d-11e7-909c-005056953399_5444bc8c\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"1a9cf3028f0e\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_ces.3c1bd515_ces-0rtgx_ces_62616e2e-dbcf-11e6-909c-005056953399_2be6098e\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/ces-proxy\",\r\n            \"{#ZD_ID}\": \"c1c71de926f9\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_saas-contact-history.b9f4d2bf_saas-contact-history-xe2g2_saas_1184aa0e-f74b-11e6-909c-005056953399_ed582b9e\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/saas-contact-history:0.10.3.3\",\r\n            \"{#ZD_ID}\": \"20ede76bf7e7\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_redis.c9a30fbb_redis-6yui2_default_e7c17e81-d7d8-11e6-909c-005056953399_e662f763\",\r\n            \"{#ZD_IMAGE}\": \"redis:3.2.0-alpine\",\r\n            \"{#ZD_ID}\": \"b89d754065bc\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_ivr.26c0999b_ivr-scpir_ces_bfffe2fd-d3c3-11e6-909c-005056953399_e6b68cd3\",\r\n            \"{#ZD_IMAGE}\": \"registry:5000/wecloud/ivr-web\",\r\n            \"{#ZD_ID}\": \"ad2b6752f9a9\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.24f70ba9_saas-contact-history-xe2g2_saas_1184aa0e-f74b-11e6-909c-005056953399_0bafa2d6\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"6ff6773a9d61\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.24f70ba9_ivr-scpir_ces_bfffe2fd-d3c3-11e6-909c-005056953399_aa1d73a6\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"c381a99ccbef\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.21290ba7_ces-0rtgx_ces_62616e2e-dbcf-11e6-909c-005056953399_22032654\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"25ed31fa494a\"\r\n        },\r\n        {\r\n            \"{#ZD_NAME}\": \"k8s_POD.10ef0dc9_redis-6yui2_default_e7c17e81-d7d8-11e6-909c-005056953399_7786f262\",\r\n            \"{#ZD_IMAGE}\": \"registry.access.redhat.com/rhel7/pod-infrastructure:latest\",\r\n            \"{#ZD_ID}\": \"8585c4d3157b\"\r\n        }\r\n    ]\r\n}\r\n\r\nwhy it throw the exception \"value should be a json objec\"? what shall i do ?\r\n\r\n"}}
{"actor":{"display_login":"andyChenn"}}