{ "info": { "author": "Arista Telemetry Team", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7" ], "description": "Telemetry email alerter\n=======================\n\nPython script that allows you to subscribe to Arista Telemetry events and then send them to an SMTP server for email notifications.\n\nEmails are sent for events that occur while the alerter is running\u2014you won't get alerts for past events.\n\nWe recommend you set up email filters to limit notifications. For example, you can set up filters to ignore \"INFO\" events based on the email subject.\n\nInstallation\n------------\n\nPython 2.7 and `pip `__ are required.\n\nYou can download the alerter via ``pip`` by running ``pip install telemetry-email-alerter``.\n\nUsage\n-----\n\nYou can start up the alerter by running:\n\n::\n\n telemetry-email-alerter ... \n\nThe full list of arguments accepted by the script are listed below.\n\n+-----------------------+-----------------+-----------------+-----------------+\n| Name | Required? | Default | Description |\n+=======================+=================+=================+=================+\n| telemetryUrl | yes | \u2014 | The IP address |\n| | | | or hostname of |\n| | | | your CVP |\n| | | | Telemetry |\n| | | | instance |\n+-----------------------+-----------------+-----------------+-----------------+\n| smtpServer | yes | \u2014 | The IP address |\n| | | | or hostname of |\n| | | | your SMTP |\n| | | | (email) server |\n+-----------------------+-----------------+-----------------+-----------------+\n| sendToAddress | yes | \u2014 | The emails to |\n| | | | send |\n| | | | notifications |\n| | | | to. You can |\n| | | | specify |\n| | | | multiple emails |\n+-----------------------+-----------------+-----------------+-----------------+\n| --sendCcAddress | no | \u2014 | Emails to CC |\n| a@example.com | | | notifications |\n| b@example.com | | | for. You can |\n| | | | specify |\n| | | | multiple emails |\n+-----------------------+-----------------+-----------------+-----------------+\n| --port 1234 | no | 465 | The port your |\n| | | | SMTP server |\n| | | | listens to if |\n| | | | it use a |\n| | | | non-standard |\n| | | | port |\n+-----------------------+-----------------+-----------------+-----------------+\n| --subjectPrefix | no | [CloudVision | A message to |\n| 'CVP Alert' | | Telemetry] | prepend to |\n| | | | email subjects |\n+-----------------------+-----------------+-----------------+-----------------+\n| --noSmtpSsl | no | off (SSL is | Disable SSL for |\n| | | used) | SMTP |\n| | | | connections |\n+-----------------------+-----------------+-----------------+-----------------+\n| --smtpUsername | no | \u2014 | SMTP server |\n| a@example.com | | | username if |\n| | | | authentication |\n| | | | is required |\n+-----------------------+-----------------+-----------------+-----------------+\n| --smtpPassword | no | \u2014 | SMTP server |\n| secret | | | password if |\n| | | | authentication |\n| | | | is required. |\n| | | | You will be |\n| | | | prompted at |\n| | | | startup if this |\n| | | | is not provided |\n+-----------------------+-----------------+-----------------+-----------------+\n| --noTelemetrySsl | no | off (SSL is | Disable SSL for |\n| | | used) | Telemetry |\n| | | | connections |\n+-----------------------+-----------------+-----------------+-----------------+\n| --telemetryUsername | no | \u2014 | Telemetry |\n| example | | | username if |\n| | | | authentication |\n| | | | is required |\n+-----------------------+-----------------+-----------------+-----------------+\n| --telemetryPassword | no | \u2014 | Telemetry |\n| secret | | | password if |\n| | | | authentication |\n| | | | is required. |\n| | | | You will be |\n| | | | prompted at |\n| | | | startup if this |\n| | | | is not provided |\n+-----------------------+-----------------+-----------------+-----------------+\n| --noSslValidation | no | off (validation | Disables |\n| | | is used) | validation of |\n| | | | SSL |\n| | | | certificates. |\n| | | | For debugging |\n| | | | purposes. Not |\n| | | | advised to use |\n| | | | in real |\n| | | | environments |\n+-----------------------+-----------------+-----------------+-----------------+\n| --verbose | no | off | Show logging |\n| | | | messages |\n+-----------------------+-----------------+-----------------+-----------------+\n\nUsing an SMTP server\n--------------------\n\nWe recommend you use an SMTP server you run and maintain yourself. Your company might have one you can use.\n\nAlternatively you can use `the Gmail SMTP server `__. You can use your Gmail username and `an app password `__. Be aware of its send limits though\u2014it's certainly possible you might exceed them.\n\nDevelopment info\n----------------\n\nYou will need Python 2.7 with ``pip`` and ``virtualenv``. You can read more about these in `the Python packaging documentation `__. Create a ``virtualenv`` to house the dependencies of this project. Once that's done, you can install dependencies by running ``pip install -r requirements.pip`` from the project root.\n\nYou can test email notifications by using the Gmail SMTP server mentioned in `Using an SMTP server <#using-an-smtp-server>`__. Alternatively you can use an app like `mailslurper `__ on your machine locally.\n\nTo run the script locally, you can run the ``telemetry_email_alerter`` package from the project root:\n\n::\n\n python telemetry_email_alerter [...args]", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/aristanetworks/telemetry-email-alerter/archive/v1.0.7.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aristanetworks/telemetry-email-alerter", "keywords": "alerts arista cvp email notifications smtp telemetry", "license": "", "maintainer": "", "maintainer_email": "", "name": "telemetry-email-alerter", "package_url": "https://pypi.org/project/telemetry-email-alerter/", "platform": "", "project_url": "https://pypi.org/project/telemetry-email-alerter/", "project_urls": { "Download": "https://github.com/aristanetworks/telemetry-email-alerter/archive/v1.0.7.tar.gz", "Homepage": "https://github.com/aristanetworks/telemetry-email-alerter" }, "release_url": "https://pypi.org/project/telemetry-email-alerter/1.0.7/", "requires_dist": null, "requires_python": "", "summary": "Script for subscribing to Arista Telemetry Events and sending email alerts.", "version": "1.0.7" }, "last_serial": 3587580, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "cb54244aa0112ec7803a5d7dd2412495", "sha256": "4de84d622a5776cfab37e8ad4ae903cfc2e60c5e689492015b5cbaa6ff6c344b" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.1-py2.7.egg", "has_sig": false, "md5_digest": "cb54244aa0112ec7803a5d7dd2412495", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 11088, "upload_time": "2018-02-15T20:15:20", "url": "https://files.pythonhosted.org/packages/03/a9/3a295123bee5e7df43de651df484f18d8af791d2dc32107f6c920e03760c/telemetry_email_alerter-1.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "fcd9db93cabca795f6063bafef17f603", "sha256": "79d6065fa93b16cfba568ebedaf46bb49095714a55973ffca60c8c8e3ba8a12f" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.1.tar.gz", "has_sig": false, "md5_digest": "fcd9db93cabca795f6063bafef17f603", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6936, "upload_time": "2018-02-15T20:15:22", "url": "https://files.pythonhosted.org/packages/3c/2d/e4ccdc94d64865495f89e6b4b1e498fb7cd5786e7dc4eaa909bbe9dd3ca9/telemetry_email_alerter-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "848725bac2df5fb47081e05ec57309e7", "sha256": "a9b18a88c6a5958f272cc1f3fe74ca2415cf861033600b0a4e4b8c7c12a16566" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.2-py2.7.egg", "has_sig": false, "md5_digest": "848725bac2df5fb47081e05ec57309e7", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 11994, "upload_time": "2018-02-15T20:24:55", "url": "https://files.pythonhosted.org/packages/8c/18/672ab823d7e7bdfa48ab9af7d09f355b71dc3cdb3bb237a9f47a0af9d674/telemetry_email_alerter-1.0.2-py2.7.egg" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "51a5f61f76e5da8c0adfa5acf90b99f3", "sha256": "2f9500e78a5a6c549d54780769463747919f06c05197701fe2b6cf4393733544" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.3-py2.7.egg", "has_sig": false, "md5_digest": "51a5f61f76e5da8c0adfa5acf90b99f3", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 11994, "upload_time": "2018-02-15T20:41:15", "url": "https://files.pythonhosted.org/packages/71/86/64a98485a0cae598e28aed167c04a89c51fcee5a91cfa02e01112d4a93ca/telemetry_email_alerter-1.0.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "ead1337955bb0070ebd7a1a1e1e14703", "sha256": "0ced57821fa2b0c9615a594510a305acc14ef0af302ca4a0f4ab84545c239535" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ead1337955bb0070ebd7a1a1e1e14703", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7020, "upload_time": "2018-02-15T20:41:16", "url": "https://files.pythonhosted.org/packages/b3/e9/b35d5f7a02120accb7e16a518f98c7a367fb76b67811a366d45b6e887d7d/telemetry_email_alerter-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "b3a8580156e81164b89c168eeed83d9c", "sha256": "bf67568b62edbb8ad0eae136aea45483f55e510e350e3e3238ccfb4595fa81ce" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.4-py2.7.egg", "has_sig": false, "md5_digest": "b3a8580156e81164b89c168eeed83d9c", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 11991, "upload_time": "2018-02-16T13:41:49", "url": "https://files.pythonhosted.org/packages/b8/27/8e44d9b4720c4b8e21b2c3f8434fd213dfdb4d3aa6467f35394f1ebaf2ab/telemetry_email_alerter-1.0.4-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "84a6809c5c8317c9b02cf21c721a7e74", "sha256": "e1e3164136c9b7e7c36ba5d1f66b6cd5cb2c935ffbe69d06fbca418fff182bc2" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.4.tar.gz", "has_sig": false, "md5_digest": "84a6809c5c8317c9b02cf21c721a7e74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7474, "upload_time": "2018-02-16T13:41:50", "url": "https://files.pythonhosted.org/packages/e7/f5/d905f62996498114e0c8a90179e3e3bc6ada822364d3d9300093332db1c0/telemetry_email_alerter-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "c989f25bda7f30b28704999d3b3c71c6", "sha256": "f3a129d8f5baca7ea67f8bed4a9196f94af2c7cff39ce726882b9448eb1b9d71" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.5-py2.7.egg", "has_sig": false, "md5_digest": "c989f25bda7f30b28704999d3b3c71c6", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 11991, "upload_time": "2018-02-16T13:47:15", "url": "https://files.pythonhosted.org/packages/13/10/f309a01c6be201cef8fbf31d8dce605288ad0f27fdd89d63b59950163fbd/telemetry_email_alerter-1.0.5-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "241575f485ad6280e09eb61898615d5a", "sha256": "d8fb2c5537f66017b0294148e14e20e358cb1cb448366fa5f1d4d6cae8ca6e56" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.5.tar.gz", "has_sig": false, "md5_digest": "241575f485ad6280e09eb61898615d5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7471, "upload_time": "2018-02-16T13:47:16", "url": "https://files.pythonhosted.org/packages/d7/ae/05594c7428ebb99f993df75cd1f43c8e4e40cafe41b4cb33e89072a83694/telemetry_email_alerter-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "fb9c3930728b962ae92cadd71583501f", "sha256": "96b36b8767628eacb50be9f5abbad9a3e0b962dd2e36d028a838e5469b5b4598" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.6-py2.7.egg", "has_sig": false, "md5_digest": "fb9c3930728b962ae92cadd71583501f", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 13646, "upload_time": "2018-02-16T13:56:36", "url": "https://files.pythonhosted.org/packages/c7/29/46d65579ba119afe40f84144190fef26d0c4e1b86bb785686ccbce56e822/telemetry_email_alerter-1.0.6-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "daabb708a77c00b091724f82a8755d98", "sha256": "e7d79d30e1f2ae99f2ee797d4bf98028f5c639c00bd3fae7df60e4b4e17e580c" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.6.tar.gz", "has_sig": false, "md5_digest": "daabb708a77c00b091724f82a8755d98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9046, "upload_time": "2018-02-16T13:56:37", "url": "https://files.pythonhosted.org/packages/6d/ff/f5bf50890b51bae31d2f97012ba5e51f3e5ec9e35789e5325e1f604c75ab/telemetry_email_alerter-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "893f4bc3303e9e284c730dd43868a8af", "sha256": "a17b63ec62f1f0bd7cac920aa7d2bac902209d179635fffaaf269716c97bcdd3" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.7-py2.7.egg", "has_sig": false, "md5_digest": "893f4bc3303e9e284c730dd43868a8af", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 13637, "upload_time": "2018-02-16T14:02:38", "url": "https://files.pythonhosted.org/packages/28/6b/6f0bebd72f7a3c6ab5e8b3189cedb2ab6a98c392ce1851933894a136546e/telemetry_email_alerter-1.0.7-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "bd8ee31ed26f8f217e69a3ad62474b21", "sha256": "469743666b480f7bda078b2e9b87069e0338189d5aada36328d5423620b6da60" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.7.tar.gz", "has_sig": false, "md5_digest": "bd8ee31ed26f8f217e69a3ad62474b21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9013, "upload_time": "2018-02-16T14:02:39", "url": "https://files.pythonhosted.org/packages/1f/28/e6c96a3b519f8c185c87b786fa9402b66106f270ff62bcceaf6332cad369/telemetry_email_alerter-1.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "893f4bc3303e9e284c730dd43868a8af", "sha256": "a17b63ec62f1f0bd7cac920aa7d2bac902209d179635fffaaf269716c97bcdd3" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.7-py2.7.egg", "has_sig": false, "md5_digest": "893f4bc3303e9e284c730dd43868a8af", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 13637, "upload_time": "2018-02-16T14:02:38", "url": "https://files.pythonhosted.org/packages/28/6b/6f0bebd72f7a3c6ab5e8b3189cedb2ab6a98c392ce1851933894a136546e/telemetry_email_alerter-1.0.7-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "bd8ee31ed26f8f217e69a3ad62474b21", "sha256": "469743666b480f7bda078b2e9b87069e0338189d5aada36328d5423620b6da60" }, "downloads": -1, "filename": "telemetry_email_alerter-1.0.7.tar.gz", "has_sig": false, "md5_digest": "bd8ee31ed26f8f217e69a3ad62474b21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9013, "upload_time": "2018-02-16T14:02:39", "url": "https://files.pythonhosted.org/packages/1f/28/e6c96a3b519f8c185c87b786fa9402b66106f270ff62bcceaf6332cad369/telemetry_email_alerter-1.0.7.tar.gz" } ] }