Hi Jean,

I attached a part of the debug log with 2 exceptions. We tested it with
version 95292d9121b731e1963ed5bcc0126f540c0afec2 .

Bye, Ronny

Am Thu, 26 May 2011 15:13:46 +0200
schrieb nap <napar...@gmail.com>:

> On Thu, May 26, 2011 at 1:19 PM, Ronny Lindner
> <ronny.lind...@unister.de>wrote:
> 
> > Hi,
> >
> > we tried the current git version (master) and I can confirm that Nr
> > 5 is fixed - but now the hosts of only 1-2 realms are shown in
> > Thruk. Approximately once a minute there is no backend available
> > and then some other realms are shown.
> >
> > The brokerd.log shows these messages:
> > ==============================
> > 2011-05-26 13:08:09,190 [1306408089] [broker-all] Error : the
> > external module Livestatus goes down unexpectly!
> >
> > 2011-05-26 13:08:09,190 [1306408089] [broker-all] Setting the module
> > Livestatus to restart
> >
> > 2011-05-26 13:08:09,205 [1306408089] [broker-all] I'm stopping
> > process pid:8848
> >
> > 2011-05-26 13:08:09,206 [1306408089] [broker-all] Starting external
> > process for instance Livestatus
> >
> > 2011-05-26 13:08:09,212 [1306408089] [broker-all] Livestatus is now
> > started ; pid=12889
> >
> > 2011-05-26 13:08:09,688 [1306408089] [broker-all] A module is
> > asking me to get all initial data from the scheduler 2
> > ==============================
> >
> Hi,
> 
> It seems that the LiveSTatus broker crash. Can you start the broker
> in debug module to get the backtrace? Thanks.
> 
> 
> Jean
> 
> 
> >
> > Bye, Ronny
> >
> > --
> >


-- 
Ronny Lindner
Linux-Systemadministrator

Unister GmbH
Barfußgässchen 11 | 04109 Leipzig

Telefon: +49 (0)341 49288 4537
ronny.lind...@unister.de
www.unister.de

Vertretungsberechtigter Geschäftsführer: Thomas Wagner
Amtsgericht Leipzig, HRB: 19056
[broker-all] We have our arbiters : {0: {'broks': {}, 'last_connection': 0, 'name': u'Arbiter-Master', 'uri': u'PYROLOC://localhost:7770/Broks', 'instance_id': 0, 'running_id': 0, 'address': u'localhost', 'port': 7770}} 
[broker-all] We have our pollers : {1: {'broks': {}, 'instance_id': 0, 'last_connection': 1306418880.3700621, 'name': u'poller-x1', 'poller_tags': ['None'], 'uri': u'PYROLOC://s1:7771/Broks', 'passive': False, 'reactionner_tags': [], 'running_id': '1306407292.0', 'address': u's1', 'active': True, 'port': 7771, 'con': <DynamicProxy for PYROLOC://s1:7771/Broks>}, 2: {'broks': {}, 'instance_id': 0, 'last_connection': 1306418882.0354819, 'name': u'poller-x2', 'poller_tags': ['NoProcess Process-1:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/multiprocessing/process.py", line 237, in _bootstrap
    self.run()
  File "/usr/lib/pymodules/python2.5/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python2.5/site-packages/shinken/modules/livestatus_broker/livestatus_broker.py", line 874, in main
    self.manage_brok(b)
  File "/usr/lib/python2.5/site-packages/shinken/basemodule.py", line 184, in manage_brok
    return manage(brok)
  File "/usr/lib/python2.5/site-packages/shinken/modules/livestatus_broker/livestatus_broker.py", line 570, in manage_log_brok
    host_name, service_description, state, state_type, attempt, plugin_output = options.split(';')
ValueError: too many values to unpack
Deleting messages from the log database older than Wed May 26 16:08:00 2010
Creating config: 4 {'program_start': 1306418761, 'process_performance_data': True, 'pid': 5697, 'passive_service_checks_enabled': True, 'event_handlers_enabled': True, 'daemon_mode': 1, 'global_host_event_handler': '', 'instance_name': u'scheduler-x3', 'modified_host_attributes': 0, 'failure_prediction_enabled': 0, 'modified_service_attributes': 0, 'last_alive': 1306418878, 'flap_detection_enabled': True, 'obsess_over_hosts': False, 'global_service_event_handler': '', 'obsess_over_services': False, 'instance_id': 4, 'notifications_enabled': True, 'is_running': 1, 'last_command_check': 1306418878, 'last_log_rotation': 1306418878, 'passive_host_checks_enabled': True, 'command_file': u'rw/nagios.cmd', 'active_service_checks_enabled': True, 'active_host_checks_enabled': True}
Error : got an exeption (bad code?) {} <type 'exceptions.ValueError'>
ne'], 'uri': u'PYROLOC://s2:7771/Broks', 'passive': False, 'reactionner_tags': [], 'running_id': '1306407292.0', 'address': u's2', 'active': True, 'port': 7771, 'con': <DynamicProxy for PYROLOC://s2:7771/Broks>}, 6: {'broks': {}, 'instance_id': 0, 'last_connection': 0, 'name': u'poller-x4', 'poller_tags': ['None'], 'uri': u'PYROLOC://s4:7771/Broks', 'passive': False, 'reactionner_tags': [], 'running_id': 0, 'address': u's4', 'active': True, 'port': 7771}}
[broker-all] We have our reactionners : {}
[broker-all] Connexion OK to the scheduler scheduler-x1
[broker-all] Connexion OK to the scheduler scheduler-x2
[broker-all] Connexion OK to the scheduler scheduler-x5
[broker-all] Connexion OK to the scheduler scheduler-x3
[broker-all] Connexion OK to the scheduler scheduler-x6
[broker-all] Connexion OK to the scheduler scheduler-x4
[broker-all] Connexion OK to the poller poller-x1
[broker-all] Connexion OK to the poller poller-x2
[broker-all] New running id for the poller poller-x4 : 1306407292.0 (was 0)
[broker-all] Connexion OK to the poller poller-x4
Begin Loop : manage broks 3988
Error : the external module Livestatus goes down unexpectly!
Setting the module Livestatus to restart
I should try to reinit Livestatus
Trying to init module Livestatus
Initialisation of the livestatus broker
Good, I try to restart Livestatus
I'm stopping process pid:10936 
['_Popen', '__class__', '__delattr__', '__dict__', '__doc__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', '__weakref__', '_args', '_authkey', '_bootstrap', '_daemonic', '_identity', '_kwargs', '_name', '_parent_pid', '_popen', '_target', '_tempdir', 'authkey', 'daemon', 'exitcode', 'ident', 'is_alive', 'join', 'name', 'pid', 'run', 'start', 'terminate']
Starting external process for instance Livestatus
Process Process-2:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/multiprocessing/process.py", line 237, in _bootstrap
    self.run()
  File "/usr/lib/pymodules/python2.5/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python2.5/site-packages/shinken/modules/status_dat_broker/status_dat_broker.py", line 419, in main
    self.objects_cache.create_or_update()
  File "/usr/lib/python2.5/site-packages/shinken/modules/status_dat_broker/objectscache.py", line 327, in create_or_update
    tmp = self.create_output(c)
  File "/usr/lib/python2.5/site-packages/shinken/modules/status_dat_broker/objectscache.py", line 275, in create_output
    if len(str(value)) == 0:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 5: ordinal not in range(128)
Generating objects file!
Generating status file!
Generating objects file!
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/multiprocessing/queues.py", line 242, in _feed
    send(obj)
IOError: [Errno 32] Broken pipe
Livestatus is now started ; pid=11633
Begin Loop : manage broks 2164
Begin Loop : manage broks 28
Begin Loop : manage broks 28
Begin Loop : manage broks 28
Begin Loop : manage broks 28
Error : the external module Status-Dat goes down unexpectly!
Setting the module Status-Dat to restart
I should try to reinit Status-Dat
Trying to init module Status-Dat
I am init
Good, I try to restart Status-Dat
I'm stopping process pid:10937 
['_Popen', '__class__', '__delattr__', '__dict__', '__doc__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', '__weakref__', '_args', '_authkey', '_bootstrap', '_daemonic', '_identity', '_kwargs', '_name', '_parent_pid', '_popen', '_target', '_tempdir', 'authkey', 'daemon', 'exitcode', 'ident', 'is_alive', 'join', 'name', 'pid', 'run', 'start', 'terminate']
Starting external process for instance Status-Dat
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to