Closed tokyowizard closed 6 years ago
CentOS 7.3.1611
docker-engine-17.05.0.ce-1.el7.centos.x86_64
collectd-core-5.7.1_librato1.413-0.x86_64
Steps:
varnish-libs
librato_rh_version: '5.7.1_librato1.413' librato_hostname: "{{ ec2_tag_Hostname }}" librato_fqdn_lookup: false librato_enabled_plugins: ['docker'] librato_docker_host: "{{ inventory_hostname }}" librato_docker_port: 2375 librato_logging_use_log_file: true librato_logging_log_file_log_level: err librato_logging_log_file_filename: stdout
I'm getting some metrics, but also getting these errors: (use sudo journalctl -u collectd -f to see the errors)
sudo journalctl -u collectd -f
Jul 14 03:47:02 myhost collectd[15084]: {"measurements":{"summary":{"total":34,"accepted":34,"failed":0}},"errors":[]}{"measurements":{"summary":{"total":37,"accepted":37,"failed":0}},"errors":[]}{"measurements":{"summary":{"total":67,"accepted":67,"failed":0}},"errors":[]}-1 1 Type `cpu_stats/system_cpu_usage' isn't defined. Jul 14 03:47:02 myhost collectd[15084]: -1 1 Type `memory_stats/stats/hierarchical_memsw_limit' isn't defined. Jul 14 03:47:02 myhost collectd[15084]: -1 1 Type `memory_stats/stats/swap' isn't defined. Jul 14 03:47:02 myhost collectd[15084]: -1 1 Type `cpu_stats/online_cpus' isn't defined. Jul 14 03:47:02 myhost collectd[15084]: -1 1 Type `cpu_stats/throttling_data/periods' isn't defined. Jul 14 03:47:02 myhost collectd[15084]: -1 1 Type `memory_stats/stats/unevictable' isn't defined. Jul 14 03:47:02 myhost collectd[15084]: -1 1 Type `memory_stats/usage' isn't defined. Jul 14 03:47:06 myhost collectd[15084]: {"measurements":{"summary":{"total":41,"accepted":41,"failed":0}},"errors":[]}-1 1 Type `memory_stats/stats/unevictable' isn't defined. Jul 14 03:47:06 myhost collectd[15084]: -1 1 Type `cpu_stats/online_cpus' isn't defined. Jul 14 03:47:06 myhost collectd[15084]: -1 1 Type `cpu_stats/throttling_data/periods' isn't defined. Jul 14 03:47:06 myhost collectd[15084]: -1 1 Type `memory_stats/stats/hierarchical_memsw_limit' isn't defined. Jul 14 03:47:06 myhost collectd[15084]: -1 1 Type `cpu_stats/system_cpu_usage' isn't defined. Jul 14 03:47:06 myhost collectd[15084]: -1 1 Type `memory_stats/stats/swap' isn't defined. Jul 14 03:47:06 myhost collectd[15084]: -1 1 Type `memory_stats/usage' isn't defined. Jul 14 03:47:10 myhost collectd[15084]: {"measurements":{"summary":{"total":34,"accepted":34,"failed":0}},"errors":[]}-1 1 Type `memory_stats/usage' isn't defined. Jul 14 03:47:10 myhost collectd[15084]: -1 1 Type `cpu_stats/online_cpus' isn't defined. Jul 14 03:47:10 myhost collectd[15084]: -1 1 Type `cpu_stats/system_cpu_usage' isn't defined. Jul 14 03:47:10 myhost collectd[15084]: -1 1 Type `memory_stats/stats/unevictable' isn't defined. Jul 14 03:47:10 myhost collectd[15084]: -1 1 Type `memory_stats/stats/swap' isn't defined. Jul 14 03:47:10 myhost collectd[15084]: -1 1 Type `memory_stats/stats/hierarchical_memsw_limit' isn't defined. Jul 14 03:47:10 myhost collectd[15084]: -1 1 Type `cpu_stats/throttling_data/periods' isn't defined.
Note: I've checked and compared the collectd-docker.py in /opt/collectd/share/collectd/collectd-docker.py on the instance is the same as in this repo's collectd-docker.py file. Everything except the copyright is the same.
/opt/collectd/share/collectd/collectd-docker.py
CentOS 7.3.1611
in an AWS EC2 instance.docker-engine-17.05.0.ce-1.el7.centos.x86_64
collectd-core-5.7.1_librato1.413-0.x86_64
Steps:
varnish-libs
rpm was missing in the repo at provisioning time of writing.I'm getting some metrics, but also getting these errors: (use
sudo journalctl -u collectd -f
to see the errors)Note: I've checked and compared the collectd-docker.py in
/opt/collectd/share/collectd/collectd-docker.py
on the instance is the same as in this repo's collectd-docker.py file. Everything except the copyright is the same.