{"action":"created","issue":{"url":"https://api.github.com/repos/naparuba/shinken/issues/1604","labels_url":"https://api.github.com/repos/naparuba/shinken/issues/1604/labels{/name}","comments_url":"https://api.github.com/repos/naparuba/shinken/issues/1604/comments","events_url":"https://api.github.com/repos/naparuba/shinken/issues/1604/events","html_url":"https://github.com/naparuba/shinken/issues/1604","id":72120701,"number":1604,"title":"Shinken won't restart Arbiter","user":{"login":"algorys","id":8926922,"avatar_url":"https://avatars.githubusercontent.com/u/8926922?v=3","gravatar_id":"","url":"https://api.github.com/users/algorys","html_url":"https://github.com/algorys","followers_url":"https://api.github.com/users/algorys/followers","following_url":"https://api.github.com/users/algorys/following{/other_user}","gists_url":"https://api.github.com/users/algorys/gists{/gist_id}","starred_url":"https://api.github.com/users/algorys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algorys/subscriptions","organizations_url":"https://api.github.com/users/algorys/orgs","repos_url":"https://api.github.com/users/algorys/repos","events_url":"https://api.github.com/users/algorys/events{/privacy}","received_events_url":"https://api.github.com/users/algorys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-30T10:21:51Z","updated_at":"2015-04-30T14:45:00Z","closed_at":null,"body":"Hello,\r\n\r\nI've a problem with my shinken-arbiter, I don't know why but it won't restart correctly. Here is the output of log : \r\n\r\n[1430388835] INFO: [Shinken] I am the master Arbiter: arbiter-master\r\n[1430388835] INFO: [Shinken] My own modules: import-glpi,ws-arbiter\r\n[1430388835] INFO: [Shinken] Modules directory: /var/lib/shinken/modules\r\n[1430388835] INFO: [Shinken] Modules directory: /var/lib/shinken/modules\r\n[1430388835] INFO: [Shinken] [GLPI Arbiter] Get a Simple GLPI arbiter for plugin import-glpi\r\n[1430388835] INFO: [Shinken] [WS_Arbiter] Configuration done, host: 192.168.1.23(7760), username: anonymous)\r\n[1430388835] INFO: [Shinken] Trying to init module: import-glpi\r\n[1430388835] INFO: [Shinken] [GLPI Arbiter] I open the GLPI connection to http://localhost/glpi/plugins/webservices/xmlrpc.php\r\n[1430388835] INFO: [Shinken] [GLPI Arbiter] Connection opened\r\n[1430388835] INFO: [Shinken] [GLPI Arbiter] Authentication in progress\r\n[1430388835] INFO: [Shinken] [GLPI Arbiter] Authenticated, session : 0khjnhftp53r9mae5g8gcc3ta1\r\n[1430388835] INFO: [Shinken] I correctly loaded the modules: [import-glpi,ws-arbiter]\r\n[1430388836] INFO: [Shinken] [GLPI Arbiter] Returning all data to Arbiter\r\n[1430388836] CRITICAL: [Shinken] I got an unrecoverable error. I have to exit.\r\n[1430388836] CRITICAL: [Shinken] You can get help at https://github.com/naparuba/shinken\r\n[1430388836] CRITICAL: [Shinken] If you think this is a bug, create a new ticket including details mentioned in the README\r\n[1430388836] CRITICAL: [Shinken] Back trace of the error: Traceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/shinken/daemons/arbiterdaemon.py\", line 594, in main\r\n    self.load_config_file()\r\n  File \"/usr/local/lib/python2.7/dist-packages/shinken/daemons/arbiterdaemon.py\", line 365, in load_config_file\r\n    self.conf.create_objects(raw_objects)\r\n  File \"/usr/local/lib/python2.7/dist-packages/shinken/objects/config.py\", line 717, in create_objects\r\n    self.create_objects_for_type(raw_objects, t)\r\n  File \"/usr/local/lib/python2.7/dist-packages/shinken/objects/config.py\", line 736, in create_objects_for_type\r\n    o = cls(obj_cfg)\r\n  File \"/usr/local/lib/python2.7/dist-packages/shinken/objects/item.py\", line 96, in __init__\r\n    val = self.properties[key].pythonize(params[key])\r\n  File \"/usr/local/lib/python2.7/dist-packages/shinken/property.py\", line 182, in pythonize\r\n    return to_int(val)\r\n  File \"/usr/local/lib/python2.7/dist-packages/shinken/util.py\", line 234, in to_int\r\n    return int(float(val))\r\nValueError: could not convert string to float:\r\n\r\nThat's strange, because before he restart without problem. So he does not want to talk glpi and take the new services created. I think the problem is Shinken, that's why I post here.\r\n\r\nHere is my config : \r\nShinken 2.2\r\nDebian 7\r\n\r\nIf you want more information, I can give you.\r\n\r\nThanks for help."},"comment":{"url":"https://api.github.com/repos/naparuba/shinken/issues/comments/97825329","html_url":"https://github.com/naparuba/shinken/issues/1604#issuecomment-97825329","issue_url":"https://api.github.com/repos/naparuba/shinken/issues/1604","id":97825329,"user":{"login":"ddurieux","id":239744,"avatar_url":"https://avatars.githubusercontent.com/u/239744?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurieux","html_url":"https://github.com/ddurieux","followers_url":"https://api.github.com/users/ddurieux/followers","following_url":"https://api.github.com/users/ddurieux/following{/other_user}","gists_url":"https://api.github.com/users/ddurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurieux/subscriptions","organizations_url":"https://api.github.com/users/ddurieux/orgs","repos_url":"https://api.github.com/users/ddurieux/repos","events_url":"https://api.github.com/users/ddurieux/events{/privacy}","received_events_url":"https://api.github.com/users/ddurieux/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T14:45:00Z","updated_at":"2015-04-30T14:45:00Z","body":"Need version of plugin monitoring.\r\n\r\nCan you generate config files with php script in glpi/plugins/monitoring/scripts/getconfig.php. I think with the cfg files we can see the problem"}}