Your SlideShare is downloading. ×
  • Like
Monitoringcasual007
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Monitoringcasual007

  • 48 views
Published

http://www.zusaar.com/event/9807003

http://www.zusaar.com/event/9807003

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
48
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Ikachan for HipChat © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 1
  • 2. who? Satoshi SUZUKI 4 Twitter: @studio3104 4 GitHub: studio3104 4 Work: LINE Corporation © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 2
  • 3. notification © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 3
  • 4. notification of alerts 4 閾値を超えたら通知を出したい 4 メール? 4 IM? 4 チャット? © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 4
  • 5. notification of alerts 例えば IRC に直接通知するスクリプトを書く 4 各 script がそれぞれ IRC サーバに直接繋ぐの? 4 うざい 4 IRC サーバの IP とか port とか変わったら? 4 変更祭だるい!! © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 5
  • 6. Ikachan    http://blog.yappo.jp/yappo/archives/000760.html © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 6
  • 7. ikachan 4 IRC server につながりっぱなしなサーバ 4 HTTP POST にて指定した channel に message 投稿 4 実装言語がなんであろうと使える © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 7
  • 8. notification of alerts ikachan なら 4 各 script がそれぞれ IRC サーバに直接繋ぐの? 4 ikachan server だけが繋がってれば良い 4 IRC サーバの IP とか port とか変わったら? 4 ikachan server の設定だけ変えればいい © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 8
  • 9. one day... © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 9
  • 10. 「IRC から HipChat に移行します」 © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 10
  • 11. \(^o^)/ © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 11
  • 12. ikachan に代わる者が必要だ... © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 12
  • 13. Ikachan for HipChat Ikasan   https://github.com/studio3104/ikasan © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 13
  • 14. Ikasan 4 Ikachan と互換性のある API 4 /notice, /privmsg で通知が出来る 4 /join, /leave はない 4 color とか、HipChat ならではのパラメタもサポート © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 14
  • 15. Ikasan 4 エイリアスの機能がある 4 channel: "#monitoring" な投稿を、HipChat の MonitoringCasual ルームに投稿させる、みたいなルー ルを定義しておける © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 15
  • 16. Ikachan -> Ikasan © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 16
  • 17. Ikachan -> Ikasan Ikachan がこんな感じで動いていたとします <VirtualHost *:80> ServerName ikachan.server ProxyPass / http://localhost:5000/ ProxyPassReverse / http://localhost:5000/ </VirtualHost> © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 17
  • 18. Ikachan -> Ikasan Ikasan を 3000 とかで動かして設定を変えて graceful <VirtualHost *:80> ServerName ikachan.server ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/ </VirtualHost> © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 18
  • 19. Ikachan -> Ikasan 4 これで各 script をいじることなく通知を IRC から HipChat に移行できた! 4 通知先のHipChat のルーム名が IRC のチャンネル名とまっ たく一緒ならこれで完了 4 違う場合は前述のエイリアスを定義してあげればいい © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 19
  • 20. Afterword © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 20
  • 21. afterword 4 ikachan みたいな感じに役割をしっかり分けてる感じの結 合強度サイコーです 4 daioikachan って名前で Slack とかにも通知出来るように してと言われた 4 だるいからやってない 4 自分で使わないし © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 21
  • 22. By the way... © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 22
  • 23. We lost them... © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 23
  • 24. We are hiring!!  http://linecorp.com/ja/career/position/317 © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 24
  • 25. fin. © Satoshi SUZUKI, @studio3104. monitoring casual talks #7 at SmartNews, Inc. Jan 30, 2015. 25