Created
January 4, 2012 15:05
-
-
Save anonymous/1560427 to your computer and use it in GitHub Desktop.
Shinken-broker crash on external command query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit..... | |
Begin Loop : managing old broks 0 | |
External Queue len (Livestatus) : 0 | |
External Queue len (WebUI) : 0 | |
DBG: Time to send 6 broks 0.000843048095703 | |
outputformat json | |
DURATION 0.0038s | |
connection 30 is idle since 0 seconds (idle) | |
connection 30 is idle since 0 seconds (idle) | |
shutdown socket 30 | |
outputformat csv | |
DURATION 0.0063s | |
connection 28 is idle since 0 seconds (idle) | |
Begin Loop : managing old broks 0 | |
External Queue len (Livestatus) : 0 | |
External Queue len (WebUI) : 0 | |
DBG: Time to send 1 broks 0.000470876693726 | |
Adding in queue an external command {'__module__': 'shinken.external_command', 'my_type': 'externalcommand', '__init__': <function __init__ at 0x19c1e60>, '__doc__': None} | |
{'source': None, '_type': 'ICrash', '_data': {'exception': ValueError('need more than 1 value to unpack',), 'name': u'Livestatus', 'trace': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_broker.py", line 781, in main\n self.do_main()\n File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_broker.py", line 1021, in do_main\n response, keepalive = self.livestatus.handle_request(open_connections[socketid][\'buffer\'])\n File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus.py", line 88, in handle_request\n request.parse_input(data)\n File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_request.py", line 93, in parse_input\n query.parse_input(\'\\n\'.join(wait_cmds))\n File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_wait_query.py", line 71, in parse_input\n host_name, service_description = object.split(\';\', 1)\nValueError: need more than 1 value to unpack\n'}, '_from': 0} | |
ERROR : the module Livestatus just crash! Please look at the traceback: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_broker.py", line 781, in main | |
self.do_main() | |
File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_broker.py", line 1021, in do_main | |
response, keepalive = self.livestatus.handle_request(open_connections[socketid]['buffer']) | |
File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus.py", line 88, in handle_request | |
request.parse_input(data) | |
File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_request.py", line 93, in parse_input | |
query.parse_input('\n'.join(wait_cmds)) | |
File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_wait_query.py", line 71, in parse_input | |
host_name, service_description = object.split(';', 1) | |
ValueError: need more than 1 value to unpack | |
Process Process-2: | |
Traceback (most recent call last): | |
File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap | |
self.run() | |
File "/usr/lib/python2.6/multiprocessing/process.py", line 88, in run | |
self._target(*self._args, **self._kwargs) | |
File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_broker.py", line 781, in main | |
self.do_main() | |
File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_broker.py", line 1021, in do_main | |
response, keepalive = self.livestatus.handle_request(open_connections[socketid]['buffer']) | |
File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus.py", line 88, in handle_request | |
request.parse_input(data) | |
File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_request.py", line 93, in parse_input | |
query.parse_input('\n'.join(wait_cmds)) | |
File "/usr/local/lib/python2.6/dist-packages/shinken/modules/livestatus_broker/livestatus_wait_query.py", line 71, in parse_input | |
host_name, service_description = object.split(';', 1) | |
ValueError: need more than 1 value to unpack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment