{"action":"created","comment":{"url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/comments/80115340","id":80115340,"diff_hunk":"@@ -1,32 +1,312 @@\n #!/usr/bin/env python\n # -*- coding: utf-8 -*-\n \n-from __future__ import with_statement\n-\n-from setuptools import setup, find_packages\n-\n import os\n-import setuptools\n+import sys\n+import re\n+import datetime\n+del os.link\n+import fileinput\n \n+try:\n+    import distutils.core\n+    from distutils.command.install_data import install_data as _install_data\n+\n+    from setuptools import setup, find_packages\n+    from setuptools.command.install import install as _install\n+    from setuptools.command.develop import develop as _develop\n+except:\n+    sys.exit(\"Error: missing python-setuptools library\")\n \n-# Fix for debian 7 python that raise error on at_exit at the end of setup.py\n-# (cf http://bugs.python.org/issue15881)\n try:\n-    import multiprocessing\n-except ImportError:\n-    pass\n+    python_version = sys.version_info\n+except:\n+    python_version = (1, 5)\n+if python_version < (2, 7):\n+    sys.exit(\"This application requires a minimum Python 2.7.x, sorry!\")\n+elif python_version >= (3,):\n+    sys.exit(\"This application is not yet compatible with Python 3.x, sorry!\")\n+\n+\n+# Better to use exec to load the package information from a version.py file\n+# so to not have to import the package. as of it, the setup.py do not need to be modified\n+# for each package that is built from this one...\n+with open(os.path.join('version.py')) as fh:\n+    manifest = {}\n+    exec(fh.read(), manifest)\n+\n+\n+def get_alignak_cfg():\n+    \"\"\"\n+        Search for an */usr/local/etc/default/alignak* or *etc/default/alignak* file\n+        and parse its content to find out Alignak main paths\n+\n+        Returns a dict with the found elements and their respective value\n+    \"\"\"\n+    alignak_cfg = {\n+        'ALIGNAKETC': '/usr/local/etc/alignak',\n+        'ALIGNAKVAR': '/usr/local/var/lib/alignak',\n+        'ALIGNAKBIN': '/usr/local/bin',\n+        'ALIGNAKRUN': '/usr/local/var/run/alignak',\n+        'ALIGNAKLOG': '/usr/local/var/log/alignak',\n+        'ALIGNAKLIB': '/usr/local/var/libexec/alignak',\n+        'ALIGNAKUSER': 'alignak',\n+        'ALIGNAKGROUP': 'alignak'\n+    }\n+\n+    # Search Alignak main configuration file\n+    alignak_etc_default = None\n+    if os.path.isfile(\"/usr/local/etc/default/alignak\"):\n+        alignak_etc_default = \"/usr/local/etc/default/alignak\"\n+    elif os.path.isfile(\"/etc/default/alignak\"):\n+        alignak_etc_default = \"/etc/default/alignak\"\n+    else:\n+        print(\"Alignak 'default/alignak' file not found. \"\n+              \"You host is probably A Bsd or DragonFly Unix system, else \"\n+              \"Alignak is not installed on this host!\\n\"\n+              \"Assuming Unix standard file structure based on /usr/local\")\n+        return alignak_cfg\n+\n+    # Parse Alignak configuration file\n+    with open(alignak_etc_default, \"r\") as etc_file:\n+        for line in etc_file:\n+            line = line.strip()\n+\n+            if line.startswith('ETC'):\n+                alignak_cfg['ALIGNAKETC'] = line.split('=')[1]\n+            elif line.startswith('VAR'):\n+                alignak_cfg['ALIGNAKVAR'] = line.split('=')[1]\n+            elif line.startswith('BIN'):\n+                alignak_cfg['ALIGNAKBIN'] = line.split('=')[1]\n+            elif line.startswith('RUN'):\n+                alignak_cfg['ALIGNAKRUN'] = line.split('=')[1]\n+            elif line.startswith('LOG'):\n+                alignak_cfg['ALIGNAKLOG'] = line.split('=')[1]\n+            elif line.startswith('LIB'):\n+                alignak_cfg['ALIGNAKLIB'] = line.split('=')[1]\n+            elif line.startswith('ALIGNAKUSER'):\n+                alignak_cfg['ALIGNAKUSER'] = line.split('=')[1]\n+            elif line.startswith('ALIGNAKGROUP'):\n+                alignak_cfg['ALIGNAKGROUP'] = line.split('=')[1]\n+        etc_file.close()\n+\n+    # Check Alignak configuration directory\n+    if not os.path.exists(alignak_cfg['ALIGNAKETC']):\n+        print(\"Alignak configuration directory (%s) not found: \"\n+              \"does not seem to be installed on this host!\" % alignak_cfg['ALIGNAKETC'])\n+        return None\n+\n+    # Check Alignak plugins directory\n+    if not os.path.exists(alignak_cfg['ALIGNAKLIB']):\n+        print(\"Alignak plugins directory (%s) not found: \"\n+              \"does not seem to be installed on this host!\" % alignak_cfg['ALIGNAKLIB'])\n+        return None\n+\n+    return alignak_cfg\n+\n+\n+# Overloading setup.py install_data\n+class my_install_data(_install_data):\n+    \"\"\"\n+    Overload the default copy of files\n+    \"\"\"\n+    def run(self):\n+        \"\"\"\n+        Overload the default copy of files:\n+        1/ copy the data files in their respective directories\n+        2/ parse each file in the to_be_parsed_files list:\n+            - search each line with one of these patterns:\n+                ALIGNAKETC\n+                ALIGNAKVAR\n+                ALIGNAKBIN\n+                ALIGNAKRUN\n+                ALIGNAKLOG\n+                ALIGNAKLIB\n+                ALIGNAKUSER\n+                ALIGNAKGROUP\n+            - replace found pattern with the value determined for each variable\n+        \"\"\"\n+        # Before data files installation ...\n+        # ... backup existing files\n+        if to_be_installed_files:\n+            installation_date = datetime.datetime.now().strftime('%Y-%m-%d_%H-%M-%S')\n+\n+            print \"Checking former existing files...\"\n+            for dir,file in to_be_installed_files:\n+                filename = os.path.join(dir, file)\n+                if os.path.isfile(filename):\n+                    bkp_file = \"%s_%s%s_\" % (\n+                        os.path.splitext(filename)[0],\n+                        installation_date,\n+                        os.path.splitext(filename)[1]\n+                    )\n+                    print \" -> backing up file: %s/%s to %s\" % (dir, file, bkp_file)\n+                    os.rename(filename, bkp_file)\n+                    print \" -> backed up: %s/%s\" % (dir, file)\n+\n+        # Setuptools install_data ...\n+        _install_data.run(self)\n+\n+        # After data files installation ...\n+        # ... parse configuration files to update installation dir\n+        if to_be_parsed_files:\n+            # Prepare pattern for alignak.cfg\n+            to_change = re.compile(\"|\".join(alignak_cfg.keys()))\n+\n+            print \"Parsing files...\"\n+            for dir,file in to_be_parsed_files:\n+                print \" -> parsing %s%s\" % (dir,file)\n+\n+                # Parse file\n+                for line in fileinput.input(os.path.join(dir, file), inplace=True):\n+                    print(to_change.sub(lambda m: alignak_cfg[re.escape(m.group(0))], line))\n+\n+                # Rename .parse file\n+                os.rename(os.path.join(dir, file), os.path.join(dir, file[:-6]))\n+                print \" -> parsed %s%s\" % (dir,file[:-6])\n+\n+# Get default Alignak paths ...\n+alignak_cfg = get_alignak_cfg()\n+if not alignak_cfg:\n+    sys.exit(\"Alignak default paths not found!\")\n+\n+print \"Alignak config: \"\n+for path in alignak_cfg:\n+    print \" %s = %s\" % (path, alignak_cfg[path])\n+\n+# Define installation paths\n+# Get Alignak root installation directory","path":"setup.py","position":188,"original_position":188,"commit_id":"5b51ff71af5278cf887021354e374873eea3bb00","original_commit_id":"5b51ff71af5278cf887021354e374873eea3bb00","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},"body":"Get Alignak root configuration directory","created_at":"2016-09-22T19:14:57Z","updated_at":"2016-09-22T19:14:57Z","html_url":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca/pull/2#discussion_r80115340","pull_request_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/comments/80115340"},"html":{"href":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca/pull/2#discussion_r80115340"},"pull_request":{"href":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/2","id":86393365,"html_url":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca/pull/2","diff_url":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca/pull/2.diff","patch_url":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca/pull/2.patch","issue_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/issues/2","number":2,"state":"open","locked":false,"title":"Changed setup process","user":{"login":"mohierf","id":2932687,"avatar_url":"https://avatars.githubusercontent.com/u/2932687?v=3","gravatar_id":"","url":"https://api.github.com/users/mohierf","html_url":"https://github.com/mohierf","followers_url":"https://api.github.com/users/mohierf/followers","following_url":"https://api.github.com/users/mohierf/following{/other_user}","gists_url":"https://api.github.com/users/mohierf/gists{/gist_id}","starred_url":"https://api.github.com/users/mohierf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohierf/subscriptions","organizations_url":"https://api.github.com/users/mohierf/orgs","repos_url":"https://api.github.com/users/mohierf/repos","events_url":"https://api.github.com/users/mohierf/events{/privacy}","received_events_url":"https://api.github.com/users/mohierf/received_events","type":"User","site_admin":false},"body":"The setup process is modified to be similar with the one used for the checks packs.\r\n- configuration files can be parsed for Alignak main configuration variables\r\n- configuration files are backed-up if they exist","created_at":"2016-09-22T18:50:35Z","updated_at":"2016-09-22T19:14:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44dd1e151fc49c0de2961442983c778ed9d6cea6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/issues/2/comments","statuses_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/statuses/5b51ff71af5278cf887021354e374873eea3bb00","head":{"label":"Alignak-monitoring-contrib:setup","ref":"setup","sha":"5b51ff71af5278cf887021354e374873eea3bb00","user":{"login":"Alignak-monitoring-contrib","id":14056682,"avatar_url":"https://avatars.githubusercontent.com/u/14056682?v=3","gravatar_id":"","url":"https://api.github.com/users/Alignak-monitoring-contrib","html_url":"https://github.com/Alignak-monitoring-contrib","followers_url":"https://api.github.com/users/Alignak-monitoring-contrib/followers","following_url":"https://api.github.com/users/Alignak-monitoring-contrib/following{/other_user}","gists_url":"https://api.github.com/users/Alignak-monitoring-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/Alignak-monitoring-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alignak-monitoring-contrib/subscriptions","organizations_url":"https://api.github.com/users/Alignak-monitoring-contrib/orgs","repos_url":"https://api.github.com/users/Alignak-monitoring-contrib/repos","events_url":"https://api.github.com/users/Alignak-monitoring-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/Alignak-monitoring-contrib/received_events","type":"Organization","site_admin":false},"repo":{"id":46176987,"name":"alignak-module-nsca","full_name":"Alignak-monitoring-contrib/alignak-module-nsca","owner":{"login":"Alignak-monitoring-contrib","id":14056682,"avatar_url":"https://avatars.githubusercontent.com/u/14056682?v=3","gravatar_id":"","url":"https://api.github.com/users/Alignak-monitoring-contrib","html_url":"https://github.com/Alignak-monitoring-contrib","followers_url":"https://api.github.com/users/Alignak-monitoring-contrib/followers","following_url":"https://api.github.com/users/Alignak-monitoring-contrib/following{/other_user}","gists_url":"https://api.github.com/users/Alignak-monitoring-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/Alignak-monitoring-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alignak-monitoring-contrib/subscriptions","organizations_url":"https://api.github.com/users/Alignak-monitoring-contrib/orgs","repos_url":"https://api.github.com/users/Alignak-monitoring-contrib/repos","events_url":"https://api.github.com/users/Alignak-monitoring-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/Alignak-monitoring-contrib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca","description":"Alignak receiver module to handle NSCA passive checks","fork":false,"url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca","forks_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/forks","keys_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/teams","hooks_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/hooks","issue_events_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/issues/events{/number}","events_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/events","assignees_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/assignees{/user}","branches_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/branches{/branch}","tags_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/tags","blobs_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/statuses/{sha}","languages_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/languages","stargazers_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/stargazers","contributors_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/contributors","subscribers_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/subscribers","subscription_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/subscription","commits_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/contents/{+path}","compare_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/merges","archive_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/downloads","issues_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/issues{/number}","pulls_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls{/number}","milestones_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/milestones{/number}","notifications_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/labels{/name}","releases_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/releases{/id}","deployments_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/deployments","created_at":"2015-11-14T14:10:55Z","updated_at":"2016-09-10T05:26:11Z","pushed_at":"2016-09-22T18:50:36Z","git_url":"git://github.com/Alignak-monitoring-contrib/alignak-module-nsca.git","ssh_url":"git@github.com:Alignak-monitoring-contrib/alignak-module-nsca.git","clone_url":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca.git","svn_url":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca","homepage":"","size":28,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Alignak-monitoring-contrib:master","ref":"master","sha":"fc2c8c469c288d438052f2b1b1ff7489befc73b6","user":{"login":"Alignak-monitoring-contrib","id":14056682,"avatar_url":"https://avatars.githubusercontent.com/u/14056682?v=3","gravatar_id":"","url":"https://api.github.com/users/Alignak-monitoring-contrib","html_url":"https://github.com/Alignak-monitoring-contrib","followers_url":"https://api.github.com/users/Alignak-monitoring-contrib/followers","following_url":"https://api.github.com/users/Alignak-monitoring-contrib/following{/other_user}","gists_url":"https://api.github.com/users/Alignak-monitoring-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/Alignak-monitoring-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alignak-monitoring-contrib/subscriptions","organizations_url":"https://api.github.com/users/Alignak-monitoring-contrib/orgs","repos_url":"https://api.github.com/users/Alignak-monitoring-contrib/repos","events_url":"https://api.github.com/users/Alignak-monitoring-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/Alignak-monitoring-contrib/received_events","type":"Organization","site_admin":false},"repo":{"id":46176987,"name":"alignak-module-nsca","full_name":"Alignak-monitoring-contrib/alignak-module-nsca","owner":{"login":"Alignak-monitoring-contrib","id":14056682,"avatar_url":"https://avatars.githubusercontent.com/u/14056682?v=3","gravatar_id":"","url":"https://api.github.com/users/Alignak-monitoring-contrib","html_url":"https://github.com/Alignak-monitoring-contrib","followers_url":"https://api.github.com/users/Alignak-monitoring-contrib/followers","following_url":"https://api.github.com/users/Alignak-monitoring-contrib/following{/other_user}","gists_url":"https://api.github.com/users/Alignak-monitoring-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/Alignak-monitoring-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alignak-monitoring-contrib/subscriptions","organizations_url":"https://api.github.com/users/Alignak-monitoring-contrib/orgs","repos_url":"https://api.github.com/users/Alignak-monitoring-contrib/repos","events_url":"https://api.github.com/users/Alignak-monitoring-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/Alignak-monitoring-contrib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca","description":"Alignak receiver module to handle NSCA passive checks","fork":false,"url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca","forks_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/forks","keys_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/teams","hooks_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/hooks","issue_events_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/issues/events{/number}","events_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/events","assignees_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/assignees{/user}","branches_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/branches{/branch}","tags_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/tags","blobs_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/statuses/{sha}","languages_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/languages","stargazers_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/stargazers","contributors_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/contributors","subscribers_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/subscribers","subscription_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/subscription","commits_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/contents/{+path}","compare_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/merges","archive_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/downloads","issues_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/issues{/number}","pulls_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls{/number}","milestones_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/milestones{/number}","notifications_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/labels{/name}","releases_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/releases{/id}","deployments_url":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/deployments","created_at":"2015-11-14T14:10:55Z","updated_at":"2016-09-10T05:26:11Z","pushed_at":"2016-09-22T18:50:36Z","git_url":"git://github.com/Alignak-monitoring-contrib/alignak-module-nsca.git","ssh_url":"git@github.com:Alignak-monitoring-contrib/alignak-module-nsca.git","clone_url":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca.git","svn_url":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca","homepage":"","size":28,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/2"},"html":{"href":"https://github.com/Alignak-monitoring-contrib/alignak-module-nsca/pull/2"},"issue":{"href":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/issues/2"},"comments":{"href":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Alignak-monitoring-contrib/alignak-module-nsca/statuses/5b51ff71af5278cf887021354e374873eea3bb00"}}}}
{"actor":{"display_login":"ddurieux"}}