Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

监控流程 #12

Open
boking opened this issue May 25, 2015 · 6 comments
Open

监控流程 #12

boking opened this issue May 25, 2015 · 6 comments

Comments

@boking
Copy link

boking commented May 25, 2015

比如我想监控nginx,我的流程应该怎么样,expressions中怎样写,我的监控项怎么表述

@UlricQin
Copy link

如果只是对nginx做端口监控,假如你有10台nginx机器,都监听在80端口,你需要这么做:

    1. 创建一个HostGroup,比如叫fe.nginx,把这10台机器加进去
    1. 创建一个策略模板,比如叫fe.nginx.80,然后在模板中创建一个策略,配置为metric=net.port.listen,tags配置为port=80
    1. 把fe.nginx.80这个策略模板绑定到fe.nginx这个HostGroup,搞定

@boking
Copy link
Author

boking commented May 26, 2015

做了个nginx的端口80的监控,然后关掉了80端口,dashboard页面可以看到net.port.listen/port=80,已经掉下来了,但是alarm页面没有报警显示

@UlricQin
Copy link

这个问题很大,你要查看各个组件配置的对不对,各个组件的log情况

@boking
Copy link
Author

boking commented May 26, 2015

恩恩,我解决了,alarm已经显示报警了。
出现报警的时候需要刷新alarm页面才会出现报警信息,报警恢复后也需要刷新页面报警才会消失,这是个bug还是我配置的问题

@UlricQin
Copy link

alarm dash并不会自动刷新,这是预期内的

@itfans520
Copy link

alarm dash 不自动刷新,应该是设计bug,说是预期出于什么理由?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants