Giter VIP home page Giter VIP logo

hyclops's People

Contributors

ike-dai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hyclops's Issues

adding to zabbix

I'm getting the following trace
[2014-12-16 08:30:18,082] hyclops.connector.ec2 (ec2-AWS-monitor) ERROR: Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/hyclops/connector/ec2.py", line 46, in call
result = self.run_command(hostname, params)
File "build/bdist.linux-x86_64/egg/hyclops/connector/ec2.py", line 62, in run_command
result = self.monitor(hostname, conn_params)
File "build/bdist.linux-x86_64/egg/hyclops/connector/ec2.py", line 126, in monitor
self.set_ami_info(node)
File "build/bdist.linux-x86_64/egg/hyclops/connector/ec2.py", line 175, in set_ami_info
images = node.driver.list_images(ex_image_ids=[node.extra["imageId"]])
KeyError: 'imageId'

Python 2.6.9 x86_64
How I can fix this?
also it doesn't work properly with zabbix 2.4 version

aws ec2 polling error

Hello,

We are using zabbix 2.2 and last version of hyclops installed.
I got this error message...Can you tell me why and how can i fix it

[2014-09-01 05:11:19,913] hyclops.queue (MainThread) DEBUG: polling...
[2014-09-01 05:11:32,803] hyclops.queue (MainThread) DEBUG: recieved request: [['ec2', 'i-fe145d1f']]
[2014-09-01 05:11:32,804] hyclops.queue (MainThread) DEBUG: run ec2-i-fe145d1f-monitor thread
[2014-09-01 05:11:32,806] hyclops.queue (MainThread) DEBUG: running threads: [{'ec2-i-fe145d1f-monitor': True}]
[2014-09-01 05:11:34,324] hyclops.connector.ec2 (ec2-i-fe145d1f-monitor) ERROR: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/hyclops-0.2.1-py2.7.egg/hyclops/connector/ec2.py", line 46, in call
result = self.run_command(hostname, params)
File "/usr/local/lib/python2.7/dist-packages/hyclops-0.2.1-py2.7.egg/hyclops/connector/ec2.py", line 62, in run_command
result = self.monitor(hostname, conn_params)
File "/usr/local/lib/python2.7/dist-packages/hyclops-0.2.1-py2.7.egg/hyclops/connector/ec2.py", line 114, in monitor
nodes.extend(conn.list_nodes())
File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/ec2.py", line 619, in list_nodes
elem = self.connection.request(self.path, params=params).object
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py", line 576, in request
params = self.add_default_params(params)
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/aws.py", line 107, in add_default_params
self.action)
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/aws.py", line 125, in get_aws_auth_param
urlquote(params[key], safe='-
~'))
File "/usr/lib/python2.7/urllib.py", line 1255, in quote
raise TypeError('None object cannot be quoted')
TypeError: None object cannot be quoted

hyclops doesn't read the AWS instances

Hello,

Can you tell me why i get this error and how can i fix it
Zabbix 2.2 and last version of hyclops installed

[2014-01-24 21:46:40,643] hyclops.connector.ec2 (ec2-Overlap-monitor) ERROR: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/hyclops-0.2.0-py2.6.egg/hyclops/connector/ec2.py", line 46, in call
result = self.run_command(hostname, params)
File "/usr/lib/python2.6/site-packages/hyclops-0.2.0-py2.6.egg/hyclops/connector/ec2.py", line 62, in run_command
result = self.monitor(hostname, conn_params)
File "/usr/lib/python2.6/site-packages/hyclops-0.2.0-py2.6.egg/hyclops/connector/ec2.py", line 126, in monitor
self.set_ami_info(node)
File "/usr/lib/python2.6/site-packages/hyclops-0.2.0-py2.6.egg/hyclops/connector/ec2.py", line 175, in set_ami_info
images = node.driver.list_images(ex_image_ids=[node.extra["imageId"]])
KeyError: 'imageId'

Also on the Zabbix dashboard shows no AWS info
Account name PoweredOn PoweredOff Billing/Month
AWSAcc1 0 0 No data

Thank you in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.