Giter Site home page Giter Site logo

amprobe's Introduction

Amprobe

MIT License Go Reference

简介

Amprobe 是一款轻量级主机及 Docker 容器监控工具,它可以轻松的帮助我们完成以下几方面的工作:

  • 监控主机的 CPU、内存、磁盘 IO、网络 IO情况
  • 监控部署于主机上 Docker 容器的运行状态、CPU、内存使用情况
  • 实时查看 Docker 容器的日志,并支持日志下载
  • 针对管理员用户提供简单的 Docker 容器、镜像运维操作
  • 操作日志记录

官网地址:官网 | Amprobe (amprobe.amuluze.com)

docker 版本要求:>= 20.10.9

技术栈

Amprobe 采用前后端分离的技术架构。

前端技术栈:

  • Vue3
  • TypeScript
  • Element+
  • Vue-router
  • Pinia

后端技术栈:

  • Golang
  • Fiber
  • Sqlite

请作者喝杯咖啡

非常感谢大家使用 Amprobe, 目前该项目由个人用业余时间在维护,如果本项目有帮助到你的话,可以考虑请作者喝杯咖啡~

阿慕

其他

作者阿慕,作为一名 35 岁的临“退”程序员,目前正在尝试去探索一条能够延长职业生涯的可行方案,欢迎添加作者微信或关注作者公众号进行交流呀!

阿慕微信 公众号

开源不易,最后别忘了给本项目点个 Star ~

License

MIT

amprobe's People

Contributors

amuluze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

amprobe's Issues

部署起来太麻烦了

应该在 image 内部包含默认配置,需要变动的地方通过环境变量修改,或者告知配置文件目录,用户可以映射到本地目录,重启容器后应用修改;

是否会考虑开放docker管理权限?

不清楚admin和默认账号的区别,尝试了下管理都提示没有权限。 后续是否会将管理权限落地,形成类似portianer的项目?加了大佬的微信,方便的话能否通过交流一下~~

系统磁盘和网卡流量监控没有数据

关于网卡和磁盘这块的配置文件,配置上后数据显示异常,或者不显示。
感觉配置的没有啥问题
主机网卡和磁盘信息:
image
配置文件:
image

页面显示是:
image

是配置有问题吗?

nginx反向代理之后,静态文件找不到

问题:
通过路由/app/amprobe来隐藏服务的端口,但是打开首页,发现静态文件路径错误,正确的应该是domain/app/amprobe/静态文件,现在是domain/静态文件
请问大佬有什么方法可以解决嘛,或者在哪块代码可以把静态文件的相对路径改成绝对路径

登录报错:Request failed with status code 404

容器日志如下:
2024-05-01 02:44:12,392 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2024-05-01 02:44:12,392 INFO Included extra file "/etc/supervisor/conf.d/nginx.conf" during parsing
2024-05-01 02:44:12,392 INFO Included extra file "/etc/supervisor/conf.d/server.conf" during parsing
2024-05-01 02:44:12,395 INFO RPC interface 'supervisor' initialized
2024-05-01 02:44:12,395 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-05-01 02:44:12,395 INFO supervisord started with pid 1
2024-05-01 02:44:13,397 INFO spawned: 'nginx' with pid 7
2024-05-01 02:44:13,398 INFO spawned: 'server' with pid 8
2024-05-01 02:44:13,406 INFO exited: server (exit status 2; not expected)
2024-05-01 02:44:14,406 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-01 02:44:14,407 INFO spawned: 'server' with pid 10
2024-05-01 02:44:14,415 INFO exited: server (exit status 2; not expected)
2024-05-01 02:44:16,419 INFO spawned: 'server' with pid 11
2024-05-01 02:44:16,427 INFO exited: server (exit status 2; not expected)
2024-05-01 02:44:19,431 INFO spawned: 'server' with pid 12
2024-05-01 02:44:19,438 INFO exited: server (exit status 2; not expected)
2024-05-01 02:44:20,439 INFO gave up: server entered FATAL state, too many start retries too quickly

arm架构的机器,同样的命令,1.3.2可以,1.3.3用不了

docker run命令如下
docker run -itd --name amprobe
--restart=always
--net=bridge
-v /var/run/docker.sock:/var/run/docker.sock
-v /sata/docker/amprobe/proc:/host/proc:ro
-v /sata/docker/amprobe/sys:/host/sys:ro
-v /sata/docker/amprobe/dev:/host/dev:ro
-v /sata/docker/amprobe/etc:/host/etc:ro
-v /sata/docker/amprobe/:/rootfs:ro
-v /sata/docker/amprobe/data/amprobe/configs:/app/configs
-p 10010:80
amuluze/amprobe_arm:v1.3.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.