Hi Jean, here are some of the messages: ==================== WARNING : bad CURRENT SERVICE STATE log : aaaaaaaaaa;Disk Space;WARNING;HARD;4;DISK WARNING - free space: / 1436 MB (8% inode=82%);
WARNING : bad CURRENT SERVICE STATE log : xxxxxxxxxxxxxx;Memcache Status;OK;HARD;1;MEMCACHE OK - 6 plugins checked, 0 critical, 0 warning, 0 unknown, 6 ok [memcache_aaaaaaaaaaaa perfdata discarded for general error in '0.0.0.0:11111 time=0.000314s;', memcache_bbbbbbbbbbbbbbbbbbb perfdata discarded for general error in '0.0.0.0:22222 time=0.000323s;', memcache_cccccccccccccc perfdata discarded for general error in '0.0.0.0:33333 time=0.000342s;', memcache_ddddddddddd perfdata discarded for general error in '0.0.0.0:44444 time=0.000339s;', memcache_eeeeeeeeeeee perfdata discarded for general error in '0.0.0.0:55555 time=0.000385s;', memcache_fffffffffffffff perfdata discarded for general error in '0.0.0.0:11111 time=0.000345s;'] ==================== Bye, Ronny Am Thu, 26 May 2011 16:28:00 +0200 schrieb nap <napar...@gmail.com>: > On Thu, May 26, 2011 at 4:20 PM, Ronny Lindner > <ronny.lind...@unister.de>wrote: > > > Hi Jean, > > > > I attached a part of the debug log with 2 exceptions. We tested it > > with version 95292d9121b731e1963ed5bcc0126f540c0afec2 . > > > > Thanks. It seems that a log message is not formed as it should. Can > > you > apply this patch, re-run it and grep for Warning messages? > Thanks, > > > diff --git a/shinken/modules/livestatus_broker/livestatus_broker.py > b/shinken/modules/livestatus_broker/livestatus_broker.py > index b687259..b17ebc6 100644 > --- a/shinken/modules/livestatus_broker/livestatus_broker.py > +++ b/shinken/modules/livestatus_broker/livestatus_broker.py > @@ -567,7 +567,11 @@ class Livestatus_broker(BaseModule): > if type == 'CURRENT SERVICE STATE': > logobject = LOGOBJECT_SERVICE > logclass = LOGCLASS_STATE > - host_name, service_description, state, state_type, > attempt, plugin_output = options.split(';') > + try: > + host_name, service_description, state, > state_type, attempt, plugin_output = options.split(';') > + except ValueError: > + print "WARNING : bad CURRENT SERVICE STATE log : > %s" % options > + return > elif type == 'INITIAL SERVICE STATE': > logobject = LOGOBJECT_SERVICE > logclass = LOGCLASS_STATE > > > There is another exception in the status.dat, but it should be an utf8 > character that make str() function not so happy, I'll try to > reproduce it :) > > > 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 ------------------------------------------------------------------------------ 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