{ "info": { "author": "Josef Friedrich", "author_email": "josef@friedrich.rocks", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "[![Build Status](https://travis-ci.org/Josef-Friedrich/rsync-watch.svg?branch=master)](https://travis-ci.org/Josef-Friedrich/rsync-watch)\n[![pypi.org](http://img.shields.io/pypi/v/rsync_watch.svg)](https://pypi.python.org/pypi/rsync_watch)\n[![Documentation Status](https://readthedocs.org/projects/rsync-watch/badge/?version=latest)](https://rsync-watch.readthedocs.io/en/latest/?badge=latest)\n\n# rsync-watch.py\n\nA Python script to monitor the execution of a rsync task.\n\n## Features\n\n* The script `rsync-watch.py` parses the `rsync --stats` output and\n sends this statistics to a monitoring system like Nagios or Icinga\n using the NSCA protocol.\n\n* The script `rsync-watch.py` can be configured to perform various\n checks before starting the rsync process.\n\n```\nusage: rsync-watch.py [-h] [--host-name HOST_NAME] [--rsync-args RSYNC_ARGS]\n [--action-check-failed {exception,skip}]\n [--check-file FILE_PATH] [--check-ping DESTINATION]\n [--check-ssh-login SSH_LOGIN] [-v]\n [--email-from-addr EMAIL_FROM_ADDR]\n [--email-to-addr EMAIL_TO_ADDR]\n [--email-to-addr-critical EMAIL_TO_ADDR_CRITICAL]\n [--email-smtp-login EMAIL_SMTP_LOGIN]\n [--email-smtp-password EMAIL_SMTP_PASSWORD]\n [--email-smtp-server EMAIL_SMTP_SERVER]\n [--nsca-remote-host NSCA_REMOTE_HOST]\n [--nsca-password NSCA_PASSWORD]\n [--nsca-encryption-method NSCA_ENCRYPTION_METHOD]\n [--nsca-port NSCA_PORT]\n [--beep-activated BEEP_ACTIVATED]\n src dest\n\nA Python script to monitor the execution of a rsync task.\n\npositional arguments:\n src The source ([[USER@]HOST:]SRC)\n dest The destination ([[USER@]HOST:]DEST)\n\noptional arguments:\n -h, --help show this help message and exit\n --host-name HOST_NAME\n The hostname to submit over NSCA to the monitoring.\n --rsync-args RSYNC_ARGS\n Rsync CLI arguments. Insert some rsync command line\n arguments.Wrap all arguments in one string, for\n example: --rsync-args '--exclude \"this folder\"'\n -v, --version show program's version number and exit\n\nchecks:\n Perform different checks before running the rsync task.\n\n --action-check-failed {exception,skip}\n Select action what to do when a check failed.\n --check-file FILE_PATH\n Check if a file exists on the local machine.\n --check-ping DESTINATION\n Check if a remote host is reachable by pinging.\n DESTINATION can a IP address or a host name or a full\n qualified host name.\n --check-ssh-login SSH_LOGIN\n Check if a remote host is reachable over the network\n by SSHing into it. SSH_LOGIN: \u201croot@192.168.1.1\u201d or\n \u201croot@example.com\u201d or \u201cexample.com\u201d.\n\nemail:\n Generated by the config_reader.\n\n --email-from-addr EMAIL_FROM_ADDR\n The email address of the sender.\n --email-to-addr EMAIL_TO_ADDR\n The email address of the recipient.\n --email-to-addr-critical EMAIL_TO_ADDR_CRITICAL\n The email address of the recipient to send critical\n messages to.\n --email-smtp-login EMAIL_SMTP_LOGIN\n The SMTP login name.\n --email-smtp-password EMAIL_SMTP_PASSWORD\n The SMTP password.\n --email-smtp-server EMAIL_SMTP_SERVER\n The URL of the SMTP server, for example:\n `smtp.example.com:587`.\n\nnsca:\n Generated by the config_reader.\n\n --nsca-remote-host NSCA_REMOTE_HOST\n The IP address of the NSCA remote host.\n --nsca-password NSCA_PASSWORD\n The NSCA password.\n --nsca-encryption-method NSCA_ENCRYPTION_METHOD\n The NSCA encryption method. The supported encryption\n methods are: 0 1 2 3 4 8 11 14 15 16\n --nsca-port NSCA_PORT\n The NSCA port.\n\nbeep:\n Generated by the config_reader.\n\n --beep-activated BEEP_ACTIVATED\n Activate the beep channel to report auditive messages.\n\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Josef-Friedrich/rsync-watch", "keywords": "", "license": "GPL3", "maintainer": "", "maintainer_email": "", "name": "rsync-watch", "package_url": "https://pypi.org/project/rsync-watch/", "platform": "", "project_url": "https://pypi.org/project/rsync-watch/", "project_urls": { "Homepage": "https://github.com/Josef-Friedrich/rsync-watch", "Source": "https://github.com/Josef-Friedrich/rsync-watch", "Tracker": "https://github.com/Josef-Friedrich/rsync-watch/issues" }, "release_url": "https://pypi.org/project/rsync-watch/0.4.1/", "requires_dist": null, "requires_python": ">=3.5", "summary": "A Python script to monitor the execution of a rsync task.", "version": "0.4.1" }, "last_serial": 5502992, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "f143dae4488099d854ea35541d05f0f6", "sha256": "42dc06890b8ff1c46c876cc29dabb6f562c22ea8cc19dc7584387c216b84b8dd" }, "downloads": -1, "filename": "rsync_watch-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f143dae4488099d854ea35541d05f0f6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 32085, "upload_time": "2019-03-18T08:57:21", "url": "https://files.pythonhosted.org/packages/40/5f/2b3d0260bb268921e76e1d2a23e15ecad338d80b423d53fdf8e31495730e/rsync_watch-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "074275098e44b7fde53ef9520fb4e585", "sha256": "b6398995fa58b925b0447a297df9fd66e3f229203906e0c393ba59021e716ddc" }, "downloads": -1, "filename": "rsync_watch-0.0.10.tar.gz", "has_sig": false, "md5_digest": "074275098e44b7fde53ef9520fb4e585", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 39849, "upload_time": "2019-04-09T20:47:09", "url": "https://files.pythonhosted.org/packages/68/19/025f5dea4cb32b4f453465a46d9329b42954f71f7d875a215b29812fe757/rsync_watch-0.0.10.tar.gz" } ], "0.0.11": [ { "comment_text": "", "digests": { "md5": "d1714a2e52bb0ddc2a7c5a7e2e7bce41", "sha256": "8be1d7a8276766a65e70973fa9df919d766048117c33516258d19c9579d9e4b3" }, "downloads": -1, "filename": "rsync_watch-0.0.11.tar.gz", "has_sig": false, "md5_digest": "d1714a2e52bb0ddc2a7c5a7e2e7bce41", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 39863, "upload_time": "2019-04-09T20:56:30", "url": "https://files.pythonhosted.org/packages/81/75/b768f37a4ecb92d6c76be298fb18c621b595390b6be13094fd7d2eac8edf/rsync_watch-0.0.11.tar.gz" } ], "0.0.12": [ { "comment_text": "", "digests": { "md5": "acf48d837919c7461729457fceb6a18b", "sha256": "c338f677aa5f8b96942a98f80f2aa3cecfa4fb1c167361f93ed6542a8f0b7e43" }, "downloads": -1, "filename": "rsync_watch-0.0.12.tar.gz", "has_sig": false, "md5_digest": "acf48d837919c7461729457fceb6a18b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 39858, "upload_time": "2019-04-10T14:55:50", "url": "https://files.pythonhosted.org/packages/69/52/8c2d36ebe5ed284ccab7a3a655f5bc77ae4997e49fa7f76e37d8fa63cfa1/rsync_watch-0.0.12.tar.gz" } ], "0.0.13": [ { "comment_text": "", "digests": { "md5": "d659f05d61755df48a57ab983d475ee2", "sha256": "75a2537e909dadcbc9fa54ecd1ec620bb1e9fef043df0ef6c172df2727be3d3a" }, "downloads": -1, "filename": "rsync_watch-0.0.13.tar.gz", "has_sig": false, "md5_digest": "d659f05d61755df48a57ab983d475ee2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 39949, "upload_time": "2019-04-17T20:54:41", "url": "https://files.pythonhosted.org/packages/4f/93/891bc1d4e3843ec7620ca67ccfdfabad8b4375633705be21ecd12dd1cd31/rsync_watch-0.0.13.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "e508d8cdb799dd7b63d1ce99c3e1aaff", "sha256": "06f54c91761282504fdc48dc67003c72f7162fbe9d2158f8b94829e0d6b15842" }, "downloads": -1, "filename": "rsync_watch-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e508d8cdb799dd7b63d1ce99c3e1aaff", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 36895, "upload_time": "2019-03-18T15:15:35", "url": "https://files.pythonhosted.org/packages/67/d7/c21ac8f25c543e644200d67e2eae5f07c7fed5cdb9b90d9192f909ce7e0c/rsync_watch-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "77b78d3e974612d0ed22ba1b086e2b6b", "sha256": "2e8277e67b82828d2cb81a3b4673a1a3feed10638372596cbb39e5e1ce14546d" }, "downloads": -1, "filename": "rsync_watch-0.0.3.tar.gz", "has_sig": false, "md5_digest": "77b78d3e974612d0ed22ba1b086e2b6b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 37070, "upload_time": "2019-03-18T19:33:30", "url": "https://files.pythonhosted.org/packages/b3/56/10d0964307cc0224fce812ecac6ba467fdae581f1df65b0690f610f093ef/rsync_watch-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "9a2f7bca248f1e979cb98a0258c7d9db", "sha256": "7b8ac7c0304b88ae3d859e0b61547c6befb99eac4bbddd9ad8d342f5d637ed78" }, "downloads": -1, "filename": "rsync_watch-0.0.4.tar.gz", "has_sig": false, "md5_digest": "9a2f7bca248f1e979cb98a0258c7d9db", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 37157, "upload_time": "2019-03-19T15:56:48", "url": "https://files.pythonhosted.org/packages/f9/17/196cf7355e57fc2604184f80a00e0ed29a3b39efcf7809f13e9b2413cdd2/rsync_watch-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "47fad950757d67fdcebccbff6abffc9f", "sha256": "63296b4c5f68fd7cc4f749a37b64126c40bc5c9d51820fc8362ea1830a18950b" }, "downloads": -1, "filename": "rsync_watch-0.0.5.tar.gz", "has_sig": false, "md5_digest": "47fad950757d67fdcebccbff6abffc9f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 36877, "upload_time": "2019-03-19T22:22:32", "url": "https://files.pythonhosted.org/packages/b3/3f/bae25170273e7eda3fa5e2df6746ec8d23e33a123fdbc88bb0977d6cac9c/rsync_watch-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "947fdeb178b8fd83fbc7859758446184", "sha256": "f0fb88cb6a43169a79ff7581919fcb0c39a231359555ed682670e1d0604bbdc5" }, "downloads": -1, "filename": "rsync_watch-0.0.6.tar.gz", "has_sig": false, "md5_digest": "947fdeb178b8fd83fbc7859758446184", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 38680, "upload_time": "2019-03-20T16:10:39", "url": "https://files.pythonhosted.org/packages/f3/5f/96168234fd904466bd79d5c1a7a20711d8495c265a22356dcf49ab846744/rsync_watch-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "7667ea80e7d9467492d94f746956dfbb", "sha256": "83e18b4030d2a5c1deb7b12946789f2383eaa39ca594f1645cc9f5aa21ed04db" }, "downloads": -1, "filename": "rsync_watch-0.0.7.tar.gz", "has_sig": false, "md5_digest": "7667ea80e7d9467492d94f746956dfbb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 38809, "upload_time": "2019-03-24T18:54:01", "url": "https://files.pythonhosted.org/packages/05/b1/985ea3cfe83a1db54fe0aa1cc6e21c5e1e526178013ec6eb28989bb153e0/rsync_watch-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "95e39b2da0221395b953dc6bf42701b1", "sha256": "f59b42ff87a0a5be6aa76508266123471bb6a3ba605ee7f3bc2f6c5175dc0c5c" }, "downloads": -1, "filename": "rsync_watch-0.0.8.tar.gz", "has_sig": false, "md5_digest": "95e39b2da0221395b953dc6bf42701b1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 38841, "upload_time": "2019-03-24T20:33:05", "url": "https://files.pythonhosted.org/packages/5a/b8/eaec81cacf5c5cdd235f26219c2da3c1af543729ceeae82a54160bc7a735/rsync_watch-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "39ee23a2e67a5ce3d4dcee4475fa0f4b", "sha256": "dc3f86dc54d1fff83856ebc076680cec97e8bec00d1a57dca994e50595d8b34f" }, "downloads": -1, "filename": "rsync_watch-0.0.9.tar.gz", "has_sig": false, "md5_digest": "39ee23a2e67a5ce3d4dcee4475fa0f4b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 38841, "upload_time": "2019-03-24T21:05:44", "url": "https://files.pythonhosted.org/packages/f1/8e/120109c9b01d4723ea7c0949a67a0766e5dc5e2ea42cd53868e31eab38d3/rsync_watch-0.0.9.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "04d24d8318ea052ad75e43d6ea16f084", "sha256": "001706a3324a771f1a534887a452a9c621634c814810dd47afe9961ea464b4ee" }, "downloads": -1, "filename": "rsync_watch-0.1.1.tar.gz", "has_sig": false, "md5_digest": "04d24d8318ea052ad75e43d6ea16f084", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 35568, "upload_time": "2019-05-05T08:20:35", "url": "https://files.pythonhosted.org/packages/61/1f/305cf42712f48935a567144bfd6b87b3f91f3ffb997ac2956763c6a038e0/rsync_watch-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "408c171598a3e5565d60991710d3c4d7", "sha256": "39eba0d52fc6f7a9fcb0fd263e1a901441639264775c01b40e691072692fbfd2" }, "downloads": -1, "filename": "rsync_watch-0.1.2.tar.gz", "has_sig": false, "md5_digest": "408c171598a3e5565d60991710d3c4d7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 35572, "upload_time": "2019-05-05T09:08:16", "url": "https://files.pythonhosted.org/packages/c4/d7/45da207f53a558da216c3cd2bfb20b7b1dabcbb5bcfa2ab4b53635574063/rsync_watch-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "53f1864ad925c5e13fee6bae192c63ff", "sha256": "cd49051b140e6c350e9ccacfa58506e108d0265a0637c87a7ff43a271372e39f" }, "downloads": -1, "filename": "rsync_watch-0.1.3.tar.gz", "has_sig": false, "md5_digest": "53f1864ad925c5e13fee6bae192c63ff", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 35580, "upload_time": "2019-05-06T12:26:03", "url": "https://files.pythonhosted.org/packages/b5/58/248efdc9cfd9895d3643b1840409c21d1fc04487d0db008259536ae725b9/rsync_watch-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "1d9a71a3af2ea223643faa24ce4cbfe3", "sha256": "8de79886eea78a79d266bcf6e94714f5743ef0f9c43e27ba5d6c159306b8eaef" }, "downloads": -1, "filename": "rsync_watch-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1d9a71a3af2ea223643faa24ce4cbfe3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 35686, "upload_time": "2019-05-11T20:13:18", "url": "https://files.pythonhosted.org/packages/cb/b4/a7c9ebd11a4e6f80d17dd64928a027be8362be3ccb55df0a002269e8330b/rsync_watch-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "09212f451d1a47a9a28cc1a49835da29", "sha256": "fe98290b4da4294300a7191a09999a39126b9f52293c3e6eadf75b5c52fada33" }, "downloads": -1, "filename": "rsync_watch-0.2.1.tar.gz", "has_sig": false, "md5_digest": "09212f451d1a47a9a28cc1a49835da29", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 35695, "upload_time": "2019-05-11T20:45:19", "url": "https://files.pythonhosted.org/packages/4e/61/146239728b539a00e6b304945e75cb4fc7fbcec9ecc3832988cdb526d394/rsync_watch-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "c9844b786c0eea940dbd15cfc5ba06e2", "sha256": "7485fbb0d0657903691067a624afbdff38b570310363911bfc8b687e0cf0ef32" }, "downloads": -1, "filename": "rsync_watch-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c9844b786c0eea940dbd15cfc5ba06e2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 35994, "upload_time": "2019-07-08T12:08:15", "url": "https://files.pythonhosted.org/packages/5e/4b/4f5a821cc3072b070029950937e8df61d043556a83b81fecd7028cff4d1d/rsync_watch-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "d45b627d8dd2357979e80369e6327220", "sha256": "c58fd0c39ba0a853451c255ea847fa2e97c9b57177a8e801d582aed2e39a06a2" }, "downloads": -1, "filename": "rsync_watch-0.3.1.tar.gz", "has_sig": false, "md5_digest": "d45b627d8dd2357979e80369e6327220", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 36147, "upload_time": "2019-07-08T13:49:19", "url": "https://files.pythonhosted.org/packages/21/b9/0a081328f004b60335cf650f62cd93837e3ab8b4bd82ec6fef8bdf4d3629/rsync_watch-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "03b9280d7f2d0e4a6d407d402c21b1e6", "sha256": "512fa62ceb026c7ad1c1537c751fe455b6abd6bb8d32e7ca2cbc4ecff7f9b6f2" }, "downloads": -1, "filename": "rsync_watch-0.4.0.tar.gz", "has_sig": false, "md5_digest": "03b9280d7f2d0e4a6d407d402c21b1e6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 36282, "upload_time": "2019-07-08T19:11:27", "url": "https://files.pythonhosted.org/packages/35/33/ed17909b7788477e6e97f72f425c1fbc2ead200074c3fe6ea2e44414fe0d/rsync_watch-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "48a6530f68f7927be1aa58d4f4e046f0", "sha256": "506b7f148cde3bb4732773b8401b2c4116267a953782ddb4cfaed5137621ae3e" }, "downloads": -1, "filename": "rsync_watch-0.4.1.tar.gz", "has_sig": false, "md5_digest": "48a6530f68f7927be1aa58d4f4e046f0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 35980, "upload_time": "2019-07-08T20:21:10", "url": "https://files.pythonhosted.org/packages/60/49/d42e1fec38fe74534cd4361b2dc2f3f664084defa48dac3187ca5dee5856/rsync_watch-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "48a6530f68f7927be1aa58d4f4e046f0", "sha256": "506b7f148cde3bb4732773b8401b2c4116267a953782ddb4cfaed5137621ae3e" }, "downloads": -1, "filename": "rsync_watch-0.4.1.tar.gz", "has_sig": false, "md5_digest": "48a6530f68f7927be1aa58d4f4e046f0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 35980, "upload_time": "2019-07-08T20:21:10", "url": "https://files.pythonhosted.org/packages/60/49/d42e1fec38fe74534cd4361b2dc2f3f664084defa48dac3187ca5dee5856/rsync_watch-0.4.1.tar.gz" } ] }