æããã©ã³ãã®ããã·ã¥ããŒã
åé¡ã®å£°æ
äžèŠãããšããããã®ã¿ã¹ã¯ã¯éåžžã«ã·ã³ãã«ã§å¹³å¡ã§ãïŒæå°éã®æéã§å¯èœãªéãå°ãªãåãã§ããã¹ãŠã®ã¹ãã¬ãŒãžã·ã¹ãã ã®ã¹ããŒã¿ã¹ãå®å šã«è©äŸ¡ããåã ã®é¢ä¿è ã«ã€ãã³ããéç¥ã§ããããã«ããæ段ãåããŠããŸãã ãã ããç£èŠãå¿ èŠãªã·ã¹ãã ã®æ©èœã«ã€ããŠç°¡åã«èª¬æãã䟡å€ããããŸãã
- MPP RDBMS Greenplum-ããããã«10ã18ïŒå®å ã«ãã£ãŠç°ãªãïŒãã·ã³ã®4ã€ã®ã¯ã©ã¹ã¿ãŒã ã¯ã©ã¹ã¿å ã®ãã¹ãŠã®ãã·ã³ã®ãã¡ã2ã€ã®ãã·ã³ïŒãã¹ã¿ãŒãšã¹ã¿ã³ãã€ãã¹ã¿ãŒïŒã®ã¿ãå€éšãããã¯ãŒã¯ã«ã¢ã¯ã»ã¹ã§ããæ®ãã¯å éšã®éé¢ãããçžäºæ¥ç¶ãããã¯ãŒã¯ã«ã®ã¿ãããŸãã
- Dual-ETLïŒDuetïŒ-ãã®ãããžã§ã¯ãã®è©³çŽ°ã«ã€ããŠã¯ã 次ã®èšäºãåç §ããŠãã ãã ã ã¢ãã¿ãªã³ã°ã®èŠ³ç¹ããèŠããšããã®ãããžã§ã¯ãã¯ãbashã¹ã¯ãªãããSASã³ãŒããOracleããŒã¿ããŒã¹ãGreenplumãªã©ãããŸããŸãªç°å¢ã§å¿ èŠãªã¡ããªãã¯ãçæããããšããç¹ã§èå³æ·±ããã®ã§ãã
- Attunity CDC-詳现ã¯ã 次ã®èšäºã«ãèšèŒãããŠããŸã ã ãã®ã·ã¹ãã ã®éèŠãªææšã¯åŸ ã¡æéã§ããã€ãŸãããœãŒã¹ããŒã¿ããŒã¹ïŒOracleïŒã®ã¬ã³ãŒãã®åºçŸ/å€æŽãšãã¬ã·ãŒããŒïŒGreenplumïŒã®åæ§ã®ã€ãã³ããšã®éã®çµéæéã§ãã
- ETLããã»ã¹ãšããã«äœ¿çšãããããŒããŠã§ã¢-ããŒã¿ã®ããŒããšå€æã®ããã»ã¹ãå®å šã«ã«ããŒããå¿ èŠããããŸãã
- ããŸããŸãªç®çã®ããã®18ã®WebãµãŒãã¹-æãç°¡åãªã¿ã¹ã¯ã 顧客ã¯ããµãŒãã¹ã®å¿çæéãšãã®å¯çšæ§ã®æéãææ¡ããããšèããŠããŸããã
- ä»ã®ããã€ãã®ç°¡åãªã¡ããªãã¯ã
æ¢åã®éžæ
ãã¡ãããç§ãæåã«èª¿ã¹ãã®ã¯ãæ¢åã®ã·ã¹ãã ã§ããïŒNagiosãZabbixïŒå€§éšåïŒãMuninã ãããããç¬èªã®æ¹æ³ã§åªããŠãããããããã«ç¬èªã®å¿çšåéããããŸãã Habréã«ã¯ããªã¹ããããŠããåã·ã¹ãã ã«é¢ããååãªæ å ±ããããããå®æããã·ã¹ãã ãååãšããŠæåŠããçç±ã®ã¿ããªã¹ãããŸãã
- ç£èŠãããã¡ããªãã¯ã¯ããªããé«åºŠã«å°éåãããããã®ã§ãããå®æããã·ã¹ãã ã®å žåçãªé©çšåéïŒéã®è² è·ããããã¯ãŒã¯åž¯åå¹ ãªã©ïŒã«ã¯ã»ãšãã©å ±éç¹ããããŸããã ããã¯ããããã®å Žåã§ããåã·ã¹ãã ã«ã€ããŠããã¹ã¿ãŒã·ã¹ãã ã«ããŒã¿ãéä¿¡ããç¬èªââã®ããŒã¢ã³ãäœæããå¿ èŠãããããšãæå³ããŸããããã«ãããæ¢è£œã®ç£èŠã·ã¹ãã ã®æŠå¿µå šäœãç Žå£ãããŸãã
- ãã®ãããªã·ã¹ãã ã®äž»ãªç®çã¯ãåé¡ãéç¥ããããšã§ããç§ãã¡ã«ãšã£ãŠãäž»ãªããšã¯ã³ã³ããŒãã³ãã®åäœãèŠèŠåããããšã§ããã2çªç®ã®ã¿ã¹ã¯ã¯éç¥ããããšã§ãã
- äžèšã®ã·ã¹ãã ã®ãã¡ã³ãèš±ããŠãã ããããããã圌ãã¯...ãã§ãã 2ã€ã®ã¢ãã¿ãŒã§ããããéããããç°ãªã衚瀺ã¹ã¿ã€ã«ãéžæããããå¹³åå€ãèšç®ãããã埮åãå°å·ããããè°è«ããããæ¡å€§çž®å°ããã©ãã°ã¢ã³ããããããè¡ã£ãããã°ã©ãã£ãã¯ãéãåãããããé ãããæå³ãæ¢ãããããã®ã¯å«ã§ã
å³ Zabbixã®1ã€ã®ãã£ãŒãã ã¬ãã¥ãŒæžã¿ã®æ¢æã·ã¹ãã ã®ãã¹ãŠã§ããã£ãŒãã䜿çšããæ©äŒã¯ã»ãšãã©ãããŸããã
ãŸããã¡ããªãã¯ã®ç¹å®ã®é¢æ°ïŒããšãã°ãå°é¢æ°ãŸãã¯ææ°ïŒãããããããå Žåãé¢æ°ã®å€ã¯ãããŒã¿ãéä¿¡ããèªå·±èšè¿°ããŒã¢ã³ã®åŽã§èšç®ããå¿ èŠããããŸãã
ããã«ãZabbixãšNagiosã¯äœã¬ãã«ã®ç£èŠïŒéã®ç¶æ ïŒã®ããã«éè¡ã§äœ¿çšãããŠããããããã®äœ¿çšã«ã¯ããçšåºŠã®çµéšããããŸããã èŠããã«ãéã®ãã¹ãŠã®ç¹ç¶ã¯ããããç§ãã¡ãå¿ èŠãšãããã®ã§ã¯ãªããšæããŸããã
é»é
ãã®ããããã®ãããªå€æ§ãªã¡ããªã¯ã¹ã®ã»ãããçŸããããããããèŠèŠåã§ããã·ã¹ãã ãèŠã€ããéçšã§ãã°ã©ãã¡ã€ããçºèŠãããŸããã 説æã®ç¬¬äžå°è±¡ã¯è¯å®çã§ãããããã¹ãã€ã³ã¹ããŒã«ãå±éãã決å®ã«å€§ããè²¢ç®ããã®ã¯ã Yandexã¬ã¯ãã£ãŒã§ãããããã§ã¯ããªã䌌ãåé¡ã解決ããŸããã ã°ã©ãã¡ã€ããã§ããŸããã
å³ 2ã°ã©ãã¡ã€ãã®ã°ã©ã
Graphiteã¯ããªã³ã©ã€ã³ãã£ãŒãäœæã®ããã®ã·ã¹ãã ã«ãããŸããã åçŽå-ãããã¯ãŒã¯äžã§ã¡ããªãã¯ãååŸããã°ã©ãã«çµæ¢ç¬Šãæã¡ãŸããããã¯åŸã§äœããã®æ¹æ³ã§åç §ã§ããŸãã ã¡ããªãã¯ã¯ãFolder1.Folder2.Metric_Name Metric_Value Temporary_Marketãã®åœ¢åŒã§éä¿¡ãããŸãã ããšãã°ããã©ã«ããã£ã¬ã¯ããªã«ãããçŸåšå€ã1ã§ããbashããã®ãã¹ãã¡ããªãã¯ã®æãç°¡åãªéä¿¡ã¯ã次ã®ããã«ãªããŸãã
echo "Folder.Test 1 $(date +%s)" |nc graphite_host 2003
ã·ã³ãã«ã§ããïŒ
ã¢ãŒããã¯ãã£äžãGraphiteã¯3ã€ã®ã³ã³ããŒãã³ãã§æ§æãããŠããŸãã
- Graphite-WebãDjango web-shellã¯ãã°ã©ãã¬ã³ãã©ãŒã§ããããmysqlã䜿çšããŠããŸãã
- CarbonãWhisperã€ã³ããŠã³ãã¡ããªãã¯ãåä¿¡ããã£ãã·ã¥ãããã³æžã蟌ãããã®ããŒã¢ã³ã
- ãŠã£ã¹ããŒãå±¥æŽã¡ããªãã¯ããŒã¿ãä¿åããããã®ãã¡ã€ã«ããŒã¿ããŒã¹ã ãããã£ãŠãã¡ããªãã¯ã¯ã¡ããªãã¯ããšã«ãã¡ã€ã«ããšã«å¥ã ã®ãã¡ã€ã«ã«æ ŒçŽãããŸããããã«ããããããã®ã¡ããªãã¯ãç°¡åã«ç®¡çã§ããŸãïŒã€ã³ã¹ããŒã«éã®è»¢éãåé€ãªã©ïŒã
Graphiteãæ°ã«å ¥ã£ãç¹ïŒ
- ãµãŒããŒãŸãã¯ãµãŒããŒã°ã«ãŒãïŒhello ZabbixïŒã®ååã§ã¯ãªãããŠãŒã¶ãŒã®è£éã§ãã©ã«ããŒããšã«äžŠã¹æ¿ãããããã¹ãŠã®ã°ã©ãã
- åã¡ããªãã¯ã®ã¿ã€ã ã¹ã¿ã³ãã¯ä»»æã«èšå®ãããŸããã€ãŸããã°ã©ãã®ãã€ã³ãã¯éå»æå¶ãšæªæ¥æå¶ã®äž¡æ¹ã§èšå®ã§ããŸããããã¯ãªããžããªã®äžéšã®ã³ã³ããŒãã³ãã§éèŠã§ãã
- é¢æ°ããã£ãŒãããŒã¿ã«éãåãããããšãã§ããŸãã
- ããã€ãã®çŽ æµãªã°ã©ãã£ãã¯ãã³-å å¡«ãåã®è¡šç€ºãªã©;
- å°ã䟿å©ãªã¹ã±ãŒãªã³ã°ã
倱æãããã®ïŒ
- ããã·ã¥ããŒããäœæããæ©äŒããããã«ãããŸãã
- å€ãã®ãã¥ã¢ã³ã¹ã§ã¯ãåæ¹åæ§ã®æ¬ åŠ;
- éç¥æ©èœã¯ååçã«ã¯ãããŸããã
- ææšã®è¡šã衚瀺ããæ¹æ³ã¯ãããŸãã
ã°ã©ãã¡ã€ããã€ã³ã¹ããŒã«ãã
# # , , , # #Graphite mysql â , Graphite yum --nogpgcheck install graphite-web graphite-web-selinux mysql mysql-server MySQL-python python-carbon python-whisper service mysqld start /usr/bin/mysql_secure_installation # , mysql - /etc/graphite-web/local_settings.py: DATABASES = { 'default': { 'NAME': 'graphite', 'ENGINE': 'django.db.backends.mysql', 'USER': 'graphite', 'PASSWORD': 'your_pass', 'HOST': 'localhost', 'PORT': '3306', } } mysql -e "CREATE USER 'graphite'@'localhost' IDENTIFIED BY 'your_pass';" -u root -p # , mysql -e "GRANT ALL PRIVILEGES ON graphite.* TO 'graphite'@'localhost';" -u root -p # mysql -e "CREATE DATABASE graphite;" -u root -p # mysql -e 'FLUSH PRIVILEGES;' -u root -p # /usr/lib/python2.6/site-packages/graphite/manage.py syncdb service carbon-cache start service httpd start # 80- Graphite. /etc/carbon/storage-schemas.conf ( () () )
ã°ã©ãã¡ã
ãã®ããããã°ããã®éãã°ã©ãã¡ã€ãã䜿çšããŠããŸããã ãã¹ããšè£œåã®ã€ã³ã¹ããŒã«ããããã¡ããªãã¯éä¿¡ãDuetã®å¶åŸ¡ã³ãŒãã«è¿œå ãããããŒã¢ã³ãGreenplumã®ã¹ããŒã¿ã¹ãç£èŠããããã«èšè¿°ãããã¢ããªã±ãŒã·ã§ã³ãAttunityã¬ã€ãã³ã·ãã«ãŠã³ãããŠGraphiteã«éä¿¡ããããã«èšè¿°ãããŸããã ããšãã°ãã·ã¹ãã ã®åäœãèŠèŠçã«è¡šçŸãããã®ããããŸãããããšãã°ãDuetã®éå»ã®å€åã¹ã±ãžã¥ãŒã«ã«ãã£ãŠå€§ããªåé¡ãç¹å®ãããŸããã ã¢ã©ãŒãã¯ããµãŒãããŒãã£ã®ã³ãŒãïŒbashãsasïŒã«ãã£ãŠå®è£ ãããŸããã
ããããå®ç§ã«å¶éã¯ãããŸããããã°ããããŠãããã£ãšæ¬²ããã£ãã®ã§ãã°ã©ãã¡ãã«è¡ããŸããã
å³ 3 Grafanaã®ã°ã©ããšå€ã®è¡š
Grafanaã¯ãGraphiteãInfluxDBããŸãã¯OpenTSDBã®ããŒã¿ã«åºã¥ãããã£ãŒãããã³ããã·ã¥ããŒããšãã£ã¿ãŒã§ãç¹ã«æ å ±ã®è¡šç€ºãšåæã«ç¹åããŠããŸãã 軜éã§ãæ¯èŒçç°¡åã«ã€ã³ã¹ããŒã«ã§ããæãéèŠãªããšã¯ãä¿¡ããããªãã»ã©çŸããã§ãã æ©å ã§ïŒ
- ã°ã©ããããªã¬ãŒãhtmlæ¿å ¥ããã®ä»ã®æ©èœãåããå®å šãªããã·ã¥ããŒãã
- ã¹ã¯ããŒã«ããºãŒã ããã®ä»-ing;
- ãœãŒãå¯èœãªå€ããŒãã«ïŒæå°ãæ倧ãå¹³åãçŸåšãåèšïŒ;
- ãã¹ãŠã®ã°ã©ãã¡ã€ãæ©èœã®ãµããŒãã
æ©èœçã«ã¯ãã°ã©ãã¡ã³ã¯ãŠãŒã¶ãŒå®çŸ©ã®é«ãã®ç·ã«åå²ããããŠãŒã¶ãŒããã·ã¥ããŒãã®ã»ããã§ããããŠãŒã¶ãŒã¯æ©èœèŠçŽ ïŒã°ã©ããhtmlæ¿å ¥ãããªã¬ãŒãã¬ãŒãïŒãäœæã§ããŸãã è¡ã¯ãããããæ¹æ³ã§ç§»åãååå€æŽãããã³äžè¬çã«ããããããããããšãã§ããŸãã
åœç¶ãããã·ã¥ããŒãã®äž»ãªæ©èœèŠçŽ ã¯ã°ã©ãã£ãã¯ã§ãã Grafanã§æ°ããã¡ããªãã¯ã°ã©ããäœæããã«ã¯ãç¹å¥ãªç¥èã¯ãŸã£ããå¿ èŠãããŸããããã¹ãŠãç°¡åãã€æ確ã«è¡ãããŸãã
1. Graphiteã®ã¡ããªãã¯ããã£ãŒãã«è¿œå ãããŸã-ãã¹ãŠã¯GUIã§è¡ãããç¹å®ã®ãã©ã«ããŒãªã©ã§ãã¹ãŠã®ã¡ããªãã¯ãæå®ã§ããŸãã
2.å¿ èŠã«å¿ããŠã衚瀺ãããåã«ã¡ããªãã¯ã«é©çšãããã¡ããªãã¯ã«é¢æ°ãé©çšãããŸãã ã·ã³ãã«ã§é »ç¹ã«äœ¿çšããããã®ïŒã¹ã±ãŒã«ãå¹³åãããŒã»ã³ã¿ã€ã«ãªã©ïŒã«å ããŠããã£ãšèå³æ·±ããã®ããããŸã-ããšãã°ãaliasByNodeïŒïŒé¢æ°ã䜿çšãããšãã°ã©ãã¡ã³èªèº«ãã°ã©ãã§åŒã³åºãã¡ããªãã¯ãæ£ç¢ºã«æ±ºå®ã§ããŸãã ç°¡åãªäŸãšããŠã2ã€ã®ã¡ããªãã¯ããããŸãã
Servers.ServerA.cpu
Servers.ServerB.cpu
ããã©ã«ãã§ã¯ãã¡ããªãã¯ã¯åãååïŒCPUïŒã§åŒã³åºãããŸãã äžèšã®æ©èœã䜿çšãããšãServerAãšServerBããã£ãŒãã«è¡šç€ºãããŸãã
3.軞ïŒæãäžè¬çãªæ°éã®èªåã¹ã±ãŒãªã³ã°-æéããã¡ã€ã«ãµã€ãºãé床ããããŸãïŒãã°ã©ãã®ååãç·šéããŸãã
4.衚瀺ã¹ã¿ã€ã«ã調æŽããŸãïŒå¡ãã€ã¶ããè¡/åãã¡ããªãã¯ã®åèšãå€ãæã€ããŒãã«ãªã©ïŒã
ããã€ãã®äŸ
ã¹ã±ãžã¥ãŒã«ã®æºåãã§ããŸããã å¿ èŠã«å¿ããŠãHTMLã³ã³ãã³ããããã·ã¥ââããŒããšåçŽãªããªã¬ãŒãµã€ã³ãã«è¿œå ããŸãïŒ1ã€ã®ã¡ããªãã¯ã«ã¹ãããããã¡ããªãã¯ãæå®ãããå¢çãè¶ ããŠããå Žåã¯ãµã€ã³ãã®è²ãŸãã¯ããã¹ããå€æŽããŸãïŒã
ãããã£ãŠãã»ãšãã©ãã¹ãŠã®è©³çŽ°ã§ãä»»æã®ããŒã¿ã®è¡šç€ºãã«ã¹ã¿ãã€ãºããããšãã§ããŸãã
ã°ã©ãã¡ã³ã®å©ç¹ïŒ
- æè»æ§-ãã¹ãŠãæ§æãããŠããŸãã
- 䜿ãããã-çŸããã ãã§ãªãå¿«é©ã§ãã
- ã¡ããªãã¯ã衚瀺ããåã«ãæ°åŠ/çµ±èšé¢æ°ãé©çšã§ããŸãã
- ãã£ãŒãã®èšç®ã¯ã¯ã©ã€ã¢ã³ãåŽã§è¡ãããŸãïŒãã ããããã¯ç¶æ³ã«ãã£ãŠã¯ãã¡ãªããã«èµ·å ããå ŽåããããŸãïŒã
çæïŒ
- æ¿èªãªã-誰ã§ãã¹ã±ãžã¥ãŒã«ãšããã·ã¥ããŒããå€æŽã§ããŸãã
- éç¥ãªãã
ãšããã§ãgrafana 2.0ã®ããŒãžã§ã³ã§ã¯ãæ¿èªãšéç¥ã®äž¡æ¹ãè¿œå ããäºå®ã§ãã
grafanaãã€ã³ã¹ããŒã«ãã
#: elasticsearch-1.1.1 #http://www.elasticsearch.org/downloads/1-1-1/ grafana-1.9.1.tar #http://grafana.org/download/, nohup ./elasticsearch & # elasticsearch , mkdir /opt/grafana cp grafana-1.9.1/* /opt/grafana cp config.sample.js config.js vi config.js # grafana , graphite, : graphite: { type: 'graphite', url: "http://"+window.location.hostname+":80", default: true }, vi /etc/httpd/conf.d/graphite-web.conf: Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Methods "GET, OPTIONS" Header set Access-Control-Allow-Headers "origin, authorization, accept" vi /etc/httpd/conf.d/grafana.conf: Listen 8080 <VirtualHost *:8080> DocumentRoot /opt/grafana/ </VirtualHost> service httpd restart
ãã€ã€ã¢ã³ã
å¿ èŠãªã·ã¹ãã ããã¡ããªãã¯ãéä¿¡ããå¿ èŠã«å¿ããŠã°ã©ãã«è¡šç€ºããæ¹æ³ãåŠã³ãŸããããè¶ äžæã®ã¡ããªãã¯ã«å ããŠãCPU䜿çšéãªã©ã®å€ããZabbix / Nagiosã®ç®¡çè ãšãŠãŒã¶ãŒã®è¿ãã§ç¢ºèªãããå Žåã¯ã iopsããããã¯ãŒã¯ã®äœ¿çš-ãã®ãããªåã¡ããªãã¯ã«ã€ããŠã¯ãbashã§ç¬èªã®ããŒã¢ã³ãäœæããcronã«è©°ã蟌ãå¿ èŠããããŸãã ãã¡ããããã§ã¯ãããŸããããªããªãã ãã€ã€ã¢ã³ããããããã§ãã
Diamondã¯ãã·ã¹ãã æ å ±ãåéããŠã°ã©ãã¡ã€ããä»ã®ããã€ãã®ã·ã¹ãã ã«éä¿¡ããpythonããŒã¢ã³ã§ãã æ©èœçã«ã¯ãã³ã¬ã¯ã¿ãŒ-ã·ã¹ãã ããæ å ±ãæœåºããåã ã®ããŒãµãŒããŒã¢ã³ã§æ§æãããŸãã å®éãã³ã¬ã¯ã¿ãŒã¯ãcpuããmongoDBãŸã§ãç£èŠå¯Ÿè±¡ã®ãªããžã§ã¯ãå šäœãã«ããŒããŠããŸãã
å°è±¡çãªã³ã¬ã¯ã¿ãŒã®å®å
šãªãªã¹ã
次ã«ãåã³ã¬ã¯ã¿ãŒã¯ãããã€ãã®ã¡ããªãã¯ãåŠçããŠåä¿¡åŽã·ã¹ãã ïŒãã®å Žåã¯ã°ã©ãã¡ã€ãïŒã«éä¿¡ããŸãã ããšãã°ããããã¯ãŒã¯ã³ã¬ã¯ã¿ã®å Žåããããã¯ãŒã¯ã€ã³ã¿ãŒãã§ãŒã¹ããšã«æ倧18åã®ã¡ããªãã¯ãéä¿¡ãããŸãã ãããã£ãŠãç§ã®ç£èŠã·ã¹ãã ã§ã¯ãZabbixãšNagiosã®äž»ãªæ©èœãã«ããŒãããŠããããã«èŠããŸã-1ã2åã¯ãªãã¯ããã ãã§æ°ããã·ã¹ãã ã¡ããªã¯ã¹ãè¿œå ããŸãã ç¹ã«ãGreenplumã®å°ãããªãããé®®æãªç®¡ççµéšãããããŒã¿ããŒã¹æäœã®éåžžã«éèŠãªãã©ã¡ãŒã¿ãŒã¯ãã»ã°ã¡ã³ããµãŒããŒã®ãã£ã¹ã¯ãµãã·ã¹ãã ã®è² è·ã§ããããšã瀺åãããŸããã ã»ã°ã¡ã³ããµãŒããŒã®RAIDã³ã³ãããŒã©ãŒã®iopsãïŒ
è² è·ãåŸ
æ©ãããã³ãµãŒãã¹æéã®ã°ã©ãïŒuses / proc / diskstatsïŒã䜿çšããŠãåå¥ã®ããã·ã¥ããŒããäœæãããŸããã çã芳å¯ããèå³æ·±ãèŠåæ§ãæããã«ãªããŸãããã³ã³ãããŒã©ãŒã®ãã£ã¹ã¯ã解æŸããRAIDã³ã³ãããŒã©ãŒã®ã¹ããŒã¿ã¹ã³ã³ãããŒã©ãŒããã£ã¹ã¯ã®å¿
èŠãªäº€æãå ±åããåã«ãã¢ã¬ã€å
šäœã®ããã©ãŒãã³ã¹ã倧å¹
ã«äœäžããŸããã
Amavisã³ã¬ã¯ã¿ãŒ
ApcupsdCollector
Beanstalkdcollector
Bindcollector
CPUã³ã¬ã¯ã¿ãŒ
ã«ãµã³ãã©ã»ãšããã¢ã³ã¬ã¯ã¿ãŒ
ã»ãªãŒã¢ã³ã³ã¬ã¯ã¿ãŒ
ã»ãã³ã¬ã¯ã¿ãŒ
CephStatsCollector
ã¯ãããã³ã¬ã¯ã¿ãŒ
ConnTrackCollector
CpuAcctCgroupCollector
DRBDã³ã¬ã¯ã¿ãŒ
DarnerCollector
DiskSpaceCollector
DiskUsageCollector
Dropwizardcollector
DseOpsCenterCollector
ElasticSearchCollector
ãšã«ãã³ã¬ã¯ã¿ãŒ
EndecaDgraphCollector
EntropyStatCollector
ExampleCollector
EximCollector
FilesCollector
Filestatcollector
Flumecollector
GridEngineCollector
HAProxyCollector
HBaseCollector
HTTPJSONCollector
Hadoopcollector
HttpCollector
HttpdCollector
IODriveSNMPCollector
IPCollector
IPMISensorCollector
IPVSCollector
IcingaStatsCollector
å²ã蟌ã¿ã³ã¬ã¯ã¿ãŒ
JCollectdCollector
JbossApiCollector
ãžã§ããã¢ã³ã¬ã¯ã¿ãŒ
KSMCollector
KVMCollector
ã«ãã«ã³ã¬ã¯ã¿ãŒ
LMSensorsCollector
LibvirtKVMCollector
LoadAverageCollector
Memcachedcollector
MemoryCgroupCollector
ã¡ã¢ãªã³ã¬ã¯ã¿ãŒ
ã¡ã¢ãªãŒããã«ãŒã³ã¬ã¯ã¿ãŒ
Memorylxccollector
MongoDBCollector
Monitcollector
Mountstatscollector
MySQLCollector
MySQLPerfCollector
NagiosPerfdataCollector
NagiosStatsCollector
NetAppCollector
NetscalerSNMPCollector
NetworkCollector
NfsCollector
NfsdCollector
Nginxcollector
Ntpdcollector
ããã³ã¬ã¯ã¿ãŒ
OneWireCollector
OpenLDAPCollector
OpenVPNCollector
OpenstackSwiftCollector
OpenstackSwiftReconCollector
OssecCollector
PassengerCollector
PgbouncerCollector
PhpFpmCollector
Pingcollector
åŸçœ®ã³ã¬ã¯ã¿
PostgresqlCollector
ãã¹ããã¥ãŒã³ã¬ã¯ã¿ãŒ
PowerDNSCollector
ProcessResourcesCollector
ProcessStatCollector
PuppetAgentCollector
PuppetDBCollector
PuppetDashboardCollector
RabbitMQCollector
ãªãã£ã¹ã³ã¬ã¯ã¿ãŒ
ResqueWebCollector
S3BucketCollector
SNMPCollector
SNMPInterfaceCollector
SNMPRawCollector
ServerTechPDUCollector
SidekiqWebCollector
SlabInfoCollector
ã¹ããŒãã³ã¬ã¯ã¿ãŒ
ãœãã¯ã¹ã¿ããã³ã¬ã¯ã¿ãŒ
SoftInterruptCollector
Solrcollector
SqsCollector
ã€ã«ã³ã¬ã¯ã¿ãŒ
ã¹ãŒããŒãã€ã¶ãŒ
TCPCollector
TokuMXCollector
UDPCollector
UPSCollector
ã¢ã³ããŠã³ãã³ã¬ã¯ã¿ãŒ
Upptimecollector
UserScriptsCollector
ãŠãŒã¶ãŒã³ã¬ã¯ã¿ãŒ
VMSDomsCollector
VMSFSCollector
VMStatCollector
ã¯ãã¹ã³ã¬ã¯ã¿ãŒ
WebsiteMonitorCollector
XENCollector
Zookeepercollector
ApcupsdCollector
Beanstalkdcollector
Bindcollector
CPUã³ã¬ã¯ã¿ãŒ
ã«ãµã³ãã©ã»ãšããã¢ã³ã¬ã¯ã¿ãŒ
ã»ãªãŒã¢ã³ã³ã¬ã¯ã¿ãŒ
ã»ãã³ã¬ã¯ã¿ãŒ
CephStatsCollector
ã¯ãããã³ã¬ã¯ã¿ãŒ
ConnTrackCollector
CpuAcctCgroupCollector
DRBDã³ã¬ã¯ã¿ãŒ
DarnerCollector
DiskSpaceCollector
DiskUsageCollector
Dropwizardcollector
DseOpsCenterCollector
ElasticSearchCollector
ãšã«ãã³ã¬ã¯ã¿ãŒ
EndecaDgraphCollector
EntropyStatCollector
ExampleCollector
EximCollector
FilesCollector
Filestatcollector
Flumecollector
GridEngineCollector
HAProxyCollector
HBaseCollector
HTTPJSONCollector
Hadoopcollector
HttpCollector
HttpdCollector
IODriveSNMPCollector
IPCollector
IPMISensorCollector
IPVSCollector
IcingaStatsCollector
å²ã蟌ã¿ã³ã¬ã¯ã¿ãŒ
JCollectdCollector
JbossApiCollector
ãžã§ããã¢ã³ã¬ã¯ã¿ãŒ
KSMCollector
KVMCollector
ã«ãã«ã³ã¬ã¯ã¿ãŒ
LMSensorsCollector
LibvirtKVMCollector
LoadAverageCollector
Memcachedcollector
MemoryCgroupCollector
ã¡ã¢ãªã³ã¬ã¯ã¿ãŒ
ã¡ã¢ãªãŒããã«ãŒã³ã¬ã¯ã¿ãŒ
Memorylxccollector
MongoDBCollector
Monitcollector
Mountstatscollector
MySQLCollector
MySQLPerfCollector
NagiosPerfdataCollector
NagiosStatsCollector
NetAppCollector
NetscalerSNMPCollector
NetworkCollector
NfsCollector
NfsdCollector
Nginxcollector
Ntpdcollector
ããã³ã¬ã¯ã¿ãŒ
OneWireCollector
OpenLDAPCollector
OpenVPNCollector
OpenstackSwiftCollector
OpenstackSwiftReconCollector
OssecCollector
PassengerCollector
PgbouncerCollector
PhpFpmCollector
Pingcollector
åŸçœ®ã³ã¬ã¯ã¿
PostgresqlCollector
ãã¹ããã¥ãŒã³ã¬ã¯ã¿ãŒ
PowerDNSCollector
ProcessResourcesCollector
ProcessStatCollector
PuppetAgentCollector
PuppetDBCollector
PuppetDashboardCollector
RabbitMQCollector
ãªãã£ã¹ã³ã¬ã¯ã¿ãŒ
ResqueWebCollector
S3BucketCollector
SNMPCollector
SNMPInterfaceCollector
SNMPRawCollector
ServerTechPDUCollector
SidekiqWebCollector
SlabInfoCollector
ã¹ããŒãã³ã¬ã¯ã¿ãŒ
ãœãã¯ã¹ã¿ããã³ã¬ã¯ã¿ãŒ
SoftInterruptCollector
Solrcollector
SqsCollector
ã€ã«ã³ã¬ã¯ã¿ãŒ
ã¹ãŒããŒãã€ã¶ãŒ
TCPCollector
TokuMXCollector
UDPCollector
UPSCollector
ã¢ã³ããŠã³ãã³ã¬ã¯ã¿ãŒ
Upptimecollector
UserScriptsCollector
ãŠãŒã¶ãŒã³ã¬ã¯ã¿ãŒ
VMSDomsCollector
VMSFSCollector
VMStatCollector
ã¯ãã¹ã³ã¬ã¯ã¿ãŒ
WebsiteMonitorCollector
XENCollector
Zookeepercollector
å³ 4ã»ã°ã¡ã³ããµãŒããŒã®1ã€ã®ããã©ãŒãã³ã¹ãå ±éã®ããŒãããããã¯ã¢ãŠãããã
ããã§ãåè¡ã¯ãããŒã¿ããŒã¹ãµãŒããŒã»ã°ã¡ã³ãã®1ã€ã«å¯Ÿããã³ã³ãããŒã©ãŒã®è² è·ã®å²åã§ãã IOPSãçããïŒé£æ¥ãããã£ãŒãã«è¡šç€ºãããïŒsdw10ãšããååã®ã»ã°ã¡ã³ããã¯ããã«å€ãããŒããããŠããããšãããããŸãã ãã®æ©èœãç¥ãããšã«ããããŸãã亀æã®åæºåããã次ã«ãããã©ãŒãã³ã¹ã®äœäžã«å¿ããŠããã£ã¹ã¯ã®æ©æ亀æã®å¯èœæ§ã«ã€ããŠãã³ããŒãšäº€æžããããšãã§ããŸããã
ãã€ã€ã¢ã³ãã»ããã£ã³ã°
yum install build-essentials python-dev python python-devel psutil python-configobj # https://github.com/python-diamond/Diamond, , , make install #, cp /etc/diamond/diamond.conf.example /etc/diamond/diamond.conf # vi /etc/diamond/diamond.conf # grahit', / , graphite , , # /usr/share/diamond/collectors/ , , diamond-setup # , /etc/init.d/diamond start #
ã»ã€ã¬ã³
ãããã£ãŠãäž»ãªåé¡-èŠèŠåãšããŒã¿ååŸ-ã¯è§£æ±ºãããŸãã çŸåšããã³éå»ã®æ å ±ãå«ãçŸããæè»ãªããã·ã¥ããŒãããããããŸããŸãªã·ã¹ãã ããã¡ããªãã¯ãéä¿¡ããæ°ããã·ã¹ãã ã€ã³ãžã±ãŒã¿ãŒãç°¡åã«è¿œå ã§ããŸãã æ®ã£ãŠããããšã1ã€ã ããããŸããã€ãã³ãã«ã€ããŠé¢ä¿è ã«éç¥ããæ¹æ³ãåŠç¿ããããšã§ãã ããã§ã»ã€ã¬ã³ãå©ãã«ãªããŸããã¡ããªãã¯ã®1ã€ãæ°ããç¶æ ã«ãªã£ããšãã«ã äœããã®æ¹æ³ã§ãŠãŒã¶ãŒã«éç¥ã§ãããå°ãããŠéåžžã«ã·ã³ãã«ãªããã·ã¥ããŒãã§ãã å®éã«ã¯ãããã¯æ¬¡ã®ããšãæå³ããŸãããŠãŒã¶ãŒã¯ãã°ã©ãã¡ã€ãããç¹å®ã®ã¡ããªãã¯ã®ãã§ãã¯ãäœæãããã®äžã«2ã€ã®å¶éãèšå®ããŸã-WARNããã³ERRORã¬ãã«ã 次ã«ããµãã¹ã¯ã©ã€ããŒãè¿œå ããéç¥ããå¿ èŠããããã£ãã«ã瀺ããŸãïŒé»åã¡ãŒã«ãFlowdockãHipChatãHTTPãHubotãIRCcatãPagerDutyãPushoverãSLF4JãSlackãSNMPãTwilioïŒããã³éç¥ã¹ã±ãžã¥ãŒã«ïŒããšãã°ãå¹³æ¥ã«ã®ã¿éç¥ããïŒã
å³ 5ã»ã€ã¬ã³ã®ãã§ãã¯ã€ã³
å°æ¥ãã¡ããªãã¯ãå¶éã®1ã€ã«éãããšãé倧床ã瀺ãã¢ã©ãŒããéä¿¡ãããŸãã ã¡ããªãã¯ã以åã®ç¶æ ã«æ»ããšãåãããšãèµ·ãããŸãã
ã¯ã£ããããªãç¹ã«æ³šæããå¿ èŠããããŸããSeyrenãGraphiteããã¡ããªãã¯ãååŸããã«ã¯ããã§ãã¯ãäœæãããšãã«ã倧æåãšå°æåãåºå¥ããŠå®å šã«ååãå ¥åããå¿ èŠããããŸãã
ã»ã€ã¬ã³ã®ã€ã³ã¹ããŒã«
# Seyren MongoDB, sudo yum install mongodb-org sudo service mongod start # https://github.com/scobal/seyren/releases/download/1.1.0/seyren-1.1.0.jar mkdir /var/log/seyren # export SEYREN_LOG_PATH=/var/log/seyren/ # seyren . export GRAPHITE_URL="http://grahite_host:80" # graphite export SMTP_FROM=seyren@domain.com # nohup java -jar seyren-1.1.0.jar & #
ã芧ã®ãšãããã¢ã©ãŒãã¯éåžžã«åçŽã§ãã¡ããªãã¯ã®ç·åœ¢å€åã«ã®ã¿å¿çããŸãããã®å Žåãããã§ååã§ãã Seyrenã䜿çšãããšãããšãã°éå»30åéã®å¹³åå€ã®å€åã«å¯Ÿå¿ããã¢ã©ãŒããäœæããããšã¯ã§ããŸããã ãã®çš®ã®ãã§ãã¯ãå¿ èŠãªäººã«ã¯ã Cabotã«æ³šæãæãããšããå§ãããŸããCabotã¯ãSyrenã®å®å šãªé¡äŒŒç©ã§ãGraphiteã¡ããªãã¯ã«é¢æ°ãé©çšããçµæã®ãã§ãã¯ãäœæã§ããŸãã Cabotã¯AWSãŸãã¯DigitalOceanã®ã€ã³ã¹ã¿ã³ã¹ãšããŠé åžãããCentOSã§ãã¢ã¡ã¿ã«ã€ã³ã¹ããŒã«ãå®è¡ããæ¹æ³ã«ã€ããŠã説æããŠããŸãã
ãããã«
å šäœãšããŠãåºå£ã«ã¯ãå€ãã®ç¹ã§æ¢åã®ãå šäœããœãªã¥ãŒã·ã§ã³ãäžåããã»ãŒå®æããç£èŠã·ã¹ãã ããããŸãã ããã«ããã®ãããªã·ã¹ãã ãžã®æ°ãããµãŒãã¹ã®çµ±åã¯ã¯ããã«æè»ã«ãªãïŒäœããã®æ¹æ³ã§ãããæéããããå ŽåããããŸãïŒãGraphiteã§åäœãããœãããŠã§ã¢ã®æ°ãèæ ®ããæ¡åŒµæ§ã¯ã»ãŒç¡å¶éã§ãã
åç §è³æ
é»é
Graphite-100äžåã®ã°ã©ããäœæããæ¹æ³ -2013幎ã®å¥ã®ã«ã³ãã¡ã¬ã³ã¹ã®æçš¿
ã°ã©ãã¡ã
ãã€ã€ã¢ã³ã
ã»ã€ã¬ã³
ãã£ããã
CentOSã§ã®ãã£ãããã®ã€ã³ã¹ããŒã«æé
Greenplumã®çœå®³åŸ©æ§èšäº
Attunity CDCã«é¢ããèšäº