在Zabbix Server 上配置监控项 登录Zabbix Web 界面,在 Configuration -> Hosts -> Create host 中添加要监控的 Docker 主机,并添加监控项: Type: Zabbix agent Key: docker.service.status 创建触发器 在触发器中创建一个新的触发器,当监控项的值为 0(Service is Down)时触发报警。 配置报警 在Administration ...
I'm trying to monitor docker services (containers) with Zabbix docker agent. Zabbix interface claims "Service is down"/"Failed to fetch info data" when trying to ping the Docker daemon from the agent. Here is how I composed my agent service: version: "3.5" services: agent: image: zabbix...
Docker: Service is downlast(/Docker by Zabbix agent 2/docker.ping)=0AverageManual close: Yes Docker: Failed to fetch info data Zabbix has not received data for items for the last 30 minutes. nodata(/Docker by Zabbix agent 2/docker.name,30m)=1WarningManual close: Yes ...
docker run --name zabbix-java-gateway -t \ -d zabbix/zabbix-java-gateway:latest 3、启动zabbix-mysql容器使用link连接mysql与java-gateway。 代码语言:javascript 复制 docker run --name zabbix-server-mysql -t \ -e DB_SERVER_HOST="mysql-server" \ -e MYSQL_DATABASE="zabbix" \ -e MYSQL_USER...
All our team is setting the bar not only for IT infrastructure monitoring, but even much more – design, service, informal events etc. This is the place where you can share and actually realize your greatest ideas. Join Us! I have the best colleagues – friendly and very professional ones...
docker run --name zabbix-java-gateway -t \ -d zabbix/zabbix-java-gateway:latest 3、启动zabbix-mysql容器使用link连接mysql与java-gateway。 docker run --name zabbix-server-mysql -t \ -e DB_SERVER_HOST="mysql-server"\ -e MYSQL_DATABASE="zabbix"\ ...
cp docker/* /usr/bin/ 1. 创建service vi /etc/systemd/system/docker.service [Unit] Descriptinotallow=Docker Application Container Engine Documentatinotallow=https://docs.docker.com After=network-online.target firewalld.service Wants=network-online.target ...
$ docker network ls NETWORK ID NAME DRIVER SCOPE 14c25119dd06 bridge bridge local 4e2782140647 host host local b25888b8c26a nonenulllocal cfc3bf2124af zabbix-net bridge local # 查看新增的网络 $ ip a5: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu1500qdisc noqueue state DOWN groupdefault...
今天就只实现一个目的:监控任意一个服务(示例中监控的是docker.service),如果服务挂了,自动给恢复,先看一个动图 搭建步骤: 192.168.1.3是zabbixServer(还安装了Apache、mysql、也一并安装了agent) 安装步骤请参考官网:https://www.zabbix.com/download?zabbix=5.0&os_distribution=centos&os_version=7&db=mysql&...
1/ You need to make sure your private keys are going to resist the container coming and going, and set them up in a persistent docker volume: from my Zabbix Server docker-compose.yml: volumes: - ${HOME}/Deployment/zabbixServer/sshKeys:/var/lib/zabbix/ssh_keys:ro - ${HOME}/Deployment...