押田光雄
teruo****@mirac*****
2016年 5月 6日 (金) 15:15:30 JST
中川さん 16.04 Beta 2 を試してみました。 やはりエラー終了してしまいます。 Beta 2 だと未対処になるでしょうか。 ======== 2016-05-06 15:09:29,081 INFO [25139] hatohol.standardhap:hap2_zabbix_api.py:61: Configuration file: /etc/hatohol/hap2.conf 2016-05-06 15:09:29,081 INFO [25139] hatohol.transporter:hap2_zabbix_api.py:170: Registered: RabbitMQHapiConnector 2016-05-06 15:09:29,081 INFO [25139] hatohol.transporter:hap2_zabbix_api.py:163: Loaded transporter module: /usr/lib/python2.7/site-packages/hatohol/transporters INFO:hatohol.standardhap:hap2_zabbix_api.py:MainProcess:standardhap.py:172:25139:Transporter: RabbitMQHapiConnector INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:935:25139:Detected procedure: hap_exchange_profile INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:935:25139:Detected procedure: hap_fetch_events INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:935:25139:Detected procedure: hap_fetch_history INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:935:25139:Detected procedure: hap_fetch_items INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:935:25139:Detected procedure: hap_fetch_triggers INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:935:25139:Detected procedure: hap_update_monitoring_server_info INFO:hatohol.standardhap:hap2_zabbix_api.py:MainProcess:standardhap.py:185:25139:created main plugin. INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:1046:25139:Enable polling: hosts INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:1046:25139:Enable polling: host_groups INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:1046:25139:Enable polling: host_group_membership INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:1046:25139:Enable polling: triggers INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:1046:25139:Enable polling: events INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:1056:25139:Minimum status logging interval: 600 INFO:hatohol.standardhap:hap2_zabbix_api.py:MainProcess:standardhap.py:148:25139:created poller plugin. INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:633:25139:deamonized: 25144 (Dispatcher) INFO:hatohol.standardhap:hap2_zabbix_api.py:MainProcess:standardhap.py:200:25139:started dispatcher process. INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:633:25139:deamonized: 25145 (Receiver) INFO:hatohol.standardhap:hap2_zabbix_api.py:MainProcess:standardhap.py:202:25139:started receiver process. INFO:hatohol.standardhap:hap2_zabbix_api.py:MainProcess:standardhap.py:205:25139:exchanged profile. INFO:hatohol.standardhap:hap2_zabbix_api.py:MainProcess:standardhap.py:208:25139:got monitoring server info. INFO:hatohol.haplib:hap2_zabbix_api.py:MainProcess:haplib.py:633:25139:deamonized: 25150 (Hap2ZabbixAPIPoller) INFO:hatohol.standardhap:hap2_zabbix_api.py:MainProcess:standardhap.py:213:25139:started poller plugin. INFO:hatohol.haplib:hap2_zabbix_api.py:Poller:haplib.py:1106:25150:Polling inverval: 30/10 INFO:hatohol.haplib:hap2_zabbix_api.py:Poller:haplib.py:1095:25150:LastStat: OK, NumSuccess: 1 (20160506060929.797210), NumFailure: 0 (): FailureReason: CRITICAL:hatohol.hap:hap2_zabbix_api.py:Poller:hap.py:98:25150:Got critical signal. Process Poller: Traceback (most recent call last): File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python2.7/site-packages/hatohol/haplib.py", line 1112, in __call__ self.__poll_in_try_block(arm_info) File "/usr/lib/python2.7/site-packages/hatohol/haplib.py", line 1143, in __poll_in_try_block hap.handle_exception() File "/usr/lib/python2.7/site-packages/hatohol/haplib.py", line 1140, in __poll_in_try_block self.put_arm_info(arm_info) File "/usr/lib/python2.7/site-packages/hatohol/haplib.py", line 455, in put_arm_info self.__sender.request("putArmInfo", params, request_id) File "/usr/lib/python2.7/site-packages/hatohol/haplib.py", line 336, in request self.__connector.call(json.dumps(body)) File "/usr/lib/python2.7/site-packages/hatohol/rabbitmqconnector.py", line 112, in call self.__publish(msg) File "/usr/lib/python2.7/site-packages/hatohol/rabbitmqconnector.py", line 137, in __publish raise hap.Signal(critical=True) Signal: <hatohol.hap.Signal instance at 0x10062d8> WARNING:hatohol.standardhap:hap2_zabbix_api.py:MainProcess:standardhap.py:155:25139:Got SIGCHLD WARNING:hatohol.standardhap:hap2_zabbix_api.py:Dispatcher:standardhap.py:165:25144:Got SIGTERM WARNING:hatohol.standardhap:hap2_zabbix_api.py:Receiver:standardhap.py:165:25145:Got SIGTERM ======== 2016年4月27日 14:38 中川雅之 <masay****@mirac*****>: > 押田さん > > 宛先を間違えて押田さんだけにしていたので再送します。 > > 使用バージョンが16.01であれば既知の問題です。 > 16.04では解決しています。 > また,この原因はメッセージサイズが大きすぎるために起こる > RabbitMQのキュー詰まりです。 > > これを回避するために16.04ではメッセージが大きい場合に, > 分割してメッセージを送る仕様に変更されました。 > > 中川 > > 2016-04-27 11:46 GMT+09:00 押田光雄 <teruo****@mirac*****>: >> >> 押田です。 >> >> hap2-zabbix-api に TLS させたいと思っています。 >> >> とりあえず broker には繋がり、 >> 一部情報は hatohol まで伝搬されているようですが、 >> しばらくすると接続が切れます。 >> >> 「概要:アイテム」と「最新データ」の情報が伝搬できていないようです。 >> >> stdout と stderr は下記です。 >> #引数にイコールがあったりなかったりで気持ち悪い。今気付いた。 >> >> これは既知の問題でしょうか。 >> >> >> ======== >> # HAPI_AMQP_PASSWORD=password >> /usr/libexec/hatohol/hap2/hatohol/hap2_zabbix_api.py >> --log-conf=/etc/hatohol/hap2-logging.conf --amqp-broker=rabbitmq >> --amqp-vhost=vhost --amqp-queue=zbx30a --amqp-user=user --amqp-port >> 5671 --amqp-ssl-key /etc/hatohol/key.pem --amqp-ssl-cert >> /etc/hatohol/client-cert.pem --amqp-ssl-ca /etc/hatohol/ca-cert.pem >> INFO:30326:Transporter: RabbitMQHapiConnector >> INFO:30326:Detected procedure: hap_exchange_profile >> INFO:30326:Detected procedure: hap_fetch_events >> INFO:30326:Detected procedure: hap_fetch_history >> INFO:30326:Detected procedure: hap_fetch_items >> INFO:30326:Detected procedure: hap_fetch_triggers >> INFO:30326:Detected procedure: hap_update_monitoring_server_info >> INFO:30326:created main plugin. >> INFO:30326:Enable polling: hosts >> INFO:30326:Enable polling: host_groups >> INFO:30326:Enable polling: host_group_membership >> INFO:30326:Enable polling: triggers >> INFO:30326:Enable polling: events >> INFO:30326:Minimum status logging interval: 600 >> INFO:30326:created poller plugin. >> INFO:30326:deamonized: 30331 (Dispatcher) >> INFO:30326:started dispatcher process. >> INFO:30326:deamonized: 30332 (Receiver) >> INFO:30326:started receiver process. >> INFO:30326:exchanged profile. >> INFO:30326:got monitoring server info. >> INFO:30326:deamonized: 30337 (Hap2ZabbixAPIPoller) >> INFO:30326:started poller plugin. >> INFO:30337:Polling inverval: 30/10 >> INFO:30337:LastStat: OK, NumSuccess: 1 (20160427013554.181285), >> NumFailure: 0 (): FailureReason: >> CRITICAL:30337:Got critical signal. >> Process Process-3: >> Traceback (most recent call last): >> File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in >> _bootstrap >> self.run() >> File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run >> self._target(*self._args, **self._kwargs) >> File "/usr/lib/python2.7/site-packages/hatohol/haplib.py", line 981, >> in __call__ >> self.__poll_in_try_block(arm_info) >> File "/usr/lib/python2.7/site-packages/hatohol/haplib.py", line >> 1012, in __poll_in_try_block >> hap.handle_exception() >> File "/usr/lib/python2.7/site-packages/hatohol/haplib.py", line >> 1009, in __poll_in_try_block >> self.put_arm_info(arm_info) >> File "/usr/lib/python2.7/site-packages/hatohol/haplib.py", line 448, >> in put_arm_info >> self.__sender.request("putArmInfo", params, request_id) >> File "/usr/lib/python2.7/site-packages/hatohol/haplib.py", line 336, >> in request >> self.__connector.call(json.dumps(body)) >> File "/usr/lib/python2.7/site-packages/hatohol/rabbitmqconnector.py", >> line 111, in call >> self.__publish(msg) >> File "/usr/lib/python2.7/site-packages/hatohol/rabbitmqconnector.py", >> line 136, in __publish >> raise hap.Signal(critical=True) >> Signal: <hatohol.hap.Signal instance at 0x18d5710> >> WARNING:30326:Got SIGCHLD >> WARNING:30331:Got SIGTERM >> WARNING:30332:Got SIGTERM >> ======== >> >> _______________________________________________ >> Hatohol-users mailing list >> Hatoh****@lists***** >> http://lists.osdn.me/mailman/listinfo/hatohol-users > > > > > -- > -- > ━━━━━━━━━━━◆ ミラクル・リナックス株式会社 ◆ > 技術本部 開発部 エンジニア :中川 雅之(Masayuki Nakagawa) > E-Mail: masay****@mirac***** > 住所:〒160-0022 > 東京都新宿区新宿6-27-30 新宿イーストサイドスクエア 7F > TEL:03-6205-9500 > FAX:03-6205-9501 > ━━━━━━━━━━━━━━━━━━━━━━━━━━━