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
Install Cloud Monitoring agent following these instructions.
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.
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
orjournalctl -xe
) with the first line in red:Steps to reproduce
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.