Comments (10)
I don't see any issue with dockbix-agent-xxl. Be familiar with proc.num
configuration https://www.zabbix.com/documentation/3.4/manual/config/items/itemtypes/zabbix_agent and configure your item correctly.
from dockbix-agent-xxl.
hi jangaraj!
[root@lcshop-zabbix ~]# zabbix_get -s 172.31.0.66 -k 'proc.num[,,,zabbix_agentd]'
6
[root@lcshop-zabbix ~]# zabbix_get -s 172.16.0.195 -k 'proc.num[,,,zabbix_agentd]'
0
172.31.0.66 is normal zabbix-agent 3.4.5 and 172.16.0.195 is dockbix-agent-xxl,but the results of "proc.num[,,,zabbix_agentd]" are different,why that happened?
from dockbix-agent-xxl.
How did you start agent container?
from dockbix-agent-xxl.
docker run --name=dockbix \
--net=host --privileged -v /:/rootfs \
-v /var/run:/var/run --restart unless-stopped -e "ZA_Server=172.31.0.77" \
-e "ZA_ServerActive=172.31.0.77" -d \
hub.c.163.com/canghai809/dockbix-agent-xxl-limited:latest
from dockbix-agent-xxl.
Sorry, hub.c.163.com/canghai809/dockbix-agent-xxl-limited:latest
is not image in my responsibility, so I can't support any third party image.
from dockbix-agent-xxl.
hi jangaraj,
i change your images:
[root@lcshop-ecadmin-001 docker]# docker run \
--name=dockbix-agent-xxl
--net=host
--privileged
-v /:/rootfs
-v /var/run:/var/run
--restart unless-stopped
-e "ZA_Server=172.31.0.77"
-e "ZA_ServerActive=172.31.0.77"
-d monitoringartist/dockbix-agent-xxl-limited:latest
4a5491a256233fb6fef096ed640091032756d0c981346cf7e2c07e11a552bdf0
[root@lcshop-ecadmin-001 docker]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4a5491a25623 monitoringartist/dockbix-agent-xxl-limited:latest "/dockbix-agent-xxl" 3 seconds ago Up 2 seconds dockbix-agent-xxl
6f84c1d9e5b9 registry.cn-hangzhou.aliyuncs.com/lechangeshop/ecadmin:20181012 "/bin/bash" 2 days ago Up 2 minutes 0.0.0.0:9099->80/tcp ecadmin
but i still can't get 'proc.num[,,,zabbix_agentd]'... please help me
from dockbix-agent-xxl.
Your container can be isolated. Try --pid=host
to use host namespace.
from dockbix-agent-xxl.
I delete both my apache2 container and dockbix container ,then run both of them with --pid=host.
OK ,i got it!thank U so much!
[root@lcshop-zabbix ~]# zabbix_get -s 172.16.0.195 -k 'proc.num[apache2]'
16
but please tell me how to attach dockbix? i found there is no /bin/bash in dockbix container.
[root@lcshop-ecadmin-001 docker]# docker exec -it 14a248486e53 /bin/bash
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: "/bin/bash": stat /bin/bash: no such file or directory": unknown
from dockbix-agent-xxl.
Be more familiar with namespaces - only agent needs host namespace.
You need paid image https://github.com/monitoringartist/dockbix-agent-xxl#public-limited-vs-private-paid-image if you want to use docker attach
, a public limited image doesn't have any shell.
from dockbix-agent-xxl.
thanks for ur answer
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 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.