{"id":18251792,"url":"https://github.com/hiroakis/mackerel-agent-checks-plugins","last_synced_at":"2025-04-08T20:46:47.429Z","repository":{"id":145130548,"uuid":"39501596","full_name":"hiroakis/mackerel-agent-checks-plugins","owner":"hiroakis","description":null,"archived":false,"fork":false,"pushed_at":"2015-10-26T02:45:53.000Z","size":95,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T16:39:44.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/hiroakis.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}},"created_at":"2015-07-22T11:05:50.000Z","updated_at":"2015-09-04T07:10:30.000Z","dependencies_parsed_at":"2023-04-11T04:35:08.534Z","dependency_job_id":null,"html_url":"https://github.com/hiroakis/mackerel-agent-checks-plugins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fmackerel-agent-checks-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fmackerel-agent-checks-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fmackerel-agent-checks-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fmackerel-agent-checks-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroakis","download_url":"https://codeload.github.com/hiroakis/mackerel-agent-checks-plugins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247927089,"owners_count":21019504,"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","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":[],"created_at":"2024-11-05T09:48:30.274Z","updated_at":"2025-04-08T20:46:47.409Z","avatar_url":"https://github.com/hiroakis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mackerel-agent-checks-plugin\n\n**This repository is not updated no longer. Because some plugins are merged to official plugins(https://github.com/mackerelio/go-check-plugins)**\n\nThese scripts are used as mackerel-checks-plugins that are defind `[plugin.checks.xxxx]` in mackerel-agent.conf.\nYou also can use these scripts as nagios plugin and sensu plugin. The specification of these scripts are same as nagios plugin and sensu plugin. (Note: I didn't do testing on Nagios and Sensu)\n\nDetails are following links\n\n* English: http://help.mackerel.io/entry/custom-checks\n* Japanese: http://help-ja.mackerel.io/entry/custom-checks\n\n# Build and install\n\n```\ngo get -d github.com/hiroakis/mackerel-agent-checks-plugins\ncd $GOPATH/src/github.com/hiroakis/mackerel-agent-checks-plugins\nmake\nsudo make install\n# the binaries are installed to /usr/local/bin\n```\n\nIf you would like to use on other OS, you can edit TARGET_OSARCH in Makefile.\n\n# How to use\n\n## mackerel-check-proc\n\n```\nmackerel-check-proc -name=ntpd -critunder=1 -critover=1 -warnunder=1 -warnover=1\n```\n\n## mackerel-check-port\n\n```\nmackerel-check-port -host=127.0.0.1 -port=11211 -level=warn\n```\n\n## mackerel-check-mysql-replication\n\n```\nmackerel-check-mysql-replication -host=127.0.0.1 -port=3306 -username=USER -password=PASSWORD -warn=5 -crit=10\n```\n\n## mackerel-check-mysql-connection\n\n```\nmackerel-check-mysql-connection -host=127.0.0.1 -port=3306 -username=USER -password=PASSWORD -warn=250 -crit=280\n```\n\n## mackerel-check-ntpoffset\n\n```\nmackerel-check-ntpoffset -warn=50 -crit=100\n\n```\n# LICENSE\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Fmackerel-agent-checks-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroakis%2Fmackerel-agent-checks-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Fmackerel-agent-checks-plugins/lists"}