Disk Status Plugin

The Disk Status plugin allows you to monitor the status of your HDD, SSD, and NVME drives.

📘

This plugin requires that you run the Monitoring Agent as the root User

Dependencies

This plugin requires agent360 version 1.1.50 or higher. To upgrade the agent on a system that runs python2, run the following command:

pip install agent360 --upgrade 

To upgrade the agent on a system that runs python3, run the following command:

pip3 install agent360 --upgrade 

The smartctl command needs to be run as the root user. Therefore, you need to run the agent as the root user..

  • For NVMe drives, you need nvme-cli, instructions are available here.
  • For all other drives, you need smartctl from smartmontools.
    • On Debian and Ubuntu, the apt-get install smartmontools command.
    • On CentOS, run the yum install smartmontools command.

Install the plugin

To enable the plugin, edit the /etc/agent360-custom.ini file and add the following lines:

[diskstatus]
enabled = yes

For NVME, add the following additional lines to the /etc/agent360-custom.ini file:

[diskstatus-nvme]
enabled = yes

Test the plugin (smartmontools)

Run the agent360 test diskstatus command to check if the plugin is working.

Test the plugin (nvme-cli)

Run the agent360 test diskstatus-nvme command to check if the plugin is working.

Now you can restart the agent with the service agent360 restart command.