-
Notifications
You must be signed in to change notification settings - Fork 491
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
Adding monitoring for more types of interfaces #1756
Conversation
krish7919
commented
May 26, 2016
- Scollector monitors interfaces whose interface names have a specific prefix.
- Adding tun, wlan and ppp to be monitored too
- Scollector monitors interfaces whose interface names have a specific prefix. - Adding tun*, wlan* and ppp* to be monitored too
#1353 also adds things. What these need is for the interfaces to be categorized into the proper metric. So the scheme should be:
See reference at bottom. This way the aggregation of os.net.bytes should be total traffic and we don't double count things. When we do this from SNMP, we use the ifType table as follows in cmd/scollector/collectors/snmp_ifaces To give you an idea:
|
@kylebrandt : On it. Will send another PR soon. |
@kylebrandt : I went through the source this weekend. However, I could not find where to add the metrics aggregation property. Can you please guide? |
I am not sure what you mean by 'metrics aggregation property'. Can you expand? |
P.S. I am new to bosun and this is my first PR. |
@krish7919 Sorry for the delay, was focused on getting 0.5.0 out the door. There is no aggregation property, but tsdb, i.e. opentsdb will do aggregation operations on tags for a metric when querying. So if you query say os.net.bytes with no tags specified and using the sum aggregator, all the series will be summed over time. So the metric layout matches this schema so only i.e. physical interfaces are under os.net.bytes, so when you query it and aggregate you are not double counting bytes that also pass through virtual / tunnel / bond. Make sense? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |