Set up an external collectd
server
If you haven't already set up an external collectd
server, you will need to do so before enabling collectd
forwarding on GitHub Enterprise Server 인스턴스. Your collectd
server must be running collectd
version 5.x or higher.
- Log into your
collectd
server. - Create or edit the
collectd
configuration file to load the network plugin and populate the server and port directives with the proper values. On most distributions, this is located at/etc/collectd/collectd.conf
An example collectd.conf to run a collectd
server:
LoadPlugin network
...
...
<Plugin network>
Listen "0.0.0.0" "25826"
</Plugin>
Enabling collectd forwarding on GitHub Enterprise
By default, collectd
forwarding is disabled on GitHub Enterprise. Follow the steps below to enable and configure collectd
forwarding:
-
페이지의 오른쪽 상단에 있는 GitHub Enterprise Server의 관리 계정에서 을 클릭합니다.
-
“Site admin”(사이트 관리자) 페이지에 아직 없는 경우 왼쪽 상단에서 Site admin(사이트 관리자)을 클릭합니다.
-
" 사이트 관리자" 사이드바에서 관리 콘솔 을 클릭합니다.
-
Below the log forwarding settings, select Enable collectd forwarding.
-
In the Server address field, type the address of the
collectd
server to which you'd like to forward GitHub Enterprise appliance statistics. -
In the Port field, type the port used to connect to the
collectd
server. (Defaults to 25826) -
In the Cryptographic setup dropdown menu, select the security level of communications with the
collectd
server. (None, signed packets, or encrypted packets.) -
"설정" 사이드바에서 설정 저장을 클릭합니다.
참고 항목
관리 콘솔에 설정을 저장하면 시스템 서비스가 다시 시작되어 사용자에게 표시되는 가동 중지 시간이 발생할 수 있습니다.
-
구성 실행이 완료될 때까지 기다립니다.
Troubleshooting
Central collectd server receives no data
GitHub Enterprise ships with collectd
version 5.x. collectd
5.x is not backwards compatible with the 4.x release series. Your central collectd
server needs to be at least version 5.x to accept data sent from GitHub Enterprise Server 인스턴스.
For help with further questions or issues, visit GitHub Enterprise 지원.