Coder Social home page Coder Social logo

nginx 监控问题 about zabbix HOT 7 CLOSED

qiueer avatar qiueer commented on July 28, 2024
nginx 监控问题

from zabbix.

Comments (7)

qiueer avatar qiueer commented on July 28, 2024
python nginx.py --list是在root用户下执行的吗,应该是权限的问题,修改下日志的权限,例如:chmod 666 /tmp/nginx_perf.log。通常zabbix_agent是用zabbix用户运行。

from zabbix.

zliangbj avatar zliangbj commented on July 28, 2024

是的呀 , zabbix的sudo权限也已经赋予了. /tmp/nginx_perf.log权限也没问题. 如果使用官方的模板监控的话, /tmp/nginx_perf.log的日志就一直不会有变化, 一直只有root手动执行后得输出

from zabbix.

qiueer avatar qiueer commented on July 28, 2024
o,我明白你的意思了,我这个模板跟zabbix官方提供的不一样的。官方提供的没有自动发现功能,我也没怎么研究...

from zabbix.

zliangbj avatar zliangbj commented on July 28, 2024

额 那你用哪个模板, 能让日志自动变化?

from zabbix.

qiueer avatar qiueer commented on July 28, 2024
没能看明白你的意思,方便的话你加我微信吧,QiuJQin

from zabbix.

zliangbj avatar zliangbj commented on July 28, 2024

请问, 使用all in one的nginx.conf监控设置后, zabbix应该使用nginx监控模板是哪个.
All in one里头并没有提供nginx的监控模板. 使用官方的nginx模板的话,则/tmp/nginx_perf.log 也不会有变化, zabbix的nginx监控也就没有数据了.

from zabbix.

qiueer avatar qiueer commented on July 28, 2024
之前电脑坏了。nginx模板已上传

from zabbix.

Related Issues (20)

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.