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

scollector generates wrong key without FQDN #1862

Closed
R-Sommer opened this issue Aug 11, 2016 · 2 comments
Closed

scollector generates wrong key without FQDN #1862

R-Sommer opened this issue Aug 11, 2016 · 2 comments

Comments

@R-Sommer
Copy link

Hi,

I run a vsphere environment without DNS. This leads scollector to generate an incomplete key i.e. vsphere.guest.mem.used,guest=vsa1,host=192 (I'd assume the idea behind is to cut the domain part from FQDN).

@gbrayut
Copy link
Contributor

gbrayut commented Aug 11, 2016

This is due to the clean function in the bosun.org/util package. You can add FullHost = true in scollector.toml to disable the short names and always use FQDNs.

@kylebrandt thoughts on adding an IP check to the util function? probably shouldn't string split if it is a valid IPv4 address.

@R-Sommer
Copy link
Author

@gbrayut I added FullHost = true and now I have complete ip addresses. However, there is a new error:

error: collectors.go:256: Invalid tagset discovered: {disk=ESXi1-BackupDS,host=}. Skipping datapoint. Added from: vsphere.go:104

Do you want me to keep this issue open regarding IP check? Shall I open a new issue for this new error?

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

2 participants