{ "info": { "author": "Mikel Larreategi", "author_email": "mlarreategi@codesyntax.com", "bugtrack_url": null, "classifiers": [], "description": "=====================\nCabot Telegram Plugin\n=====================\n\nBased on: https://github.com/lblasc/cabot-alert-slack\n\nThis is an alert plugin for the cabot service monitoring tool. It allows you to alert users using a `Telegram`_ chat room.\n\nInstallation\n==============\n\nEnter the cabot virtual environment::\n\n $ pip install cabot_alert_telegram\n $ foreman stop\n\n\nor::\n\n\n $ pip install git+git://github.com/codesyntax/cabot_alert_telegram.git\n $ foreman stop\n\n\nEdit `conf/*.env`::\n\n\n CABOT_PLUGINS_ENABLED=cabot_alert_telegram=0.4\n ...\n TELEGRAM_BOT_TOKEN=bot_token\n TELEGRAM_CHAT_ID=id of the chat where messages will be sent\n\n\nAdd cabot_alert_telegram to the installed apps in settings.py::\n\n $ foreman run python manage.py syncdb\n $ foreman start\n\nAdd manually an instance of the Alert Plugin (sometimes it is not added automatically)::\n\n $ ssh ubuntu@server\n $ source venv/bin/activate\n $ cd cabot\n $ foreman run -e conf/production.env python manage.py shell # point to the correct production.env file\n Python 2.7.3 (default, Dec 18 2014, 19:10:20)\n [GCC 4.6.3] on linux2\n Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n (InteractiveConsole)\n >>> from cabot_alert_telegram.models import TelegramAlert\n >>> ta = TelegramAlert()\n >>> ta.title = u'Telegram'\n >>> ta.save()\n >>> (Ctrl-D to exit)\n\n\nTelegram Bot\n============\n\nYou need to create a Telegram bot which will be used to send the messages to the users. To create a new Telegram Bot check the official documentation at https://core.telegram.org/bots\n\nYou need to create a new Group Chat, add all your users to that chatroom and add also the Bot there.\n\nTo get the chat id, open https://telegram.me and select the group chat you previously created. Check the URL, it will be something like this::\n\n https://web.telegram.org/#/im?p=g99999999\n\nYou need to not the value of p parameter (g99999999) and exchange **g** with a **-**: **-99999999**\n\nThis is a bit hacky, but I don't know any other way to get the group id.\n\n\n.. _Telegram: https://telegram.org\n\n0.6 (2018-05-29)\n================\n\n- Include migrations [ex0ns]\n\n0.5 (2016-11-07)\n================\n\n- Simpler alert message [garaolaza]\n\n0.4 (2016-01-21)\n================\n\n- rework readme [Mikel Larreategi ]\n\n- remove unneeded slack test [Mikel Larreategi ]\n\n- add whitespace to make links correctly clickable [Mikel Larreategi ]\n\n- document telegram install [Mikel Larreategi ]\n\n- bot documentation [Mikel Larreategi ]\n\n- remove [Mikel Larreategi ]\n\n\n\n0.3 (2015-07-02)\n================\n\n- bump [Mikel Larreategi ]\n\n- alert text change [Mikel Larreategi ]\n\n\n\n0.2 (2015-07-02)\n================\n\n- document the bot [Mikel Larreategi ]\n\n- reformat message [Mikel Larreategi ]\n\n- reformat [Mikel Larreategi ]\n\n- docs [Mikel Larreategi ]\n\n- Merge remote-tracking branch 'origin/master' [Mikel Larreategi ]\n\n- Update README.md [Aitzol ]\n\n\n\n0.1 (2015-07-02)\n================\n\n- history! [Mikel Larreategi ]\n\n- version [Mikel Larreategi ]", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/codesyntax/cabot_alert_telegram", "keywords": "", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "cabot_alert_telegram", "package_url": "https://pypi.org/project/cabot_alert_telegram/", "platform": "", "project_url": "https://pypi.org/project/cabot_alert_telegram/", "project_urls": { "Homepage": "https://github.com/codesyntax/cabot_alert_telegram" }, "release_url": "https://pypi.org/project/cabot_alert_telegram/0.6/", "requires_dist": null, "requires_python": "", "summary": "A Telegram alert plugin for Cabot by Arachnys", "version": "0.6" }, "last_serial": 3908023, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d79952770525a7acf4fc2bb218f8bd91", "sha256": "a87a6319d51938b195b9278c9d3e70fe8777fd6721d615d523a2530993ad0abf" }, "downloads": -1, "filename": "cabot_alert_telegram-0.1.zip", "has_sig": false, "md5_digest": "d79952770525a7acf4fc2bb218f8bd91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7257, "upload_time": "2015-07-02T07:59:03", "url": "https://files.pythonhosted.org/packages/6e/25/e03a8ce93cfdfc4bd4bdb75457562073fffd468c9c5e61f1616a4b4a76aa/cabot_alert_telegram-0.1.zip" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "e1a6c2934982b9f3e701dbd8c16706af", "sha256": "8b94521c1690f37b75d9a0187d8e6dee18f0c07bb0193569bd5ebb0791dd4cfb" }, "downloads": -1, "filename": "cabot_alert_telegram-0.2.tar.gz", "has_sig": false, "md5_digest": "e1a6c2934982b9f3e701dbd8c16706af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4571, "upload_time": "2015-07-02T08:32:48", "url": "https://files.pythonhosted.org/packages/12/bf/05388efc27c3c585a2adf6033e3e55dd88f23ef29802969721dfb98f30c8/cabot_alert_telegram-0.2.tar.gz" } ], "0.2.dev0": [], "0.3": [ { "comment_text": "", "digests": { "md5": "a5066f85d7bdda832aad62ba9cf3f048", "sha256": "2e8f04b9e1bdc87f7e440dca129a7da1bb1f99e219f3794d0f863c55757518bf" }, "downloads": -1, "filename": "cabot_alert_telegram-0.3.tar.gz", "has_sig": false, "md5_digest": "a5066f85d7bdda832aad62ba9cf3f048", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7458, "upload_time": "2015-07-02T09:15:57", "url": "https://files.pythonhosted.org/packages/bb/f6/9ebd45bf658ef48bab535dd3406f5648b3d67f046db065f44fd69957a8b9/cabot_alert_telegram-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "a7514310b8f6243b6ff0b559504f312b", "sha256": "d9b84d973bb5b4ef025f62519a82f43472a51eb3b859b6a0beb851cdb322b927" }, "downloads": -1, "filename": "cabot_alert_telegram-0.4.tar.gz", "has_sig": false, "md5_digest": "a7514310b8f6243b6ff0b559504f312b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4537, "upload_time": "2016-01-21T12:28:08", "url": "https://files.pythonhosted.org/packages/e5/ab/9498a06dd054da23a175d4b865394451d14883fb515266155ce6c625df24/cabot_alert_telegram-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "85de5ecd16d7713fa33110fd68a8154c", "sha256": "8d2ebf5cf203da00ef52dff5a64619c4d19aab566a207661d2038599d6de5f9d" }, "downloads": -1, "filename": "cabot_alert_telegram-0.5.tar.gz", "has_sig": false, "md5_digest": "85de5ecd16d7713fa33110fd68a8154c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4570, "upload_time": "2016-11-07T15:14:40", "url": "https://files.pythonhosted.org/packages/87/be/30f382b3a6c4a53c9d19e1455d808e62bbd577313cbec60a9c5f41e57611/cabot_alert_telegram-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "0e8a905b5eb272953eebf39fc5914468", "sha256": "1088031da3be3aa8d6afb65e4ca54953dde2dcd5c3c194d3a258256d03f66af5" }, "downloads": -1, "filename": "cabot_alert_telegram-0.6.tar.gz", "has_sig": false, "md5_digest": "0e8a905b5eb272953eebf39fc5914468", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4921, "upload_time": "2018-05-29T07:17:34", "url": "https://files.pythonhosted.org/packages/ec/05/e0f7e22d96ffc43adfab216ace56bd0ae1f26746c3d0eaa7e49eb02f7186/cabot_alert_telegram-0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0e8a905b5eb272953eebf39fc5914468", "sha256": "1088031da3be3aa8d6afb65e4ca54953dde2dcd5c3c194d3a258256d03f66af5" }, "downloads": -1, "filename": "cabot_alert_telegram-0.6.tar.gz", "has_sig": false, "md5_digest": "0e8a905b5eb272953eebf39fc5914468", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4921, "upload_time": "2018-05-29T07:17:34", "url": "https://files.pythonhosted.org/packages/ec/05/e0f7e22d96ffc43adfab216ace56bd0ae1f26746c3d0eaa7e49eb02f7186/cabot_alert_telegram-0.6.tar.gz" } ] }