Required Nagios email alert packages

Software

Nagios saves me more sleep than I care to admit, but configuring its email alerts if you build from source requires a little more finesse. Specifically, you need postfix (likely you already have) and heirloom-mailx.

On Debian (and probably Ubuntu, but check first):

apt-get install heirloom-mailx

On FreeBSD:

cd /usr/ports/mail/heirloom-mailx
make install clean

And NetBSD’s pkgsrc:

cd /usr/pkg/mail/heirloom-mailx
make install clean

The BSDs also have binary versions in pkgng/pkgin, ports and pkgsrc. That’s a lot of package managers.

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.