GitHub Enterprise can gather data with
collectd and send it to an external
collectd server. Among other metrics, we gather a standard set of data such as CPU utilization, memory and disk consumption, network interface traffic and errors, and the VM's overall load.
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 your GitHub Enterprise instance. Your
collectd server must by running
collectd version 5.x or higher.
- Log into your
- 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
An example collectd.conf to run a
LoadPlugin network ... ... <Plugin network> Listen "0.0.0.0" "25826" </Plugin>
Enable collectd forwarding on GitHub Enterprise
collectd forwarding is disabled on GitHub Enterprise. Follow the steps below to enable and configure
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 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.)
- At the bottom of the Management Console configuration page, click Save settings.
Exporting collectd data with
The command-line tool
ghe-export-graphs will export the data that
collectd stores in RRD databases. This command turns the data into XML and exports it into a single tarball (.tgz).
Its primary use is to provide the Enterprise Support team with data about a VM's performance, without the need for downloading a full Support Bundle. It shouldn't be included in your regular backup exports and there is no import counterpart. If you contact Enterprise Support, we may ask for this data to assist with troubleshooting.
ssh -p 122 admin@enterprise-server -- 'ghe-export-graphs' && scp admin@enterprise-server:~/graphs.tgz .
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 the GitHub Enterprise appliance.
For help with further questions or issues, contact GitHub Enterprise support.