Thanks, I commit :)



Jean

On Fri, Oct 8, 2010 at 5:25 PM, NICOLAS DUPEUX <nicolas.dupeux@arkea.com> wrote:
One last patch before the week-end.

When plugins have output with ";", livestatus hang with this exception :

Error : got an exeption (bad code?) {} <type 'exceptions.ValueError'>
Process Process-3:
Traceback (most recent call last):
 File "/opt/Python-2.6.4/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap
   self.run()
 File "/opt/Python-2.6.4/lib/python2.6/multiprocessing/process.py", line 88, in run
   self._target(*self._args, **self._kwargs)
 File "/opt/shinken-462c875/shinken/modules/livestatus_broker/livestatus_broker.py", line 696, in main
   self.manage_brok(b)
 File "/opt/shinken-462c875/shinken/modules/livestatus_broker/livestatus_broker.py", line 122, in manage_brok
   f(b)
 File "/opt/shinken-462c875/shinken/modules/livestatus_broker/livestatus_broker.py", line 508, in manage_log_brok
   contact_name, host_name, service_description, state_type, command_name, check_plugin_output = options.split(';')
ValueError: too many values to unpack

Regards,


----- Mail original -----
> Hi all,
>
> The 0.3 version is tagged :)
>
> You can update your git, or grab the tarball or the demo VM at
> http://www.shinken-monitoring.org/download/.
>
> The Changelog is :
> ENHANCEMENTS
> *Add : complex hostgroup matching with & ( ) | !
> *Add : resultmodulation code and tests
> *Add : brok information about problem/impacts
> *Add : livestatus export about problem/impacts
> *Add : clean quit on daemons (pid file and sub processes)
> *Add : maintenance_period parameter in hosts and services
> *Add :even more unit test cases
> *Add : now external commands raised in livestatus module are taken
> by the arbiter
> *Add : satellites states are now exported by livestatus
> *Add : arbiter module managment
> *Add : GLPI import arbiter module :)
> *Add : notificationways for contacts
> *Add : warning about unmanaged parameters
> *Add : log rotation and syslog managment
>
> FIXES
> *Fix : install crash is now catch with Pyro 4 in Centos (python 2.4)
> *Fix : host/service dep where not filled with default properties
> *Fix : catch realm configuration errors
> *Fix : but in status.dat about parents printing
> *Fix : problem with the Collums table in livestatus module
> *Fix : next valid time was one minute delay for cases with excludes
> *Fix : livestatus export in json was bad for service group members
> *Fix : bug in windows check launch
> *Clean : dispatcher code about useless options
> *Clean : tests cases setUp
>
> Thanks a lot to all people that send us patch or bugs.
>
> I already talk about the majors features. You can get a refresh at the
> release post
> http://www.shinken-monitoring.org/news/the-0-3-version-is-here/
> .
>
> The next version (Decadent DragonFly) will be focused on the last
> unmanaged
> Nagios parameters (only the useful ones in fact). There will be also a
> big
> move of the documentation from the docbook to the
> wiki<http://www.shinken-monitoring.org/wiki>.
> This last one will be the new reference of the whole doc ("official
> doc" +
> tutorials). It will take some times to get all in, so if anyone want
> to help
> on this huge task, I will be happy :)
>
> Another thing : an objective of the 0.4 is to be "production ready".
> So we
> will fill all missing tests for this release, because unit testing and
> integration ones are very important.
>
>
> So test it, hack it and say if you are happy about it or not :)
> If you see a bug, sent it at
> https://sourceforge.net/apps/trac/shinken/report/2.
>
> And remember to vote at http://shinken.ideascale.com for new features
> : it's
> very important to know what you are waiting from this tool :)
>
>
> Jean
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating
> great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel

--
Nicolas DUPEUX <nicolas.dupeux@arkea.com>
Arkea - Domaine Systèmes
tel : 02.98.00.36.68

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel