bosun - Not getting networking metrics from scollector on Centos 7.1 -


we have bosun running on centos 6.4 , many nodes on os also. added centos 7.1 nodes , while basic metrics os.cpu, no network-related metrics appear.

i recompiled latest scollector on 7.1 , pushed out, didn't help. need recompile bosun on 6.4 also, or backwards compatible?

thanks ken

right interfaces collect restricted regular expression:

https://github.com/bosun-monitor/bosun/blob/master/cmd/scollector/collectors/ifstat_linux.go

var ifstatre = regexp.mustcompile(`\s+(eth\d+|em\d+_\d+/\d+|em\d+_\d+|em\d+|` + `bond\d+|team\d+|` + `p\d+p\d+_\d+/\d+|p\d+p\d+_\d+|p\d+p\d+):(.*)`) 

the problem due aggregation need clear if interface physical interface, tunnel, team/bond etc. don't want accidently virtual interfaces in os.net.bytes messes aggregation.

there couple prs, need address categorization issue , not have yet. immediate workarounds can edit code have need, work on pr make configurable category, or rename interfaces.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -