MetricsView Linux Agent (collectd)

The MetricsView Collectd Linux agent is a plug-in that aggregates various system metrics and sends them to Dotcom-Monitor. While this agent supports over 90 metric by default, the current release is limited to five metrics: cpu, memory, interface (network), disk and df (space usage).

The agent is written on python 2 and utilizes open source “requests“.

The MetricsView Linux agent is based on the system statistics collection daemon, Collectd and is designed so there is no need to make any additional configuration changes except those appropriate for different Linux distributions, as described below.

The following files are placed in /opt/com/dotcom during installation:

  • dotcom.py – plugin itself, written in Python2 and located at /opt/com/dotcom , but can be placed anywhere. If you move this file somewhere else you need to be sure correct path is specified in the dotcom.conf file.
  • dotcom.conf – configuration file for the above plugin (dotcom.py). Usually placed in the same folder with plugin, but also can be placed anywhere. If you move this file somewhere else you need to be sure currect path is specified in the collectd.conf file:
    Include ”/opt/com/dotcom/dotcom.conf”
    Under deb-based systems, the dotcom.conf.ditrib file is included in package, which is used as a template for dotcom.conf during first installation.
  • dotcom-configure.py – script for plugin configuration.

Using the MetricsView Linux Agent