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 sua instância do GitHub Enterprise Server. Your collectd server must be running collectd version 5.x or higher.
- Log into your
collectdserver. - Create or edit the
collectdconfiguration 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:
-
Em uma conta administrativa no GitHub Enterprise Server, no canto superior direito de qualquer página, clique em .
-
Se você ainda não estiver na página "Administração do site", no canto superior esquerdo, clique em Administração do site.
-
Na barra lateral " Site admin", clique em Console de Gerenciamento.
-
Below the log forwarding settings, select Enable collectd forwarding.
-
In the Server address field, type the address of the
collectdserver to which you'd like to forward GitHub Enterprise appliance statistics. -
In the Port field, type the port used to connect to the
collectdserver. (Defaults to 25826) -
In the Cryptographic setup dropdown menu, select the security level of communications with the
collectdserver. (None, signed packets, or encrypted packets.) -
Na barra lateral "Configurações", clique em Salvar configurações.
Observação
Se você salvar as configurações no Console de Gerenciamento, isso reiniciará os serviços do sistema, o que poderá resultar em tempo de inatividade visível pelo usuário.
-
Aguarde a conclusão da execução de suas configurações.
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 sua instância do GitHub Enterprise Server.
For help with further questions or issues, visit Suporte do GitHub Enterprise.