Exim Queue Size Plugin

Last modified: October 12, 2021


Overview

This module monitors the total queue size when using exim. The module runs the exim -bpc command to retrieve the total mail queue size.

Metrics

  • Total Queue Size

Dependencies

The agent360 user needs sudo access to run exim -bpc. Open the /etc/sudoers file and append the following at the end of the file:

agent360 ALL=(ALL) NOPASSWD: /usr/sbin/exim

This command assumes that exim is installed in /usr/sbin/exim.

Configure the plugin

Now open the /etc/agent360.ini file and append the following lines at the end of the file:

1
2
[exim]
enabled = yes

Test the plugin

Run the sudo -u agent360 agent360 test exim command to see if everything is installed correctly:

1
exim:{"queue_size": 0}

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

Create charts

Click on the Metrics link on the top menu, and then select exim as metric type and queue_size as metric. Choose the servers you would like to graph and save it to your dashboard.


Get Started With 360

360 Dashboard

360 Monitoring Dashboard