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

Error write_gcm: can not take infinite value for swap/percent/value on machines without swap #198

Open
gdsotirov opened this issue Apr 13, 2021 · 0 comments

Comments

@gdsotirov
Copy link

  • Version of collectd: 6.1.3-1
  • Operating system / distribution: CentOS Linux release 8.3.2011

Expected behavior

No errors with default configuration on virtual machine instances without swap.

Actual behavior

Constantly repeating errors in the journal (e.g. systemctl status stackdriver-agent or journalctl -xe) with the first line in red:

write_gcm: can not take infinite value
collectd[1520]: write_gcm: wg_typed_value_create_from_value_t_inline failed for swap/percent/value! Continuing.

Steps to reproduce

  1. Install Cloud Monitoring agent following these instructions.
  2. Check agent status (e.g. systemctl status stackdriver-agent) or for errors in general (e.g. journalctl -xe).

The workaround is of course to disable the swap plugin, but having virtual machine instances without swap is common nowadays, so there should not be error at all.

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

1 participant