{"id":20914912,"url":"https://github.com/showx/monitorshow","last_synced_at":"2026-05-18T06:38:00.901Z","repository":{"id":75366347,"uuid":"147695845","full_name":"showx/monitorshow","owner":"showx","description":"服务器配置监控中心","archived":false,"fork":false,"pushed_at":"2019-10-16T06:10:34.000Z","size":455,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-07T02:41:06.555Z","etag":null,"topics":["conf","git","monitor","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/showx.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":"2018-09-06T15:37:24.000Z","updated_at":"2019-10-16T06:10:36.000Z","dependencies_parsed_at":"2023-03-01T01:31:02.691Z","dependency_job_id":null,"html_url":"https://github.com/showx/monitorshow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/showx/monitorshow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showx%2Fmonitorshow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showx%2Fmonitorshow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showx%2Fmonitorshow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showx%2Fmonitorshow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/showx","download_url":"https://codeload.github.com/showx/monitorshow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showx%2Fmonitorshow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33167825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["conf","git","monitor","php"],"created_at":"2024-11-18T16:12:09.405Z","updated_at":"2026-05-18T06:38:00.869Z","avatar_url":"https://github.com/showx.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monitorshow\n服务器监控系统\n1. monitor/client/ 客户端上报信息\n2. monitor/server/ 服务器统计信息(根据个人调整，暂不公开)\n3. configCenter/ 生成项目配置文件\n\t php项目专用，使用yaconf加载,不是任何环境都有composer,故提交vender文件夹\n4. autorelease/ :git hook自动发布系统。\n   /show/gitBase/  git提交的项目文件。\n   /webwww/www/    线上项目地址。 /webwww/www,可自行修改\n   采用gitlab的webhook\n5. monitor_third 第三方监控文件\n6. one 一键获取服务器情况\n\n## 使用路径\n/show/monitorshow/\n\n### [configCenter]\n1. php扩展: yaconf\n2. configCenter/configfiles 需要配置的文件(php数组)\n3. php server.php 发送端\n\n \n### [autorelease]\n首先要确保开启gitlab的webhook功能\n/home/git/gitlab/config/gitlab.yml\n里的注释要去掉才生效\nwebhook_timeout: 10\n\n1. 配置gitlab的webhook地址\n2. 配置好项目config.php\n3. /show/gitBase 拉取工程 \n\n## [monitor]\n简单服务器监控,采用滴滴报警\n\n### crondjob任务\n* * * * * /show/monitorshow/client/client.py \u003e /dev/null 2\u003e\u00261 \u0026\n\n### 支持库\n1. python 2.7\n2. yum install gcc python-devel\n3. yum install python-setuptools\n4. easy_install psutil\n5. easy_install supervisor\n   \n### supervisor\n不使用nohup,使用supervisord比较靠谱，当然使用nohup也可以,更新完配置得重启一下,以下是常用命令\n1. supervisord -c /show/monitorshow/daemon/supervisord/supervisord.conf\n2. supervisorctl reload (supervisorctl -c /show/monitorshow/daemon/supervisord/supervisord.conf reload)\n3. supervisorctl status (supervisorctl -c /show/monitorshow/daemon/supervisord/supervisord.conf status)\n4. supervisorctl shutdown (supervisorctl -c /show/monitorshow/daemon/supervisord/supervisord.conf shutdown)\n5. supervisorctl -c /show/monitorshow/daemon/supervisord/supervisord.conf reread\n\n\n## 测试通过\n1. centos 7\n2. python 2.7\n3. Php 7.0+ (bcmath扩展)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowx%2Fmonitorshow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshowx%2Fmonitorshow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowx%2Fmonitorshow/lists"}