Supervisor 集中管理工具 Supervisord-monitor
开源免费的集中管理工具,基于php开发,需要php环境
监控无限制的supervisord服务器和进程
启动/停止/重启过程
阅读stderr日志
发生stderr时启动新的Redmine票证
stderr发生时的声音警报
静音提醒(一段时间后自动恢复)
监控流程正常运行状态
项目地址
https://github.com/mlazarov/supervisord-monitor
准备php环境
#安装nginx和php
[root@node2 ~]# yum -y install nginx php php-fpm
#修改nginx主配置文件,去掉无用的配置
[root@node2 config]# cat /etc/nginx/nginx.conf
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
include /usr/share/nginx/modules/*.conf;
events {
worker_connections 1024;
}
http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'&