Hello,

Between the forums, trac, github and the mailing list I'm not sure were is
the best place to submit my issue.
Could you let me know ?

As you are already bored by my email here is the case (don't run away it's
reproducible):

Symptoms :
You've got the following message when launching a config verification
(shinken-arbitrer -v -c /etc/shinken/nagios.cfg)

CRITICAL ERROR : I got an non recovarable error. I must exit
> You can log a bug ticket at
> https://sourceforge.net/apps/trac/shinken/newticket for geting help
> Back trace of it: Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.6/dist-packages/shinken/daemons/arbiterdaemon.py",
> line 411, in main
>     self.load_config_file()
>   File
> "/usr/local/lib/python2.6/dist-packages/shinken/daemons/arbiterdaemon.py",
> line 317, in load_config_file
>     self.conf.pythonize()
>   File "/usr/local/lib/python2.6/dist-packages/shinken/objects/config.py",
> line 1263, in pythonize
>     self.services.pythonize()
>   File "/usr/local/lib/python2.6/dist-packages/shinken/objects/item.py",
> line 585, in pythonize
>     self.items[id].pythonize()
>   File "/usr/local/lib/python2.6/dist-packages/shinken/objects/item.py",
> line 183, in pythonize
>     new_val = tab.pythonize(getattr(self, prop))
>   File "/usr/local/lib/python2.6/dist-packages/shinken/property.py", line
> 149, in pythonize
>     return _boolean_states[val.lower()]
> KeyError: ''
>
> Traceback (most recent call last):
>   File "/usr/bin/shinken-arbiter", line 100, in <module>
>     daemon.main()
>   File
> "/usr/local/lib/python2.6/dist-packages/shinken/daemons/arbiterdaemon.py",
> line 411, in main
>     self.load_config_file()
>   File
> "/usr/local/lib/python2.6/dist-packages/shinken/daemons/arbiterdaemon.py",
> line 317, in load_config_file
>     self.conf.pythonize()
>   File "/usr/local/lib/python2.6/dist-packages/shinken/objects/config.py",
> line 1263, in pythonize
>     self.services.pythonize()
>   File "/usr/local/lib/python2.6/dist-packages/shinken/objects/item.py",
> line 585, in pythonize
>     self.items[id].pythonize()
>   File "/usr/local/lib/python2.6/dist-packages/shinken/objects/item.py",
> line 183, in pythonize
>     new_val = tab.pythonize(getattr(self, prop))
>   File "/usr/local/lib/python2.6/dist-packages/shinken/property.py", line
> 149, in pythonize
>     return _boolean_states[val.lower()]
> KeyError: ''
>
>
Step to reproduce :
Create a service config with the "active_checks_enabled" variable without
giving it a value (no 0 and no 1)
for example

 define service {
>    service_description   MyService
>    use   generic-service
>    check_command   check_ldap
>    host_name   myserver
>    active_checks_enabled
>  }
>

It was quite hard to find and it may help someone else.

Thank you for your great job.

Regards,
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to