Exim Queue Size Plugin

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

Reported 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-custom.ini file and append the following lines at the end of the file:

[exim]
enabled = yes

Test the plugin

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

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.