LoginSignup
1
1

More than 5 years have passed since last update.

HyClops for Zabbix に関するメモ

Last updated at Posted at 2014-06-20

◆できること
・AWSコンソール-EC2-INSTANSES で見ることが出来る情報を収集する
・Zabbixの画面からEC2サーバの起動停止、SSH接続ができる

◆できないこと
・ELBやRDSなどAWS上の他のものに関しては情報収集できない。EC2のみ

◆ログの出力先
/opt/hyclops/logs

◆hyclops関連の実行ファイルの置き位置
/usr/lib/python2.6/site-packages/hyclops-0.2.0-py2.6.egg/hyclops/connector

◆HyClopsにてAWSのEC2を登録すると、PrivateIPによる登録となり、Zabbx-Agentとの紐付きが確保されない。

下記のファイルの修正を行う。
/usr/lib/python2.6/site-packages/hyclops-0.2.0-py2.6.egg/hyclops/connector/ec2.py

ec2.py
#下記の行を探し、⇒private を public に修正

#193行目
"interfaces": self.addresses_to_interfaces([node.extra["dns_nam
e"]] + node.private_ips),

#235行目
for new_addr, old_interface in
map(None, [node.extra["dns_name"]] + node.private_ips,
old_interfaces):

private→publicにするとZabbix Server上の表記がPublicIPになる。
だけど、標準でDNS側を使用しているので、IP側に切り替えないとAgentと紐付かない(検討中)

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1