{"id":20163450,"url":"https://github.com/sjinks/yum-plugin-monit","last_synced_at":"2026-05-31T21:31:32.817Z","repository":{"id":77875013,"uuid":"136673777","full_name":"sjinks/yum-plugin-monit","owner":"sjinks","description":"yum plugin to temporarily deactivate monit during package installs / updates / removals","archived":false,"fork":false,"pushed_at":"2018-06-19T21:20:56.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T03:12:11.997Z","etag":null,"topics":["monit","yum-plugin"],"latest_commit_sha":null,"homepage":"https://wildwolf.name/how-to-integrate-monit-with-yum/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjinks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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},"funding":{"custom":["https://www.paypal.com/donate/?hosted_button_id=SAG6877JDJ3KU","https://send.monobank.ua/jar/7rosVfiwKM"]}},"created_at":"2018-06-08T23:09:25.000Z","updated_at":"2018-06-19T21:20:48.000Z","dependencies_parsed_at":"2023-04-15T09:32:35.579Z","dependency_job_id":null,"html_url":"https://github.com/sjinks/yum-plugin-monit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sjinks/yum-plugin-monit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fyum-plugin-monit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fyum-plugin-monit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fyum-plugin-monit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fyum-plugin-monit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjinks","download_url":"https://codeload.github.com/sjinks/yum-plugin-monit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fyum-plugin-monit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33750474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"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":["monit","yum-plugin"],"created_at":"2024-11-14T00:29:40.205Z","updated_at":"2026-05-31T21:31:32.797Z","avatar_url":"https://github.com/sjinks.png","language":"Python","funding_links":["https://www.paypal.com/donate/?hosted_button_id=SAG6877JDJ3KU","https://send.monobank.ua/jar/7rosVfiwKM"],"categories":[],"sub_categories":[],"readme":"# yum-plugin-monit\n\nyum plugin to temporarily deactivate monit during package installs / updates / removals.\n\n# Installation\n\n```bash\nmake install\n```\n\n# Uninstallation\n\n```bash\nmake uninstall\n```\n\n# Build RPM\n\n```bash\nrpmbuild --undefine=_disable_source_fetch -ba yum-plugin-monit.spec\n```\n\n# How It Works\n\nThe plugin uses two hooks:\n  * `pretrans_hook` which fires right before the transaction; this hook function stops monit (using `systemctl`)\n  * `posttrans_hook` which fires after the transaction is completed; this function starts monit (using `systemctl`)\n\n\n# Why\n\nConsider the following configuration:\n\n```\ncheck file sshd_bin with path /usr/sbin/sshd\n  if failed checksum       then unmonitor\n  if failed permission 755 then unmonitor\n  if failed uid root       then unmonitor\n  if failed gid root       then unmonitor\n```\n\nEverything works untils you update `openssh-server` package: when `/usr/sbin/sshd` is replaced with a new version,\nthis triggers `if failed checksum then unmonitor` rule, and ssh is no longer monitored.\n\nWith this plugin, monit is stoped before the transaction is run and started again after the transaction is completed.\nUpon start, monit recaluclates all checksums and therefore `sshd` is not get unmonitored.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjinks%2Fyum-plugin-monit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjinks%2Fyum-plugin-monit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjinks%2Fyum-plugin-monit/lists"}