Apt Updates Plugin

This plugin monitors the number of available apt updates in the Ubuntu or Debian operating systems.

Reported Metrics

This plugin monitors the following metrics:

  • Number of security updates available.
  • Number of other updates available.

Dependencies

To configure the plugin, add the following line to the /etc/sudoersfile:

agent360 ALL=(ALL) NOPASSWD: /usr/bin/apt-get

Configure the plugin

Then add the following lines to the /etc/agent360-custom.ini file:

[apt-updates] 
    enabled = yes 
    interval = 3600

Test the plugin

To test the plugin, run the sudo -u agent360 agent360 test apt-updates command.

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