{"id":16709547,"url":"https://github.com/mrlesmithjr/ansible-monit","last_synced_at":"2025-10-07T03:50:04.207Z","repository":{"id":142637137,"uuid":"43513811","full_name":"mrlesmithjr/ansible-monit","owner":"mrlesmithjr","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-27T22:29:07.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-22T12:49:25.740Z","etag":null,"topics":["ansible","ansible-role","monit"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrlesmithjr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-01T18:36:07.000Z","updated_at":"2018-02-27T22:30:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f9dedaa-f24e-4fb0-be8d-2f414f31004f","html_url":"https://github.com/mrlesmithjr/ansible-monit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrlesmithjr/ansible-monit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fansible-monit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fansible-monit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fansible-monit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fansible-monit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrlesmithjr","download_url":"https://codeload.github.com/mrlesmithjr/ansible-monit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrlesmithjr%2Fansible-monit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278717447,"owners_count":26033542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","monit"],"created_at":"2024-10-12T20:05:12.001Z","updated_at":"2025-10-07T03:50:04.166Z","avatar_url":"https://github.com/mrlesmithjr.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Role Name\n\nAn [Ansible](https://www.ansible.com) role to install/configure [monit](https://mmonit.com/monit/)\n\n## Requirements\n\nNone.\n\n## Role Variables\n\n[defaults/main.yml](defaults/main.yml)\n\n## Dependencies\n\nNone.\n\n## Example Playbook\n\n```yaml\n---\n- hosts: test-nodes\n  vars:\n    config_monit: true\n    monit_enable_web_server: true\n    monit_monitor_services:\n      - name: 'cron'\n        monitored: true\n        pidfile: '/var/run/crond.pid'\n        start_program: '/usr/sbin/service cron start'\n        stop_program: '/usr/sbin/service cron stop'\n      - name: 'docker'\n        monitored: true\n        pidfile: '/var/run/docker.pid'\n        start_program: '/usr/sbin/service docker start'\n        stop_program: '/usr/sbin/service docker stop'\n      - name: 'ntp'\n        action: 'restart'\n        failed_host: 127.0.0.1\n        failed_host_port: 123\n        failed_host_type:\n          - 'udp'\n        monitored: true\n        pidfile: '/var/run/ntpd.pid'\n        start_program: '/usr/sbin/service ntp start'\n        stop_program: '/usr/sbin/service ntp stop'\n      - name: 'rsyslogd'\n        monitored: true\n        pidfile: '/var/run/rsyslogd.pid'\n        start_program: '/usr/sbin/service rsyslog start'\n        stop_program: '/usr/sbin/service rsyslog stop'\n      - name: 'sshd'\n        failed_host: 127.0.0.1\n        failed_host_port: 22\n        monitored: true\n        pidfile: '/var/run/sshd.pid'\n        start_program: '/usr/sbin/service ssh start'\n        stop_program: '/usr/sbin/service ssh stop'\n    monit_web_server_allow_list:\n      - 192.168.0.0/16\n      - localhost\n    monit_web_server_local_only: false\n    pri_domain_name: 'test.vagrant.local'\n  roles:\n    - name: Install/Configure Monitoring Of Services\n      role: ansible-monit\n    - name: Install Docker\n      role: ansible-docker\n  tasks:\n```\n\n## License\n\nMIT\n\n## Author Information\n\nLarry Smith Jr.\n\n-   [EverythingShouldBeVirtual](http://everythingshouldbevirtual.com)\n-   [@mrlesmithjr](https://www.twitter.com/mrlesmithjr)\n-   \u003cmailto:mrlesmithjr@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlesmithjr%2Fansible-monit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrlesmithjr%2Fansible-monit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrlesmithjr%2Fansible-monit/lists"}