2013-12-10 3 views
0

이전에 Ganglia를 사용하여 많은 노드를 모니터링했지만 이제는 Graphite로 이동하여 RRDtool을 스토리지 엔진으로 사용할 것입니다. 내가 소스에서 모든 흑연 관련 파일을 빌드하고 탄소와 흑연 데몬을 시작할 수 있습니다. 그러나 어떻게 이러한 그래프를 볼 수 있습니까?ui에서 그래 픽 그래프를 보는 방법은 무엇입니까?

답변

1

이것은 매우 광범위한 질문입니다. Nevertheless-

흑연 스택은 세 가지 부품 -

  1. 탄소 (집계 도구)
  2. 위스퍼 (sqlite3를 기반 RRD)
  3. 흑연 - 웹 (장고 기반의 웹 애플리케이션)
로 구성되어 있습니다

속삭임의 디렉토리 트리를 읽음으로써 그래프를 표시하는 것은 Graphite 웹입니다. 기본적으로 스택은 /opt/graphite에 원활하게 설치되며 /opt/graphite/storage/whisper은 RRD 디렉토리 트리의 기본 위치입니다.

또 다른해야 할 일은 웹 서버의 가상 호스트 영역에 항목을 만들어야한다는 것입니다. 당신이 아파치를 사용하는 경우, 당신은 대부분의 경우

<IfModule !wsgi_module.c> 
    LoadModule wsgi_module modules/mod_wsgi.so 
</IfModule> 

# XXX You need to set this up! 
# Read http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGISocketPrefix 
WSGISocketPrefix run/wsgi 

<VirtualHost *:80> 
     ServerName 54.28.2.2 
     DocumentRoot "/opt/graphite/webapp" 
     ErrorLog /opt/graphite/storage/log/webapp/error.log 
     CustomLog /opt/graphite/storage/log/webapp/access.log common 

     WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 
     WSGIProcessGroup graphite 
     WSGIApplicationGroup %{GLOBAL} 
     WSGIImportScript /opt/graphite/conf/graphite.wsgi process-group=graphite application-group=%{GLOBAL} 

     WSGIScriptAlias//opt/graphite/conf/graphite.wsgi 

     Alias /content/ /opt/graphite/webapp/content/ 
     <Location "/content/"> 
       SetHandler None 
     </Location> 

     Alias /media/ "@[email protected]/contrib/admin/media/" 
     <Location "/media/"> 
       SetHandler None 
     </Location> 

     <Directory /opt/graphite/conf/> 
       Order deny,allow 
       Allow from all 
     </Directory> 

</VirtualHost> 

는,이 설정에 스택 필요한 모든 사용자 정의입니다 같은 - 뭔가를 할 수 있습니다. 귀하의 아키텍쳐 및 배포본에 대해 git gists을 살펴 보는 것이 좋습니다.

0

ceres TSDB를 사용하여 최근 개발 된 흑연을 시험해 볼 수 있습니다.

ceres; Ceres는 속삭임 DB에 비해 우수한 성능과 낮은 저장 공간을 가진 것으로 알려져 있습니다.

0

설명 된 @erbdex와 같이 내장 된 흑연 웹을 사용하는 것 이외에 오픈 소스 대시 보드 소프트웨어 인 Grafana을 사용해 볼 수도 있습니다. Grafana는 흑연 (및 다른 백엔드)에서 데이터를 가져올 수 있습니다.

또는 AppsDash 또한 경고 할 수는 있지만 오픈 소스는 할 수 없습니다. AppsDash는 흑연 (및 통계) 프로토콜을 사용합니다.

관련 문제