2016-07-16 3 views
2

collectd cpu 플러그인을 사용하고 logstash를 사용하여 로그 메시지를 수집 중입니다. 나는 logstash에 다음과 같은 오류가 나타납니다, 아무도 그것을 고칠 방법을 알고 있습니까?Collectd cpu plugin 유형이 disk_io_time 인 경우 유효하지 않은 값

{:timestamp=>"2016-07-15T21:03:53.481000+0000", :message=>"Invalid value for type=\"disk_io_time\", key=nil, index=1", :level=>:error} 
{:timestamp=>"2016-07-15T21:03:53.482000+0000", :message=>"Invalid value for type=\"disk_io_time\", key=nil, index=0", :level=>:error} 
{:timestamp=>"2016-07-15T21:03:53.482000+0000", :message=>"Invalid value for type=\"disk_io_time\", key=nil, index=1", :level=>:error} 
{:timestamp=>"2016-07-15T21:03:53.483000+0000", :message=>"Invalid value for type=\"disk_io_time\", key=nil, index=0", :level=>:error} 
{:timestamp=>"2016-07-15T21:03:53.484000+0000", :message=>"Invalid value for type=\"disk_io_time\", key=nil, index=1", :level=>:error} 

내 collectd 버전 - 5.5.1

답변

3

참조 logstash collectd documentation : 더 types.db이 제공되지

경우 포함 types.db는 (현재 5.4.0)이 사용됩니다

collectd 5.5.1에 ​​약간의 변경이있는 것 같습니다 (here 참조). 따라서, 당신은 명시 적으로 예를 들어, types.db을 설정해야합니다

input { 
    udp { 
    codec => collectd { 
     typesdb => [ '/usr/share/collectd/types.db'] 
    } 
    } 
} 

이 설치 types.db의 위치를 ​​결정하기 위해 https://collectd.org/documentation/manpages/types.db.5.shtml를 참조하십시오.

관련 문제