Comments (21)
How did you start container? Used OS, ....?
from dockbix-agent-xxl.
this directory exist, but it has one subdir - this zabbix-agent container
from dockbix-agent-xxl.
all containers started by docker-compose
from dockbix-agent-xxl.
other containers started by systemd service
cat nginx.service
[Unit]
Description=nginx container
Requires=docker.service
After=docker.service
[Service]
Restart=on-failure
RestartSec=3
ExecStart=/usr/local/bin/docker-compose -f /data/nginx/docker-compose.yml up
ExecStop=/usr/local/bin/docker-compose -f /data/nginx/docker-compose.yml stop
[Install]
WantedBy=multi-user.target
from dockbix-agent-xxl.
zabbix-agent started by
docker-compose up -d
from dockbix-agent-xxl.
Is it problem with memory cgroup #3?
from dockbix-agent-xxl.
thats was on debian and now its resolved...
from dockbix-agent-xxl.
mount | grep memory
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
from dockbix-agent-xxl.
centos already have enabled memory cgroup
from dockbix-agent-xxl.
Is your monitored container up and running?
from dockbix-agent-xxl.
yes of course
from dockbix-agent-xxl.
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2a55ce74a3dc monitoringartist/zabbix-agent-xxl-limited:latest "/zocker-xxl" 17 hours ago Up 17 hours 0.0.0.0:10050->10050/tcp zabbixagent_zabbix-agent_1
6123c6781382 postgres:9.4 "/docker-entrypoint.s" 27 hours ago Up 27 hours 5432/tcp postgres_postgres_1
2912c32848cb nginx:latest "nginx -g 'daemon off" 12 days ago Up 12 days 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp nginx_nginx_1
from dockbix-agent-xxl.
So which container ID is not able to monitor?
from dockbix-agent-xxl.
ls -l /sys/fs/cgroup/memory/docker/
итого 0
drwxr-xr-x. 2 root root 0 апр 11 19:17 2a55ce74a3dca16bba37edf8867e1451d95930a855566679ccb3641b0d4c2f76
-rw-r--r--. 1 root root 0 апр 11 19:01 cgroup.clone_children
--w--w--w-. 1 root root 0 апр 11 19:01 cgroup.event_control
-rw-r--r--. 1 root root 0 апр 11 19:01 cgroup.procs
-rw-r--r--. 1 root root 0 апр 11 19:01 memory.failcnt
--w-------. 1 root root 0 апр 11 19:01 memory.force_empty
... other files
from dockbix-agent-xxl.
all containers exclude this zabbix-agent-xxl-limited
from dockbix-agent-xxl.
Is memory.stat there and has zabbix user permission to read this file?
from dockbix-agent-xxl.
-r--r--r--. 1 root root 0 апр 11 19:01 memory.stat
from dockbix-agent-xxl.
Problem:
Cannot open Docker container metric file: '/rootfs/sys/fs/cgroup/memory/docker/aae2d2c7b5a71052c61b1a4cf23141742b58a3d0e00b341a106cb6b6508b537b/memory.stat'
Docker ps:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2a55ce74a3dc monitoringartist/zabbix-agent-xxl-limited:latest "/zocker-xxl" 17 hours ago Up 17 hours 0.0.0.0:10050->10050/tcp zabbixagent_zabbix-agent_1
6123c6781382 postgres:9.4 "/docker-entrypoint.s" 27 hours ago Up 27 hours 5432/tcp postgres_postgres_1
2912c32848cb nginx:latest "nginx -g 'daemon off" 12 days ago Up 12 days 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp nginx_nginx_1
=> No, your container aae2d2c7b5a71052c... is not running => not a problem, containers will be rediscovered (it depends on your LLD rule settings).
I'm closing this issue. Please open new issue, if you have still see this issue, but please provide also proper investigation in the first post - this is not a chat.
from dockbix-agent-xxl.
That container started, but not in this listing. This problem for all started containers exclude zabbix-agent
from dockbix-agent-xxl.
Reopen this issue and read carefully please :-)
from dockbix-agent-xxl.
recreate containers with remove olds resolved this issue
from dockbix-agent-xxl.
Related Issues (20)
- Restart not working HOT 1
- Ghost Container HOT 2
- private paid image limitations HOT 1
- Global regular expression "Exclude Docker related file systems" does not exist. HOT 4
- panic: runtime error: invalid memory address or nil pointer dereference HOT 1
- Cannot get process number in container with dockbix-agent HOT 10
- Cannot open memory.stat file and cannot get statistic HOT 2
- Can't see any data about containers HOT 2
- Dockbix agent XXL - enable TLS configuration HOT 14
- TLS support HOT 3
- Server can't get any info from agent HOT 3
- no network and filesystem metrics HOT 1
- license is not clear if it's allowed to be copied in a form of docker copy HOT 2
- Can DockBix Agent work on AWS Fargate HOT 1
- How to get custom content, such as how many times to get docker restart HOT 1
- too many levels of symbolic links
- Privileged flag not documented HOT 1
- Mounted filesystem discovery when using dockbix-agent-xxl
- Zabbix / DockAgent issue HOT 6
- Require Linux/ARM64 docker image for monitoringartist/dockbix-agent-xxl-limited. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockbix-agent-xxl.