Stackdriver / collectd

Stackdriver's monitoring agent based on collectd (http://collectd.org).
https://cloud.google.com/monitoring/agent/
Other
51 stars 15 forks source link

Restrict <sys/sysctl.h> to BSD variants, to remove deprecation warnings. #177

Closed jkschulz closed 4 years ago

jkschulz commented 4 years ago

Deprecation warnings started with glibc release 2.30. See collectd discussion: https://github.com/collectd/collectd/issues/3338. Collectd is built with -Werror, so the deprecated header warning killed the build.

This PR is a combination of:

Only tested on Ubuntu 19.10 by building and running the monitoring agent.