crashdump / collectd-xenserver

A Collectd plugin to monitor Citrix XenServer
11 stars 7 forks source link

Fails to start #2

Open sjkeerthi opened 9 years ago

sjkeerthi commented 9 years ago

Hi

Today I tried to collect RRD metrics using this module on my collectd from my xenserver 6.2 where I downloaded the module and enabled as per the doc my collectd fails to start.

Version : collectd-4.10.9-1.el6.x86_64 / collectd-rrdtool-4.10.9-1.el6.x86_64

Module installed under the directory /usr/lib64/collectd/collectd-xenserver.py

collectd.conf

Globals true ModulePath "/usr/lib64/collectd/" LogTraces true Interactive true Import "collectd-xenserver" User "root" Password "password" After I start the collectd Dec 19 03:46:39 cloudmgr collectd[25319]: python plugin: Found a configuration for the "collectd-xenserver" plugin, but the plugin isn't loaded or didn't register a configuration callback. Dec 19 03:46:39 cloudmgr collectd[25319]: plugin: register_callback: a callback named `rrdtool' already exists - overwriting the old entry! Dec 19 03:46:39 cloudmgr collectd[25319]: plugin: register_callback: a callback named`rrdtool' already exists - overwriting the old entry! Dec 19 03:46:39 cloudmgr collectd[25319]: plugin: register_callback: a callback named `rrdtool' already exists - overwriting the old entry! Dec 19 03:46:39 cloudmgr collectd[25319]: plugin: register_callback: a callback named`rrdtool' already exists - overwriting the old entry! Dec 19 03:46:39 cloudmgr collectd[25320]: Initialization complete, entering read-loop. Dec 19 03:46:39 cloudmgr collectd[25320]: python: Interactive interpreter exited, stopping collectd ... What could be the problem. Is it i missing something here.
sjkeerthi commented 9 years ago

Error

Dec 19 03:44:53 cloudmgr collectd[25237]: Exiting normally. Dec 19 03:44:53 cloudmgr collectd[25237]: collectd: Stopping 5 read threads. Dec 19 03:44:53 cloudmgr collectd[25237]: rrdtool plugin: Shutting down the queue thread. Dec 19 03:44:53 cloudmgr collectd[25237]: network plugin: Stopping receive thread. Dec 19 03:44:53 cloudmgr collectd[25237]: network plugin: Stopping dispatch thread. Dec 19 03:44:53 cloudmgr collectdmon[678]: Info: collectd terminated with exit status 0 Dec 19 03:44:53 cloudmgr collectdmon[678]: Error: collectd is respawning too fast - disabled for 300 seconds Dec 19 03:46:39 cloudmgr collectd[25319]: python plugin: Error importing module "collectd-xenserver". Dec 19 03:46:39 cloudmgr collectd[25319]: Unhandled python exception in importing module: SyntaxError: invalid syntax (collectd-xenserver.py, line 5) Dec 19 03:46:39 cloudmgr collectd[25319]: python plugin: Found a configuration for the "collectd-xenserver" plugin, but the plugin isn't loaded or didn't register a configuration callback. Dec 19 03:46:39 cloudmgr collectd[25319]: plugin: register_callback: a callback named rrdtool' already exists - overwriting the old entry! Dec 19 03:46:39 cloudmgr collectd[25319]: plugin: register_callback: a callback namedrrdtool' already exists - overwriting the old entry! Dec 19 03:46:39 cloudmgr collectd[25319]: plugin: register_callback: a callback named rrdtool' already exists - overwriting the old entry! Dec 19 03:46:39 cloudmgr collectd[25319]: plugin: register_callback: a callback namedrrdtool' already exists - overwriting the old entry! Dec 19 03:46:39 cloudmgr collectd[25320]: Initialization complete, entering read-loop. Dec 19 03:46:39 cloudmgr collectd[25320]: python: Interactive interpreter exited, stopping collectd ... Dec 19 03:46:49 cloudmgr collectd[25320]: Exiting normally. Dec 19 03:46:49 cloudmgr collectd[25320]: collectd: Stopping 5 read threads. Dec 19 03:46:49 cloudmgr collectd[25320]: rrdtool plugin: Shutting down the queue thread. Dec 19 03:46:49 cloudmgr collectd[25320]: network plugin: Stopping receive thread. Dec 19 03:46:49 cloudmgr collectd[25320]: network plugin: Stopping dispatch thread.