2.7 KiB
TopX
Use TopX to rank data sources across devices over the same time interval. For example, a network operator can find the busiest interfaces and open their graphs to see when a peak occurred. The plugin reads the rollups produced by Cacti's Data Source Statistics.
Requirements and installation
The source revision described here declares TopX 1.2 and Cacti 1.2.32 as its minimum. For an older installation, check the requirements and instructions at the plugin tag you intend to install. The plugin README lists the differences between the source branch and older releases.
- Enable Data Source Statistics in Cacti's Settings > Data.
- Install the plugin in
plugins/topxand enable it in Plugin Management. - Grant Plugin TopX - View to users who operate the dashboard. Grant Manage TopX Data Sources to administrators who edit definitions.
- Allow at least one statistics rollup to complete. Confirm that a source you expect to rank has a recent, populated graph in Cacti.
Rank and investigate a source
Open the TopX tab. Overview shows the source catalog, uptime by host, and ranking cards. Open Data Source, choose a source and time window, then compare its ranking, average, peak, and value distribution. When comparing two interfaces, use the same window and units. Follow up on the underlying device graph before changing a capacity limit.
Add a definition
Open Console > Management > TopX Data Sources. Filter by supported status, select a data template, and define the metric from its RRD fields. For traffic, verify whether the input is bytes per second and whether the definition converts to bits per second. Save the definition and check one ranked value against the underlying graph. Admins can also export or import source definitions. See the source definition reference.
Upgrade and troubleshoot
Back up the database and plugin directory, deploy the files for the new version, then open the console so the upgrade hook can refresh the schema and registration. Uninstalling drops the custom definitions and averages.
For an empty ranking, check that statistics collection is enabled, the selected interval has populated rollups, and the definition names the RRD fields for the intended data template. For a missing tab or edit screen, check the user's corresponding plugin realm.
Copyright (c) 2004-2026 The Cacti Group
