소스 검색

agent:
- optimize fhem query (filter out some unused types)

erdoking 7 년 전
부모
커밋
e13467815f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      local/share/check_mk/agents/mk_fhem

+ 1 - 1
local/share/check_mk/agents/mk_fhem

@@ -6,7 +6,7 @@ use JSON qw( );
 use Data::Dumper;
 
 ## change path / port here if necessary 
-my $fhem_outpout = `/opt/fhem/fhem.pl 7072 "jsonlist2 TYPE=.*:FILTER=state=..*:FILTER=model!=CCU-FHEM:FILTER=model!=ActionDetector"`;
+my $fhem_outpout = `/opt/fhem/fhem.pl 7072 "jsonlist2 TYPE=.*:FILTER=state=..*:FILTER=model!=CCU-FHEM:FILTER=TYPE!=CCU-FHEM|ActionDetector|at|notify|statistics|DOIF"`;
 
 ## special device types to be monitored
 ## normaly filtered out