@acidlemonã«ã¤ãã¦
|'-')/ acidlemonã§ããéåå¸å¨ä½ã§ãéåã§åãæ®éã®ITã¨ã³ã¸ãã¢ã§ãã
30å¹´å¼±ä½ãã åæµ·éãé¢ããéåã§ã¾ã£ããã½ãã½ããã¦ãã¾ãã
å®å ¨ã«å人ã®æ¥è¨ã¬ãã«ã®è©±ã§ãããã³ã³ãã¥ã¼ã¿ã®ãã°ã¨éç¥ã®è©±ãæ¸ãã¾ãã
ãã°ã¨ãã£ã¦ãã¾ãããããããããã§ãããä½ã®ããã«ãã°åã£ã¦ããã¨ããã¨ãç°å¸¸ãªãã¨ãèµ·ãã£ããã¨ãåããããã«ãã¨ãç°å¸¸ãçºçããã¨ãã«åå ãåããããã«ãã¨ããã£ã¨é²ãã èãæ¹ã§ããã°ç°å¸¸ã®äºå ãã¨ãããã¨ãããããªæããã¨æãã¾ãã
ãªã®ã§æåã¯ã¨ããããç°å¸¸ãªãã¨ãèµ·ãã£ããåããããã«ãã°ã«è¨é²ããã¨ããã®ãæåã«ä¸æ©ã«ãªãã¾ãããããåºæ¥ããç°å¸¸ãçºçããã¨ãã®åå 究æãããã§ããããã«è©³ç´°ãªæ å ±ããã°ã«æ®ãããã«ãã¦ãæå¾ã«æ£å¸¸ãªå¦çããã°ã«æ®ãã¦ããã°å±éºãªäºå ãã¨ããããã¨ãã§ããããã«ãªãããªã¨ããªããæ¸ãã¦ã¿ããè³æ¥µå½ããåã£ã½ãæãã«ãªãã¾ãããããããéç¨ããã£ã¦ããã¨ã³ã¸ãã¢ã¯ã¿ããªæ°ãã¤ãã¦ãããã¨ã ã¨æãã¾ãã
ãã°ã¨ããã®ã¯å¤§éã«åå¨ãã¦ä¾¡å¤ããããã®ãªã®ã§ãè¨é²ãããã¨ã«ä¾¡å¤ãããã¨ãã£ã¦ãéè¨ã§ã¯ããã¾ãããã¨ããã®ããå¾ãããã°ãåããã¨ã¯ã§ããªãããã§ããéå»ã«ãã¼ã¿ã欲ããã¨è¨ãããã¨ãã«ãããã¼ãã®ãã¼ã¿ã¯ãã°ã«æ®ã£ã¦ãªãããããã¼ãã£ã¦ç³ã訳ãªãæãã§çãããã¨ããã人ãå¤ãã®ã§ã¯ãªãã§ããããã
ä»ã ã¨ããã°ãã¼ã¿åæã¿ãããªã¨ããã§ä¾¡å¤ãåã¾ã£ã¦ãã大éã®ãã°ãåæãããã¨ã§ãããªã価å¤ãçã¿åºããããªãã¨ããã¸ãã¹ä¸éè¦ã«ãªã£ã¦ãã¦ããã®ã§ããã¸ãã¹çã«ãã¤ã³ãã©çã«ããã°ããã£ã¡ãåããã¨ã¯éè¦ã«ãªã£ã¦ãã¦ãã¾ãã
ãã¦ã次ã«èãããã¨ã¯éç¥ã§ãã
ãªãããã£ã¦ãã°ã«è¨é²ãã¦ãã¦ãæ°ä»ããªããããããããªããéå»ã®çµé¨ã«ããã¦ããã·ã¹ãã ã¯ç°å¸¸ãæ¤ç¥ã§ãã¦ãããã©äººéãããã«æ°ä»ããªãã£ããã¨ããã¨ããããæ¥ãæ²åãè¦ããèããããã¦ãã¾ããã
ä¾ãã°ã¤ã³ãã©ã§ããã°åé·ã·ã¹ãã ã§çæ¹æ¢ã¾ã£ã¦ã/æ éãã¦ããã¨ã«æ°ä»ããªãã¾ã¾ä½¿ãç¶ãã¦ä¸¡ç³»ãã¦ã³ããã¨ããããããã§ããããããã¦ãããããã·ã¹ãã ã£ã¦ä¸¡ç³»ãã¦ã³ãããã¨ãåæã«ãã¦ããªãã®ã§ãéåé·ã·ã¹ãã ããã復æ§ãããã大å¤ã ã£ãããã¾ãããã¸ãã¹çã«ãããªããä¸æ¨æ¥ãã¡ã®ãµã¼ãã¹ããºã£ã¦ãã®? ãããæ°è¦ç»é²æ¥ã¦ãã¿ããã ãããã¸ãã§ãããã¾ãé常ãªæãã«ãªã£ã¡ãã£ã¦ã¾ããã¼ã人ãæ¥ãã¨ãã«æ½çãæã¦ã°ããã£ããªããã¨ããã話ãããã®ã§ã¯ãªãã§ããããã
ãããªããã§ãããã£ããã¨ãã¡ããã¨æ°ã¥ããããã«ãéç¥æ段ãããããèããããã§ããã¡ã¼ã«ã¨ããSMSã¨ããããã©ã³ãã¨ããIRCã¨ãHipchatã¨ãslackã¨ãã¾ãããããããã¾ããã
ã¼ãã¯ããããéç¥ãåããã¨ããã®ã¯éç¥ãåããã人ããã®æ å ±æºãè³¼èª(subscribe)ããè¡çºã ã¨æã£ã¦ãã¾ããpushåpullåãæ å ±ã®åå¾æ¹æ³ã¯ããããã§ãããè¡çºã¨ãã¦ã¯è³¼èªã§ããã¨ããã°ãæ¸ãè¾¼ãè¡çºã¨ã¯ã¡ãã£ã¨éãããã§ããæ¬å½ã«æ¬²ããæ å ±(ç°å¸¸ããã³ãã®äºå )ã ãã»ããããã§ããã
ãªãã§ãããªãã¨ãæ¸ãããã£ã¦ããã¨ã社å ã®IRCã«batchå¦çã®çµæãªã©ãæå失æãåããæµãã¦ãããã£ã³ãã«ããã£ã¦ãããã«å¯¾ãã¦ãªãããã£ã¨ã¢ã¤ã¢ã¤ããéåæããã£ããããªãã§ããéç¥ãã£ã³ãã«ãªã®ã§ãã¾ããããã«æåãããã¨ãéç¥ãã¦ãããã®ã¯æåã¯å¬ãããã ãã©ãåºæ¬çã«æåããã®ãå½ããåã®ä¸çãªã®ã§ãã®ãã£ã³ãã«ã®ãã°ãè¦ãªããªããã§ãããã
ãªãã§ããããéåæãçã¾ããã®ããªã¼ã¨èãã¦ã¿ãã¨ããããéç¥ãã£ã³ãã«ã§ã¯ãªããã°åãæµããã£ã³ãã«ã®æ§ç¸ã«ãªã£ã¦ãããããªãã ãªã¨ãIRCã§ç¹å®ã®ãã£ã³ãã«ã«å ¥ãè¡çºã¯ã©ã¡ããã¨ããã¨è³¼èªã®æ¦å¿µã«ãªãã®ã§ã99.5%以ä¸æåããå¦çãæåããã¨ããã¡ãã»ã¼ã¸ã¯æ å ±éã¨ãã¦é常ã«èã£ãºãããIRCãã°ãåã¾ã£ã¦ãã¾ãã¨ãã°ãé¡ã£ã¦èªãã®ãåå«ã«ãªãã¾ãã
åæ§ã«ãæ¯æã®ãã°ã¤ã³è æ°ã¿ãããªã¹ãããã·ã§ããçæ å ±ãé »ç¹ã«æµãç¶ãã¦ã大ããªåããç¡ãéãã¯æ å ±éãèã£ãºãããã®ã§ãã°ãåã¾ã£ã¦ãã¾ããã¨ã«ãªãã¾ããã¾ããã®è¾ºã¯ãµã¼ãã¹ã®æ§è³ªçãªãã®ã«ãããã®ã§æ¯ææµãæå³ããªãã¨è¨ãåã£ã¦ãã¾ãã®ã¯å°ã ä¹±æ´ã§ãããè³¼èªã®æ¦å¿µãæã£ã¦ããã¨ããã«èã£ãºããæ å ±ãæµãç¶ããã¡ãªããã¯ãã¾ã大ããããã¾ããã
ããèããã¨æåãã°ã®ãããªæ å ±éã®ã»ã¨ãã©ãªãã¡ãã»ã¼ã¸ã¯æµããªãã®ãããã®ããªã¼ã¨ã便ããç¡ãã®ã¯è¯ã便ãã¨ããã¾ãããã¾ãã«ããã§ã¯ãªãã®ããªã¨ã失æããã¨ãããã¡ããªã¯ã¹ã«å¤§ããªåããåºãã¨ãã ãä½ããæµãã¦ãããç°å¤ã«æ°ã¥ãããããã§ååãªã®ã§ã¯ãªããã¨æãã¾ãã
ãããã話ãããã¨ããããã®æåãæµããªãã¨ããããå¦çãéå§ãããã(èµ°ã£ãã)ãåãããªããããªãã!ãã¿ãããªè©±ãåºã¦ããã®ã§ããããããéã«èããã©1æéãã¨ã«æ°åãæ°ååã®ãããå¦çãèµ°ã£ããã©ãããã¡ããã¨æ¯æ¥æ¯æéæ¼ããªã確èªãã¦ãã®ããªã¼ã¨ã
ããããè¨å®ãããç´å¾ã®æåã®é ã¯å½ç¶ãã¹ãã ã¨æãã¾ããããã®æã¯ã¡ããã¨å®æå®è¡åºæ¥ã¦ããã¨ãããã¨ãæ å ±ã¨ãã¦ä¾¡å¤ã®ãããã®ãªã®ã§ãIRCçã®è³¼èªæ©æ§ã«æµãã¦ããã¨å®å¿ã§ãã¾ããããããcronã¨ãã§å®æå®è¡ããã®ãå®å®ããããã¶ã確èªããªããªãã®ã§ã¯ãªããã¨æãã¾ãããã®æç¹ã§å®æå®è¡åºæ¥ã¦ãããã¨ããæ å ±ã®ä¾¡å¤ã¯ä¸æ°ã«è½ã¡ã¦ããããã§ãã
ã¨ã¯ããæ¬æ¥èµ°ã£ã¦ããã¹ããã®ãèµ°ã£ã¦ããªãã¨ããã®ã¯é常ã«å°ãã¾ããã§ãããã£ã¦cronã®ãã°ãç£è¦ãã¦èµ°ã£ã¦ãªãã£ããã¢ã©ã¼ãã«ããã¨ãããªã©ã®æ¹æ³ã§ããç¨åº¦ã«ãã¼ã§ããã¯ãã§ãããã¾ã§å¯¾çãé£ããããã§ã¯ãªãããªã¨æãã¾ãã/var/log/cronã¯æ®érootããèªããªãã®ã§ãããé¢åãªæãã¯ããã®ã§ãå¦çãè¡ã£ããç¹å®ã®ãã¡ã¤ã«ãæ´æ°ããããã«ãã¦ãã®ãã¡ã¤ã«ãç¹å®ã®æé以ä¸æ´æ°ããªãã£ããã¢ã©ã¼ãã¨ãããããæãã§ãããã§ãããã
ã¾ããããªæãã§ããã°ãåãã£ã¦ãã¨ã¨éç¥ãåãã/è³¼èªããã£ã¦ãã¨ã¯å¥è ã§ãããããééããã¨éç¥æ段ãä¸ã¤æ½°ãã¦ãã¾ããã¨ã«ãªã£ã¦ãã£ãããªããªã£ã¦ãã¾ãã®ã§æ³¨æãå¿ è¦ã ãªãã¨æã£ãã¨ãã話ã§ããã