{ "info": { "author": "Emin Martinian", "author_email": "emin.martinian@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 3" ], "description": "Introduction\n============\n\nThe `ox\\_mon `__ package provides some\ntools to keep monitor your machine to keep it up to date, free of\nviruses, and generally working properly.\n\nBasically, there are lots of little monitoring and checking tasks you\nmay find yourself needing to do. You could write a separate script for\neach such task, but it would be nice to have some basic scaffolding for\nthings like notifications, logging, testing, and so on to simplify\nmachine monitoring. Better yet, by having a common framework many\ndevelopers can contribute small snippets of such tools that work in a\nsimilar way to simplify life for everyone.\n\nOnce you install ``ox_mon`` as described in the\n`Installation `__ section, you can do something\nlike\n\n.. code:: bash\n\n ox_mon check [`__\nsection with a consistent reporting system described in the\n`Notifiers `__ section.\n\nInstallation\n============\n\nYou can install via the usual ``pip install ox_mon``. If you want to\ninstall and be able to edit your installation, you may consider doing\nsomething like ``pip install --editable ox_mon``.\n\nUsage\n=====\n\nYou can see the list of possible commands via\n\n.. code:: bash\n\n ox_mon --help\n\nCheckers\n--------\n\nOne of the most useful commands is ``ox_mon check``. If you try\n\n.. code:: bash\n\n ox_mon check --help\n\nyou will see a list of possible checkers you can run. These all use the\nsame general syntax for things like how to notify an administrator if\nissues are found while also checker specific customization.\n\nChecker: apt\n~~~~~~~~~~~~\n\nThe ``apt`` checker will check your Ubuntu installation to see if you\nhave the latest security updates installed. If you do, then nothing\nhappens. If you have not done ``apt update`` recently or you do **NOT**\nhave the latest security packages installed, then you will be notified.\n\nYou can control the notification methods and how many days have passed\nsince you did ``apt update`` using command line options. For example,\ndoing\n\n.. code:: bash\n\n ox_mon check apt --notifier echo --age-in-days 7\n\nwould not notify you provided that you have done ``apt update`` within 7\ndays. If your packages are stale, the notification will just print a\nmessage. See the `Notifiers section `__ for\nnotification options.\n\nChecker: disk\n~~~~~~~~~~~~~\n\nThe ``disk`` checker will check your system to see if the disk is too\nfull. If so, you will be notified as described in the\n`Notifiers `__ section.\n\nYou can control the notification methods and how full the disk is\nallowed to be before it triggers an alarm. For example, doing\n\n.. code:: bash\n\n ox_mon check disk --notifier loginfo --max-used-pct 5\n\nwould not notify you using python's ``logging.INFO`` stream (which\nusually goes to ``stderr``) if your disk is more than ``5%`` full.\n\nChecker: anti-virus\n~~~~~~~~~~~~~~~~~~~\n\nThe ``clamscan`` checker will use `ClamAV `__\n(assuming you have it installed) to virus scan your system. You can\ncontrol the target location to scan via something like\n\n.. code:: bash\n\n ox_mon check clamscan --target $HOME\n\nNotifiers\n---------\n\nThere are a variety of ways to get notifications:\n\n- ``echo``: Just echoes notification to stdout.\n- ``email``: Will send you an email provided you specify the following:\n\n - ``OX_MON_EMAIL_TO``: A comma separated list of email addresses\n (e.g., ``foo@exmaple.com`` or ``foo@exmaple.com,bar@example.com``)\n to send email to. If not set, will attempt to lookup from\n environment variable.\n - ``OX_MON_EMAIL_FROM``: Sending email address. If not set, will\n attempt to lookup from environment variable.\n - ``OX_MON_GMAIL_PASSWD``: A password to use if you want to use\n gmail as the SMTP relay to send mail from. This password should\n correspond to the username in ``OX_MON_EMAIL_FROM``.\n - ``OX_MON_SES_PROFILE``: If provided and email notifier is\n requested, will use this to send email via AWS SES. If not set,\n will attempt lookup from environment.\n - **IMPORTANT**: Either ``OX_MON_SES_PROFILE`` or\n ``OX_MON_GMAIL_PASSWD`` is required to send emails.\n\n- ``loginfo``: Will use Python's ``logging.info`` to send notification.\n This can be useful if you do not want the notifications in stdout but\n in stderr.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/emin63/ox_mon", "keywords": "updating packages", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ox_mon", "package_url": "https://pypi.org/project/ox_mon/", "platform": "", "project_url": "https://pypi.org/project/ox_mon/", "project_urls": { "Homepage": "http://github.com/emin63/ox_mon" }, "release_url": "https://pypi.org/project/ox_mon/0.2.5/", "requires_dist": null, "requires_python": "", "summary": "Monitor status, security, and robustness of your machines.", "version": "0.2.5" }, "last_serial": 5961716, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "2ab35f0f20a06d12a56f64b63c680efe", "sha256": "0a8964abf664f36894205f4d9700ccc539c1df4c9a57742bf262c80a1ba3d7b0" }, "downloads": -1, "filename": "ox_mon-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2ab35f0f20a06d12a56f64b63c680efe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8610, "upload_time": "2019-10-09T03:02:57", "url": "https://files.pythonhosted.org/packages/3a/21/f7163c139ea2f3557a83c8f0bff9a38fc8a40f3c48cab18294491d547caa/ox_mon-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5a250bdab9091df04027a310dcbe7675", "sha256": "c25954ace3f3d37cf59aeece823978bb7c7cd254e08c0ebebc20387b8b152215" }, "downloads": -1, "filename": "ox_mon-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5a250bdab9091df04027a310dcbe7675", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8614, "upload_time": "2019-10-09T03:05:33", "url": "https://files.pythonhosted.org/packages/64/ce/3a3095518996c8d6bbc480b9261d767f44d56a95954773e773949237ee16/ox_mon-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "d5e64b2122975988e66ee90c4bb4622c", "sha256": "376b4d3b5ebcd2e4b085d65de70e9d9be473ea533cec74cb1e60134fa1d71a6a" }, "downloads": -1, "filename": "ox_mon-0.2.2.tar.gz", "has_sig": false, "md5_digest": "d5e64b2122975988e66ee90c4bb4622c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12769, "upload_time": "2019-10-09T18:09:43", "url": "https://files.pythonhosted.org/packages/42/b9/75d31b352499b685e32c4547438072270a3f6f4a8451892c10baa7ba7ff1/ox_mon-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "67ca604e3fb3fda0431cb782e4d1335e", "sha256": "199685da25fba81b5d2f90a4e0c8024ad00237fd0ff83bd9dc82de47a6bf5ac9" }, "downloads": -1, "filename": "ox_mon-0.2.3.tar.gz", "has_sig": false, "md5_digest": "67ca604e3fb3fda0431cb782e4d1335e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13218, "upload_time": "2019-10-10T20:29:09", "url": "https://files.pythonhosted.org/packages/00/30/765c236a9a14c46f9ea2dded6594bd293723db4b215bbcf59877e4459f28/ox_mon-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "21f851abb5d819a1e56370765e58c3f0", "sha256": "711bd66d4c699e3f8d210c4c5d30ce73e7a25952b46b2443fdb969eeae15256d" }, "downloads": -1, "filename": "ox_mon-0.2.4.tar.gz", "has_sig": false, "md5_digest": "21f851abb5d819a1e56370765e58c3f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13222, "upload_time": "2019-10-10T20:56:26", "url": "https://files.pythonhosted.org/packages/c3/ab/a1ca229e029339794c22be1b5fc50daa07b8b0f8c852d6927521b06422de/ox_mon-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "ec35a01664c5ea6dd36194bf15424a8d", "sha256": "cebaf57426a1ecf772a1b2038c1702bb66e069e54e851bcbc7978e275096ceb1" }, "downloads": -1, "filename": "ox_mon-0.2.5.tar.gz", "has_sig": false, "md5_digest": "ec35a01664c5ea6dd36194bf15424a8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13324, "upload_time": "2019-10-11T19:10:43", "url": "https://files.pythonhosted.org/packages/40/25/7c358f91aff76fc9295228ed5673f9e58fd4607fbbf5820c61b98f2a8af2/ox_mon-0.2.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec35a01664c5ea6dd36194bf15424a8d", "sha256": "cebaf57426a1ecf772a1b2038c1702bb66e069e54e851bcbc7978e275096ceb1" }, "downloads": -1, "filename": "ox_mon-0.2.5.tar.gz", "has_sig": false, "md5_digest": "ec35a01664c5ea6dd36194bf15424a8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13324, "upload_time": "2019-10-11T19:10:43", "url": "https://files.pythonhosted.org/packages/40/25/7c358f91aff76fc9295228ed5673f9e58fd4607fbbf5820c61b98f2a8af2/ox_mon-0.2.5.tar.gz" } ] }