[Hatohol-users] hap2-zabbix-api に TLS させると "Got critical signal"

Back to archive index

押田光雄 teruo****@mirac*****
2016年 4月 27日 (水) 11:46:51 JST


押田です。

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 メーリングリストの案内
Back to archive index