Slide 1

Slide 1 text

෦԰ͷϝτϦΫεՄࢹԽ 8-5 !BNVUBLF@T

Slide 2

Slide 2 text

࿩͢಺༰ ෦԰ͷ\Թ౓ ࣪౓ র౓^ͷมԽΛՄࢹԽͯ͠Έͨ࿩ 3BTQCFSSZ1J

Slide 3

Slide 3 text

ߏ੒

Slide 4

Slide 4 text

3BTQCFSSZ1J ී௨ʹ-JOVY͕ಈ͘ɺখ͍ͯ҆͘͞Ϛγϯ (1*0ͱ͍͏CJUΛೖग़ྗͰ͖Δϐϯ͕͋ͬͯిࢠ෦඼ Λૢ࡞Ͱ͖Δ Թ౓࣪౓ηϯαʔ %)5 "EBGSVJU@1ZUIPO@%)5ͱ͍͏ϥΠϒϥϦΛͦͷ· ·࢖ͬͯΔ র౓ηϯαʔ /+--' 3BTQCFSSZ1J͸Ξ φϩάೖྗͰ͖ͳ͍ͷͰɺ"%ม׵͕ඞཁ 1*$ϚΠίϯʹ"%ม׵ͯ͠΋ΒͬͯγϦΞϧ௨৴

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

'MVFOUE ϓϥΨϒϧͳϩάίϨΫλ Α͘ݟΔਤ ΊͪΌͪ͘ΌศརɻͳΜͰ΋ʮ'MVFOUEͰ΍Ε ͹͑͑΍ΜʯͬͯͳΔ IUUQTHJUIVCDPNqVFOUqVFOUE

Slide 8

Slide 8 text

type exec command python /home/pi/temp_log/temp.py 11 26 # DHT11, pin=26 keys temperature,humidity,outdoor tag monitor.dht run_interval 1m type typecast types temperature:float,humidity:float,outdoor:float type exec command python /home/pi/lux_log/lux_log.py keys lux tag monitor.lux run_interval 1m type typecast types lux:float type forward name kikyo host kikyo.local 3BTQCFSSZ1JͷqVFOUEDPOG ؾԹɾ࣪౓ηϯαʔ͔Β ஋ΛͱΔTPVSDF ܕΩϟετ͢ΔpMUFS র౓ηϯαʔ͔Β஋ΛऔΔTPVSDF αʔόʹGPSXBSE ໊લ͸LJLZP

Slide 9

Slide 9 text

type copy type influxdb host localhost port 8086 dbname monitor time_precision s type exec command ruby /etc/td-agent/scripts/temp_alert.rb buffer_path /tmp/td-agent.temp_alert keys temperature,outdoor flush_interval 10m type influxdb host localhost port 8086 dbname monitor time_precision s αʔόʔͷqVFOUEDPOG *OqVY%#ʹͿͪ͜Ή ৑௕ʁ ΤΞίϯ͚ͭͬͺͳ͠Ξϥʔτ

Slide 10

Slide 10 text

*OqVY%# ࣌ܥྻσʔλϕʔε (P੡ 42-ͬΆ͍ΫΤϦݴޠֶ͕͋ͬͯशίετ௿Ί ଞʹ΋͍Ζ͍Ζ࣌ܥྻσʔλϕʔε͸͋Δ͚Ͳझຯͩ͠ͱΓ͋ ͑ͣ࢖ͬͯΈͨ %&-&5&͕Ͱ͖ͳ͍ʜ $16͕ʹுΓ෇͘ ͳͥNBDLFSFM΍EBUBEPH͡Όͳ͍ͷ͔ ແྉϓϥϯͩͱอଘظ͕ؒ೔͔ͩΒ ࣮ࡍ͸΋͏ͪΐ͍௕ ͍ͬΆ͍

Slide 11

Slide 11 text

(SBGBOB ϝτϦΫεՄࢹԽπʔϧ *OqVY%#ͷଞʹ(SBQIJUF 0QFO54%# &MBTUJDTFBSDI $MPVE8BUDI ,BJSPT%# 1SPNFUIFVTΛαϙʔτ &MBTUJDͷ,JCBOBͷGPSLΒ͍͠ ,JCBOBͷ΄͏͕ػೳ͸ଟ͍͚Ͳ,JCBOB͸ *OqVY%#Λαϙʔτ͍ͯ͠ͳ͍ EFNPIUUQQMBZHSBGBOBPSH

Slide 12

Slide 12 text

Ͱ͖ͨ΋ͷ

Slide 13

Slide 13 text

Ͱ͖ͨ΋ͷᶄ ؆୯ͳΤΞίϯ͚ͭͬͺͳ͠Ξϥʔτ qVFOUEͷPVU@FYFDΛ࢖༻ ௚ۙ෼ͷࣨԹͷฏۉ͕֎ؾԹœˆΛ௒͑ ͍ͯͯɺ͍·Ոʹ୭΋͍ͳ͍৔߹ (PPHMF$BMFOEBSʹʮ͜ͷ࣌ؒ͸Ոʹ͍· ͢ʯΠϕϯτ͕Ұͭ΋ͳ͍

Slide 14

Slide 14 text

ײ૝ ՄࢹԽָ͍͠ ීஈಛʹؾʹ͠ͳ͍͜ͱͰ΋άϥϑʹͳΔͱ ͳΜָ͔͍͠ ศརπʔϧศར ࣮૷Λௐ΂Δͱ͜Ζ·Ͱ΍Βͳ͍ͱͳ͊ͱࢥ ͍ͭͭ΍Εͯͳ͍ ిࢠ޻࡞ָ͍͠