It has been fixed in the git repository : 
https://github.com/naparuba/shinken/commit/fd01098c1c7def80da6a29008570bee0686f1fc9

Regards,
Nicolas 

Envoyé de mon iPhone

Le 4 août 2011 à 17:17, Marc-Olivier Barre <moba...@avencall.com> a écrit :

> Hey there,
> 
> It seems we're having an issue with NSCA. We've been testing it to use
> it in place of SNMP traps. When we send an NSCA notification it seems we
> get the NSCA module to crash.
> 
> I get something like this in my logs: 
> 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/nsca.py", line 
> 180, in main
>    (timestamp, rc, hostname, service, 
> output)=self.read_check_result(databuffer[s],IVs[s])
>  File "/usr/local/lib/python2.6/dist-packages/shinken/modules/nsca.py", line 
> 132, in read_check_result
>    service = service_dirty.partition("\0", 1)[0]
> TypeError: partition() takes exactly one argument (2 given)
> 
> Did I stumble on a bug ? Would you need any other info to help me debug this ?
> 
> Cheers,
> -- 
> Marc-Olivier Barre
> Avencall
> 10 bis, rue Lucien Voilin - 92800 Puteaux
> Tél.    : 0811 85 9486 (0811 85 XIVO)
> http://www.avencall.com/
> 
> 
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts. 
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel

--
Ce message et  toutes les pieces jointes (ci-apres  le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute  utilisation ou  diffusion  non autorisee  est interdite.   Tout
message  etant  susceptible  d'alteration,  l'emetteur  decline  toute
responsabilite au titre de  ce message  s'il a  ete altere, deforme ou
falsifie.
                -----------------------------------
This message and any  attachments (the "message") are confidential and
intended  solely   for  the   addressees.  Any  unauthorised   use  or
dissemination is prohibited. As e-mails are susceptible to alteration,
the issuer shall  not be  liable for  the  message if altered, changed
or falsified.
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to