{"action":"created","issue":{"url":"https://api.github.com/repos/naparuba/shinken/issues/1584","labels_url":"https://api.github.com/repos/naparuba/shinken/issues/1584/labels{/name}","comments_url":"https://api.github.com/repos/naparuba/shinken/issues/1584/comments","events_url":"https://api.github.com/repos/naparuba/shinken/issues/1584/events","html_url":"https://github.com/naparuba/shinken/issues/1584","id":70320866,"number":1584,"title":"Shinken-discovery - Python error","user":{"login":"gramimoss","id":5765483,"avatar_url":"https://avatars.githubusercontent.com/u/5765483?v=3","gravatar_id":"","url":"https://api.github.com/users/gramimoss","html_url":"https://github.com/gramimoss","followers_url":"https://api.github.com/users/gramimoss/followers","following_url":"https://api.github.com/users/gramimoss/following{/other_user}","gists_url":"https://api.github.com/users/gramimoss/gists{/gist_id}","starred_url":"https://api.github.com/users/gramimoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gramimoss/subscriptions","organizations_url":"https://api.github.com/users/gramimoss/orgs","repos_url":"https://api.github.com/users/gramimoss/repos","events_url":"https://api.github.com/users/gramimoss/events{/privacy}","received_events_url":"https://api.github.com/users/gramimoss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-23T06:14:52Z","updated_at":"2015-04-23T09:23:41Z","closed_at":"2015-04-23T09:23:41Z","body":"Hi I installed a fresh version on shinken 2.4-RC1 using the pip install method\r\n\r\nWhen i try to run the shinken-discovery I get the following errors\r\n```\r\nshinken-discovery -c /etc/shinken/discovery/discovery.cfg -o /etc/shinken/hosts/discovery/ -r nmap -m \r\n\r\n--> pfkdbnfw01 isup 1\r\n--> pfkdbnfw01 os linux\r\n--> pfkdbnfw01 osversion 2.4.x\r\n--> pfkdbnfw01 ostype wap\r\n--> pfkdbnfw01 osvendor linux\r\n--> pfkdbnfw01 macvendor usc information sciences inst\r\n--> pfkdbnfw01 openports 22,53,80,1723,8291,53\r\n--> pfkdbnfw01 fqdn pfkdbnfw01.pfksa.co.za\r\n--> pfkdbnfw01 ip XXX.XXX.XXX.XXX \r\nTry to match windows linux\r\nTry to match 2000 2.4.x\r\nTry to match 2003 2.4.x\r\nTry to match vista 2.4.x\r\nTry to match 7 2.4.x\r\nTry to match ^5036$ 22\r\nTry to match ^5036$ 53\r\nTry to match ^5036$ 80\r\nTry to match ^5036$ 1723\r\nTry to match switch wap\r\nTry to match router wap\r\nTry to match linux linux\r\nGenerating pfkdbnfw01 {u'+use': u'linux-snmp'}\r\nTry to match 1 1\r\nGenerating pfkdbnfw01 {u'+use': u'generic-host'}\r\nNew prop use\r\nAdd linux-snmp\r\nAlready got linux-snmp add generic-host\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/shinken-discovery\", line 170, in <module>\r\n    d.match_rules()\r\n  File \"/usr/lib/python2.6/site-packages/shinken/discovery/discoverymanager.py\", line 503, in match_rules\r\n    dh.update_properties()\r\n  File \"/usr/lib/python2.6/site-packages/shinken/discovery/discoverymanager.py\", line 161, in update_properties\r\n    if isinstance(d[k], 'list'):\r\nTypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types\r\n```\r\n\r\nI'm no programmer and hope that it is a quick fix.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/naparuba/shinken/issues/comments/95507810","html_url":"https://github.com/naparuba/shinken/issues/1584#issuecomment-95507810","issue_url":"https://api.github.com/repos/naparuba/shinken/issues/1584","id":95507810,"user":{"login":"naparuba","id":445325,"avatar_url":"https://avatars.githubusercontent.com/u/445325?v=3","gravatar_id":"","url":"https://api.github.com/users/naparuba","html_url":"https://github.com/naparuba","followers_url":"https://api.github.com/users/naparuba/followers","following_url":"https://api.github.com/users/naparuba/following{/other_user}","gists_url":"https://api.github.com/users/naparuba/gists{/gist_id}","starred_url":"https://api.github.com/users/naparuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naparuba/subscriptions","organizations_url":"https://api.github.com/users/naparuba/orgs","repos_url":"https://api.github.com/users/naparuba/repos","events_url":"https://api.github.com/users/naparuba/events{/privacy}","received_events_url":"https://api.github.com/users/naparuba/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T09:23:41Z","updated_at":"2015-04-23T09:23:41Z","body":"Fixed by: a02c8aae7f434d5c3455d59752fcb426f63b759e\r\n\r\nIf not reopen :)"}}