montty


Namemontty JSON
Version 1.0.3 PyPI version JSON
download
home_pageNone
SummaryMonTTY (Monitoring TTY), create system/security checks for Linux hosts, and monitor their results.
upload_time2024-12-13 23:17:43
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT License Copyright (c) 2024-2025 Gwyn Davies Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords bash checks cybersecurity devops linux monitoring python secops system
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            MonTTY
======

Links
-----

* Open Source MIT license: `LICENSE <https://github.com/GwynDavies/montty/blob/main/LICENSE>`_
* Installation: `INSTALLATION.md <https://github.com/GwynDavies/montty/blob/main/INSTALLATION.md>`_
* Documentation: `docs <https://github.com/GwynDavies/montty/tree/main/docs>`_
* Source: `src/montty <https://github.com/GwynDavies/montty/blob/main/src/montty>`_
* Issues: `issues <https://github.com/GwynDavies/montty/issues>`_
* Contributing: `CONTRIBUTING.md <https://github.com/GwynDavies/montty/blob/main/CONTRIBUTING.md>`_


Disclaimer
----------

All trademarks, service marks, and product names mentioned in this document are the property of their respective owners


Purpose
-------

MonTTY stands for Monitoring TTY.

It is a tool for Linux hosts, that:

* Allows you to create custom system and cybersecurity checks - using bash or Python scripts,
* Provides the check results in a terminal/console format, allowing you to monitor and review the results.

Check results for MonTTY look like this:

* `Check report screen display <https://github.com/GwynDavies/montty/blob/main/docs/images/screenshot.png>`_


Overview
--------

MonTTY consists of a set of Python applications that run on Linux hosts, to perform system and cybersecurity checks that you write. It is installed into a Python virtual environment to avoid affecting the system's Python installation.

MonTTY consists of 4 Python applications or "apps":

* Checker app,
* Manager app,
* Monitor app,
* Deployer app.

A Linux server is designated as the "MonTTY server". This runs the Manager and Monitor apps.

The Checker app runs on the Linux hosts to be checked. It can also run on the MonTTY server, when it is known as a "local checker".

The Monitor app displays the check results, and runs on the MonTTY server.

The Checker and Manager apps, run automatically using Linux cron jobs.


Checker app
-----------

The Checker app runs the check scripts (written in Python or bash), on Linux hosts to be checked.

These check results are packaged into "check reports", and transferred to the MonTTY server using SCP.

The check report status, can be either:

* ALERT, 
* WARN, 
* OKAY, 
* or NA.

The check report's status, is  determined by the highest status - of individual checks it contains.

A few example check scripts are supplied with MonTTY. These are just basic somewhat contrived examples, to serve as demonstrations - of how checks can be written.


Manager app
-----------

The Manager app organizes and moves check reports into directories based on their status.

Reports with a status of WARN, OKAY, or NA are deleted after their Time-to-Live (TTL) expires (5 minutes). ALERT status reports are never deleted automatically, and must be deleted by the user.


Monitor app
-----------

The Monitor app displays check reports in a terminal/console, prioritizing ALERT status reports, then WARN, and finally OKAY/NA reports.

The reports are viewed on the MonTTY server, either by the user being locally logged in, or by an SSH connection.

Users can then view the reports, and interact with them using simple commands.


Deployer app
------------

The Deployer app finishes up the install of MonTTY. It mainly extracts necessary files and directories from the MonTTY Python package distribution, into the MonTTY project directory.

The Deployer app, works on the concept of the MonTTY "project dir". This is the directory where the MonTTY Python distribution is interred into a Python virtual environment. This exists on the MonTTY server host, and all checked hosts.

The Deployer app unpacks from the MonTTY Python distribution, the following directories:

* "CHECKS", where the MonTTY checks are stored, along with their associated support files. MonTTY ships with some example check files,
* "REPORTS", where the check report files are stored while they are processed.

Also unpacked are two bash shell scripts:

* "run.sh", runs all MonTTY apps,
* "spy.sh", allows you to monitor the REPORTS directory as MonTTY operates.


Apps schematic
--------------

This diagram illustrates how the MonTTY apps, interrelate:

* `MonTTY apps schematic <https://github.com/GwynDavies/montty/blob/main/docs/images/montty_app_schematic.png>`_



            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "montty",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "Gwyn Davies <gwynmdavies@cox.net>",
    "keywords": "bash, checks, cybersecurity, devops, linux, monitoring, python, secops, system",
    "author": null,
    "author_email": "Gwyn Davies <gwynmdavies@cox.net>",
    "download_url": "https://files.pythonhosted.org/packages/f6/03/d301e1abf4d224acc667a7f90b564969429b86b62e30c6941cb75fb1eadd/montty-1.0.3.tar.gz",
    "platform": null,
    "description": "MonTTY\n======\n\nLinks\n-----\n\n* Open Source MIT license: `LICENSE <https://github.com/GwynDavies/montty/blob/main/LICENSE>`_\n* Installation: `INSTALLATION.md <https://github.com/GwynDavies/montty/blob/main/INSTALLATION.md>`_\n* Documentation: `docs <https://github.com/GwynDavies/montty/tree/main/docs>`_\n* Source: `src/montty <https://github.com/GwynDavies/montty/blob/main/src/montty>`_\n* Issues: `issues <https://github.com/GwynDavies/montty/issues>`_\n* Contributing: `CONTRIBUTING.md <https://github.com/GwynDavies/montty/blob/main/CONTRIBUTING.md>`_\n\n\nDisclaimer\n----------\n\nAll trademarks, service marks, and product names mentioned in this document are the property of their respective owners\n\n\nPurpose\n-------\n\nMonTTY stands for Monitoring TTY.\n\nIt is a tool for Linux hosts, that:\n\n* Allows you to create custom system and cybersecurity checks - using bash or Python scripts,\n* Provides the check results in a terminal/console format, allowing you to monitor and review the results.\n\nCheck results for MonTTY look like this:\n\n* `Check report screen display <https://github.com/GwynDavies/montty/blob/main/docs/images/screenshot.png>`_\n\n\nOverview\n--------\n\nMonTTY consists of a set of Python applications that run on Linux hosts, to perform system and cybersecurity checks that you write. It is installed into a Python virtual environment to avoid affecting the system's Python installation.\n\nMonTTY consists of 4 Python applications or \"apps\":\n\n* Checker app,\n* Manager app,\n* Monitor app,\n* Deployer app.\n\nA Linux server is designated as the \"MonTTY server\". This runs the Manager and Monitor apps.\n\nThe Checker app runs on the Linux hosts to be checked. It can also run on the MonTTY server, when it is known as a \"local checker\".\n\nThe Monitor app displays the check results, and runs on the MonTTY server.\n\nThe Checker and Manager apps, run automatically using Linux cron jobs.\n\n\nChecker app\n-----------\n\nThe Checker app runs the check scripts (written in Python or bash), on Linux hosts to be checked.\n\nThese check results are packaged into \"check reports\", and transferred to the MonTTY server using SCP.\n\nThe check report status, can be either:\n\n* ALERT, \n* WARN, \n* OKAY, \n* or NA.\n\nThe check report's status, is  determined by the highest status - of individual checks it contains.\n\nA few example check scripts are supplied with MonTTY. These are just basic somewhat contrived examples, to serve as demonstrations - of how checks can be written.\n\n\nManager app\n-----------\n\nThe Manager app organizes and moves check reports into directories based on their status.\n\nReports with a status of WARN, OKAY, or NA are deleted after their Time-to-Live (TTL) expires (5 minutes). ALERT status reports are never deleted automatically, and must be deleted by the user.\n\n\nMonitor app\n-----------\n\nThe Monitor app displays check reports in a terminal/console, prioritizing ALERT status reports, then WARN, and finally OKAY/NA reports.\n\nThe reports are viewed on the MonTTY server, either by the user being locally logged in, or by an SSH connection.\n\nUsers can then view the reports, and interact with them using simple commands.\n\n\nDeployer app\n------------\n\nThe Deployer app finishes up the install of MonTTY. It mainly extracts necessary files and directories from the MonTTY Python package distribution, into the MonTTY project directory.\n\nThe Deployer app, works on the concept of the MonTTY \"project dir\". This is the directory where the MonTTY Python distribution is interred into a Python virtual environment. This exists on the MonTTY server host, and all checked hosts.\n\nThe Deployer app unpacks from the MonTTY Python distribution, the following directories:\n\n* \"CHECKS\", where the MonTTY checks are stored, along with their associated support files. MonTTY ships with some example check files,\n* \"REPORTS\", where the check report files are stored while they are processed.\n\nAlso unpacked are two bash shell scripts:\n\n* \"run.sh\", runs all MonTTY apps,\n* \"spy.sh\", allows you to monitor the REPORTS directory as MonTTY operates.\n\n\nApps schematic\n--------------\n\nThis diagram illustrates how the MonTTY apps, interrelate:\n\n* `MonTTY apps schematic <https://github.com/GwynDavies/montty/blob/main/docs/images/montty_app_schematic.png>`_\n\n\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024-2025 Gwyn Davies  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "MonTTY (Monitoring TTY), create system/security checks for Linux hosts, and monitor their results.",
    "version": "1.0.3",
    "project_urls": {
        "Homepage": "https://github.com/GwynDavies/montty",
        "Issues": "https://github.com/GwynDavies/montty/issues"
    },
    "split_keywords": [
        "bash",
        " checks",
        " cybersecurity",
        " devops",
        " linux",
        " monitoring",
        " python",
        " secops",
        " system"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ea77dfce98f792bb093512331078e378bbe6efcd5f23b0f80a70a70c005f7311",
                "md5": "7d02fec2147db99cfbb36e53367142d9",
                "sha256": "e656576f5bcfa977992fa4f0caea1ddffe0271effddc3718076eaa749dff39f4"
            },
            "downloads": -1,
            "filename": "montty-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7d02fec2147db99cfbb36e53367142d9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 109871,
            "upload_time": "2024-12-13T23:17:41",
            "upload_time_iso_8601": "2024-12-13T23:17:41.341834Z",
            "url": "https://files.pythonhosted.org/packages/ea/77/dfce98f792bb093512331078e378bbe6efcd5f23b0f80a70a70c005f7311/montty-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f603d301e1abf4d224acc667a7f90b564969429b86b62e30c6941cb75fb1eadd",
                "md5": "8dbb5be53c6adc247b4de5e3f2b8b035",
                "sha256": "d0c40785cab1395aec1ecdb034143c680ac9f8c7be92eebf7f95530351153d17"
            },
            "downloads": -1,
            "filename": "montty-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "8dbb5be53c6adc247b4de5e3f2b8b035",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 201166,
            "upload_time": "2024-12-13T23:17:43",
            "upload_time_iso_8601": "2024-12-13T23:17:43.757008Z",
            "url": "https://files.pythonhosted.org/packages/f6/03/d301e1abf4d224acc667a7f90b564969429b86b62e30c6941cb75fb1eadd/montty-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-13 23:17:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GwynDavies",
    "github_project": "montty",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "montty"
}
        
Elapsed time: 0.48370s