Nagios Pi – Integrating With Exim4

Nagios Pi – Integrating With Exim4

This article explains how to install Exim4 on to a Raspberry Pi running Raspian Buster Lite and integrate it with Nagios for email notifications.

Exim4 is a Message Transfer Agent (MTA) developed at the University of Cambridge for use on Unix systems connected to the internet.

Installing Exim4

The first part of integrating Nagios Core with Exim4 is to install and configure Exim4. To do this perform the following steps:

  • Install Exim4 by executing the command below
sudo apt-get install exim4
  • Once installed perform the initial configuration by executing the following command
sudo dpkg-reconfigure exim4-config