使用metricbeat获取socket信息时,在有些主机上会报错:failed requesting socket dump: connection refused,请问这个怎么解决,谢谢!
{"@timestamp":"2018-01-09T03:20:51.045Z","@metadata":{"beat":"metricbeat","type":"doc","version":"7.0.0-alpha1"},"beat":{"name":"xxxx","hostname":"xxx","versio
n":"7.0.0-alpha1"},"metricset":{"rtt":271228,"name":"socket","module":"system"},"error":{"message":"failed requesting socket dump: connection refused"}}
{"@timestamp":"2018-01-09T03:20:51.045Z","@metadata":{"beat":"metricbeat","type":"doc","version":"7.0.0-alpha1"},"beat":{"name":"xxxx","hostname":"xxx","versio
n":"7.0.0-alpha1"},"metricset":{"rtt":271228,"name":"socket","module":"system"},"error":{"message":"failed requesting socket dump: connection refused"}}
2 个回复
medcl - 今晚打老虎。
赞同来自:
是不是 sudo 以 root 用户执行的?
linux 内核是什么版本,此 metricset 需要内核 2.6.14 以上。
medcl - 今晚打老虎。
赞同来自: