{
"info": {
"author": "Grupa Allegro Sp. z o.o. and Contributors",
"author_email": "it-ralph-dev@allegro.pl",
"bugtrack_url": null,
"classifiers": [],
"description": "============\nSelena Agent\n============\n\nIntroduction\n============\n\nSelena is a tool for monitoring website performance by monitoring response\ntimes, response codes and site content (via keyword checks).\n\nThis is its agent part responsible for gathering the data and sending back\nthe results.\n\nInstallation\n============\n\nRequirements\n~~~~~~~~~~~~\nSelena agent requires Python 2.7 which is included in the latest Ubuntu Server 12.04 LTS systems::\n\n $ sudo apt-get install python-dev python-virtualenv\n\nDependencies::\n\n $ sudo apt-get install libcurl3 libcurl4-openssl-dev\n\nMessage queue\n~~~~~~~~~~~~~\n\nSelena agent communicates with a central queue with `Redis `_ as the broker. Install redis::\n\n $ sudo apt-get install redis-server\n\nSince lost tasks can always be sent again, the durability guarantees which Redis\nprovides by default are not necessary. You can significantly speed up the queue\nby commenting out the ``save`` lines from ``/etc/redis/redis.conf``.\n\nWe can check the status of the Redis server::\n\n $ redis-cli -h localhost -p 6379 -n 0 info\n\nVirtual Environment\n~~~~~~~~~~~~~~~~~~~\n\nCreate a virtual environment for Python in the user's home directory::\n\n $ virtualenv . --distribute --no-site-packages\n\nSystem User\n~~~~~~~~~~~\n\nUnprivileged and not owned by a person::\n\n $ sudo adduser --home /home/selena-agent selena-agent\n $ sudo su - selena-agent\n\nIn any shell the user can *activate* the virtual environment. As a result, the\ndefault Python executable and helper scripts will point to those within the\nvirtualenv directory structure::\n\n $ which python\n /usr/local/bin/python\n $ source bin/activate\n (selena-agent)$ which python\n /home/selena-agent/bin/python\n\nInstalling from pip\n~~~~~~~~~~~~~~~~~~~\n\nSimply invoke::\n\n (selena-agent)$ pip install selena-agent\n\nInstalling from sources\n~~~~~~~~~~~~~~~~~~~~~~~\n\nAlternatively, to live on the bleeding edge, you can clone the selena-agent git\nrepository to ``project`` and install it manually::\n\n (selena-agent)$ git clone git://github.com/allegro/selena-agent.git project\n (selena-agent)$ cd project\n (selena-agent)$ pip install -e .\n\nConfiguration\n-------------\n\nCreate file ``selena-agent/settings-local.py`` and fill in the appropriate data:\n\nFill Redis connection data::\n\n REDIS_CONNECTION = {\n 'HOST': 'your redis host',\n 'PORT': 'your redis port',\n 'DB': None,\n 'PASSWORD': None,\n }\n\nRQ queue name::\n\n QUEUE_NAME = 'your RQ queue name'\n\nThe salt has to match the one from the main Selena administration page::\n\n SALT = 'taken from Selena system'\n\nRun\n---\nTo run selena-agent use the command::\n\n (selena-agent)$ selena-agent\n\nLicense\n=======\nSelena is licensed under the `Apache License, v2.0 `_.\n\nCopyright (c) 2013-2014 `Allegro Group `_.\n",
"description_content_type": null,
"docs_url": null,
"download_url": null,
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://github.com/allegro/selena-agent",
"keywords": null,
"license": "Apache Software License v2.0",
"maintainer": null,
"maintainer_email": null,
"name": "selena-agent",
"package_url": "https://pypi.org/project/selena-agent/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/selena-agent/",
"project_urls": {
"Homepage": "http://github.com/allegro/selena-agent"
},
"release_url": "https://pypi.org/project/selena-agent/1.0.3/",
"requires_dist": null,
"requires_python": null,
"summary": "SelenaAgent - Selena monitoring agent.",
"version": "1.0.3"
},
"last_serial": 1305037,
"releases": {
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "25277f14793f00fe48c15d4b6c77e5c9",
"sha256": "d094f77d7d23ccbd9de4fa8e4668b07dd70c0d63062befbda4fc788355fb4d93"
},
"downloads": -1,
"filename": "selena-agent-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "25277f14793f00fe48c15d4b6c77e5c9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4952,
"upload_time": "2013-05-24T07:10:51",
"url": "https://files.pythonhosted.org/packages/f7/58/9fe6efc5f596f9c205607e4d24fe4a7dee13297947c39c36bb4390e2217b/selena-agent-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "70bbed1d1a97b36f8aa1cc8a41956a41",
"sha256": "a58daaac91847441eaee4ea23d4d0c2354c2742eb0feadf3335fb06cb971fe58"
},
"downloads": -1,
"filename": "selena-agent-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "70bbed1d1a97b36f8aa1cc8a41956a41",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4986,
"upload_time": "2013-07-19T13:02:37",
"url": "https://files.pythonhosted.org/packages/c2/38/ba8d10945df18da697007c6617d8517cf36fce894bc1efeb261e5913ee6e/selena-agent-1.0.1.tar.gz"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "35172103ccb4118ab27d81528be799d8",
"sha256": "7198d88684bf6d9fa09a3579fa94241116791e0b207f4f27f03d998f55d7c2d0"
},
"downloads": -1,
"filename": "selena-agent-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "35172103ccb4118ab27d81528be799d8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5070,
"upload_time": "2013-12-18T10:15:36",
"url": "https://files.pythonhosted.org/packages/26/1c/ee2a2393ac475ef27fc8f5587b407ac2a89b6a7641376d0634506c9b97ca/selena-agent-1.0.2.tar.gz"
}
],
"1.0.3": [
{
"comment_text": "",
"digests": {
"md5": "f8d76dadd18966093fce193d1e7cd7ee",
"sha256": "f485f70bdf45b3d884ee349f57f418d28affb9b4a5976da3367efe95f6c747b7"
},
"downloads": -1,
"filename": "selena-agent-1.0.3.tar.gz",
"has_sig": true,
"md5_digest": "f8d76dadd18966093fce193d1e7cd7ee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5227,
"upload_time": "2014-11-13T08:15:33",
"url": "https://files.pythonhosted.org/packages/53/63/497220feaadd38a92f4b041cf8b5ebd33b43cd70c2fd7e5cd9cb516da297/selena-agent-1.0.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "f8d76dadd18966093fce193d1e7cd7ee",
"sha256": "f485f70bdf45b3d884ee349f57f418d28affb9b4a5976da3367efe95f6c747b7"
},
"downloads": -1,
"filename": "selena-agent-1.0.3.tar.gz",
"has_sig": true,
"md5_digest": "f8d76dadd18966093fce193d1e7cd7ee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5227,
"upload_time": "2014-11-13T08:15:33",
"url": "https://files.pythonhosted.org/packages/53/63/497220feaadd38a92f4b041cf8b5ebd33b43cd70c2fd7e5cd9cb516da297/selena-agent-1.0.3.tar.gz"
}
]
}