1 test 파일 작성 ( cpu, memory ) #!/bin/sh USED1=`free | grep ^Mem | awk '{print $4}'` CPU=`mpstat | tail -1 | awk '{print 100-$11}'` echo jmx-app1 mem=$USED1,cpu=$CPU echo jmx-app2 mem=$USED1,cpu=$CPU jmx-app1,mem=23497164,cpu=0.58 i=42i,j=43i,k=44i jmx-app2,mem=23497164,cpu=0.58 i=42i,j=43i,k=44i ,Tag1=,Tag2= =,=,= 2. Telegraf 등록 [[inputs.exec]] commands = ["sh /tmp/test.sh"] timeout = "5s" data_f..