{ "info": { "author": "Alexei Andrushievich", "author_email": "vint21h@vint21h.pp.ua", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Environment :: Plugins", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: Unix", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: System :: Monitoring", "Topic :: Utilities" ], "description": ".. nagios-notification-google-calendar\n.. README.rst\n\nA nagios-notification-google-calendar documentation\n===================================================\n\n *nagios-notification-google-calendar is a Nagios-plugin that send Nagios notifications via google calendar SMS reminder*\n\n.. contents::\n\nAttention\n---------\nGoogle disable SMS notifications for calendar events after June 27, 2015. Therefore after this date this plugin useless.\n\nInstallation\n------------\n* Obtain your copy of source code from git repository: ``git clone https://github.com/vint21h/nagios-notification-google-calendar.git``. Or download latest release from https://github.com/vint21h/nagios-notification-google-calendar/tags.\n* Run ``python ./setup.py install`` from repository source tree or unpacked archive under root user. Or use pip: ``pip install nagios-notification-google-calendar``.\n\nConfiguration\n-------------\n* Read and understand Nagios documentation.\n* Create Nagios commands definitions like this:\n\n::\n\n # \"host-notify-by-sms\" command\n define command{\n command_name notify-host-by-sms\n command_line /usr/bin/notification_google_calendar.py -u $CONTACTNAME$ -m \"Host '$HOSTALIAS$' is $HOSTSTATE$ - Info: $HOSTOUTPUT$\" -C $CONTACTADDRESS1$ -t $CONTACTADDRESS2$\n }\n\n # \"service-notify-by-sms\" command\n define command{\n command_name notify-by-sms\n command_line /usr/bin/notification_google_calendar.py -u $CONTACTNAME$ -m \"$NOTIFICATIONTYPE$ $HOSTNAME$ $SERVICEDESC$ $SERVICESTATE$ $SERVICEOUTPUT$ $LONGDATETIME$\" -C $CONTACTADDRESS1$ -t $CONTACTADDRESS2$\n }\n\n* Go to https://code.google.com/apis/console/ and create new project.\n* Enable calendar API for project.\n* Create an OAuth 2.0 client ID for project with ``Installed application`` type and download JSON client secrets file.\n* Copy ``/usr/share/doc/nagios-notification-google-calendar/notification_google_calendar.ini`` to ``/etc/nagios`` with your settings. Attention: nagios user must have ``notification_google_calendar.ini`` read permissions, and credentials directory read/write permissions.\n* Modify contacts definitions:\n * Add ``addressX`` option to contact definition with contact google calendar ID.\n * Add ``addressX`` option to contact definition with contact preferred timezone (in human readable format from TZ database). This is dirty hack, but i don't know how do this better way.\n * Get and save credentials by run ``notification_google_calendar.py -g -u USERNAME`` where ``USERNAME`` - nagios contact name.\n * Add commands to the lists of service and host notifications commands for contact.\n * Configure google calendar for mobile devices.\n\nLicensing\n---------\nnagios-notification-google-calendar is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\nFor complete license text see COPYING file.\n\nContacts\n--------\n**Project Website**: https://github.com/vint21h/nagios-notification-google-calendar\n\n**Author**: Alexei Andrushievich \n\nFor other authors list see AUTHORS file.", "description_content_type": null, "docs_url": "https://pythonhosted.org/nagios-notification-google-calendar/", "download_url": "https://github.com/vint21h/nagios-notification-google-calendar/archive0.3.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/vint21h/nagios-notification-google-calendar", "keywords": null, "license": "GPLv3 or later", "maintainer": null, "maintainer_email": null, "name": "nagios-notification-google-calendar", "package_url": "https://pypi.org/project/nagios-notification-google-calendar/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nagios-notification-google-calendar/", "project_urls": { "Download": "https://github.com/vint21h/nagios-notification-google-calendar/archive0.3.1.tar.gz", "Homepage": "https://github.com/vint21h/nagios-notification-google-calendar" }, "release_url": "https://pypi.org/project/nagios-notification-google-calendar/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "Notifications via Google Calendar Nagios plugin", "version": "0.3.1" }, "last_serial": 2370784, "releases": { "0.1.8": [ { "comment_text": "", "digests": { "md5": "eae03b8ca5171fee4e03d9909c9bf5cf", "sha256": "525ec140c15727ac5d9c8c3cb0cbe1c8c8a69c13021cc11703b4772a6422967a" }, "downloads": -1, "filename": "nagios-notification-google-calendar-0.1.8.tar.gz", "has_sig": false, "md5_digest": "eae03b8ca5171fee4e03d9909c9bf5cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17120, "upload_time": "2013-06-11T22:10:15", "url": "https://files.pythonhosted.org/packages/f5/a5/572f5ee64c8bd23ee0c0c6bc94a3753179a326e2cc0b4f82856540d3c77b/nagios-notification-google-calendar-0.1.8.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "dff6a2027a6eafa9ef62d40d75c47f9b", "sha256": "d7bced133d9cd35a434bcf810d7d014c1ad4adc5e3178ea2bdac0003428645a2" }, "downloads": -1, "filename": "nagios-notification-google-calendar-0.2.0.tar.gz", "has_sig": false, "md5_digest": "dff6a2027a6eafa9ef62d40d75c47f9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17328, "upload_time": "2013-07-24T22:05:48", "url": "https://files.pythonhosted.org/packages/89/59/c9d89eb1574df8af5a9feb303944ef99d4808035f1a887563a5e6d4a3011/nagios-notification-google-calendar-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "6caa5fd0d95416e1e23c8c3ce3cf18da", "sha256": "abda327c856468dff65f2818e0e272c532c3ebc6671db486af9bc5279f66bf60" }, "downloads": -1, "filename": "nagios-notification-google-calendar-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6caa5fd0d95416e1e23c8c3ce3cf18da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17349, "upload_time": "2014-01-21T00:54:44", "url": "https://files.pythonhosted.org/packages/c1/4c/8377782aca0768e5673779fe7727c26a4d0781e972f53219b9bd4639e68e/nagios-notification-google-calendar-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "6ef6895cdb586583b326a23d96aaff06", "sha256": "2c6dfdfb740d6fee78eb4629a790dd0a7b5aab3fc2bcf011daef28a1a3f34173" }, "downloads": -1, "filename": "nagios-notification-google-calendar-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6ef6895cdb586583b326a23d96aaff06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18599, "upload_time": "2015-06-01T09:13:31", "url": "https://files.pythonhosted.org/packages/13/fe/ba6150c111d69df71be05434cb0833e2b87300da51299a9004dc389f5959/nagios-notification-google-calendar-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "fafa22b87cc999e1c59f5471af817af7", "sha256": "bca8d30b3432acf685fe65ecee4fffed4fd656509e277e59e64e87f8e97e085e" }, "downloads": -1, "filename": "nagios_notification_google_calendar-0.3.1-py2-none-any.whl", "has_sig": false, "md5_digest": "fafa22b87cc999e1c59f5471af817af7", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 23105, "upload_time": "2016-09-29T11:09:59", "url": "https://files.pythonhosted.org/packages/a8/c7/9a3da233937f48c1c62beb4187276f5b855419a76f0e212e2a595da54ed5/nagios_notification_google_calendar-0.3.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b26d4661a82d1af4502f672d60e07509", "sha256": "87c3c0b1013363deab4a79e9b4de28101f1e5e774480ce791fbf9044fc0c1186" }, "downloads": -1, "filename": "nagios-notification-google-calendar-0.3.1.tar.gz", "has_sig": false, "md5_digest": "b26d4661a82d1af4502f672d60e07509", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18636, "upload_time": "2015-06-28T03:09:33", "url": "https://files.pythonhosted.org/packages/c9/6f/216ca9a8b3e9260ff6e9a99b8eaebe2fd2c216944a740e25b951c5d76d9b/nagios-notification-google-calendar-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fafa22b87cc999e1c59f5471af817af7", "sha256": "bca8d30b3432acf685fe65ecee4fffed4fd656509e277e59e64e87f8e97e085e" }, "downloads": -1, "filename": "nagios_notification_google_calendar-0.3.1-py2-none-any.whl", "has_sig": false, "md5_digest": "fafa22b87cc999e1c59f5471af817af7", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 23105, "upload_time": "2016-09-29T11:09:59", "url": "https://files.pythonhosted.org/packages/a8/c7/9a3da233937f48c1c62beb4187276f5b855419a76f0e212e2a595da54ed5/nagios_notification_google_calendar-0.3.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b26d4661a82d1af4502f672d60e07509", "sha256": "87c3c0b1013363deab4a79e9b4de28101f1e5e774480ce791fbf9044fc0c1186" }, "downloads": -1, "filename": "nagios-notification-google-calendar-0.3.1.tar.gz", "has_sig": false, "md5_digest": "b26d4661a82d1af4502f672d60e07509", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18636, "upload_time": "2015-06-28T03:09:33", "url": "https://files.pythonhosted.org/packages/c9/6f/216ca9a8b3e9260ff6e9a99b8eaebe2fd2c216944a740e25b951c5d76d9b/nagios-notification-google-calendar-0.3.1.tar.gz" } ] }