{"action":"closed","issue":{"url":"https://api.github.com/repos/project-hatohol/hatohol/issues/1135","labels_url":"https://api.github.com/repos/project-hatohol/hatohol/issues/1135/labels{/name}","comments_url":"https://api.github.com/repos/project-hatohol/hatohol/issues/1135/comments","events_url":"https://api.github.com/repos/project-hatohol/hatohol/issues/1135/events","html_url":"https://github.com/project-hatohol/hatohol/issues/1135","id":62577272,"number":1135,"title":"「概要:アイテム」と「最新データ」で表示される項目数が一致しない＠15.03リリース確認","user":{"login":"o-wakabayashi","id":8002282,"avatar_url":"https://avatars.githubusercontent.com/u/8002282?v=3","gravatar_id":"","url":"https://api.github.com/users/o-wakabayashi","html_url":"https://github.com/o-wakabayashi","followers_url":"https://api.github.com/users/o-wakabayashi/followers","following_url":"https://api.github.com/users/o-wakabayashi/following{/other_user}","gists_url":"https://api.github.com/users/o-wakabayashi/gists{/gist_id}","starred_url":"https://api.github.com/users/o-wakabayashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o-wakabayashi/subscriptions","organizations_url":"https://api.github.com/users/o-wakabayashi/orgs","repos_url":"https://api.github.com/users/o-wakabayashi/repos","events_url":"https://api.github.com/users/o-wakabayashi/events{/privacy}","received_events_url":"https://api.github.com/users/o-wakabayashi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/project-hatohol/hatohol/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"ashie","id":135104,"avatar_url":"https://avatars.githubusercontent.com/u/135104?v=3","gravatar_id":"","url":"https://api.github.com/users/ashie","html_url":"https://github.com/ashie","followers_url":"https://api.github.com/users/ashie/followers","following_url":"https://api.github.com/users/ashie/following{/other_user}","gists_url":"https://api.github.com/users/ashie/gists{/gist_id}","starred_url":"https://api.github.com/users/ashie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashie/subscriptions","organizations_url":"https://api.github.com/users/ashie/orgs","repos_url":"https://api.github.com/users/ashie/repos","events_url":"https://api.github.com/users/ashie/events{/privacy}","received_events_url":"https://api.github.com/users/ashie/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-03-18T03:17:25Z","updated_at":"2015-04-06T03:06:28Z","closed_at":"2015-04-06T03:06:28Z","body":"ファイル：15.03向けpre1パッケージ（多分3/18時点のMaseterでも発生）\r\n発生事象：監視対象Zabbixで「概要:アイテム」と「最新データ」で表示される項目数が一致しない\r\n実施内容：\r\n１．「概要:アイテム」画面でホスト（Zabbixの監視対象ホスト）を指定して一覧を表示\r\n　　→32件表示される\r\n２．「最新データ」画面でホスト（Zabbixの監視対象ホスト）を指定して一覧を表示\r\n　　→34件表示される\r\n３．DBで「select brief from items where server_id=* and host_id_in_server=*****;\r\n　　→34件表示される\r\n４．Zabbixで”設定”->”ホスト\"->ホストの”アイテム”の数を確認する\r\n　　→34となっている\r\n→「概要:アイテム」に表示されるアイテム数が少ない\r\n\r\nDBを見ると、\r\nmysql> select server_id,id,brief from items where server_id=1 and host_id_in_server=10085 and id>=23353 and id<23356;\r\n+-----------+-------+--------------+\r\n| server_id | id    | brief        |\r\n+-----------+-------+--------------+\r\n|         1 | 23353 | CPU $2時間 |\r\n|         1 | 23354 | CPU $2時間 |\r\n|         1 | 23355 | CPU $2時間 |\r\n+-----------+-------+--------------+\r\nidがことなってbriefが同じ項目が3件ある（Zabbix上は$2が正しく展開されている）が\r\n「概要:アイテム」　→　”CPU $2時間”が1件だけ表示されいいる\r\n「最新データ」　→　”CPU $2時間”が3件表示される\r\n\r\n「概要:アイテム」に表示するとき、briefが同じだと一つしか表示されない？"}}