Monitoring SMTP and DNS services for connection issues

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gossamer
Posts: 20
Joined: Wed Jul 13, 2011 9:56 pm

Monitoring SMTP and DNS services for connection issues

Post by gossamer »

Hi,

It was brought to my attention that Connection Time and Transaction Time of our SMTP and DNS servers may be slow, according to mxtoolbox.
I'd like to actually determine the amount of time after the connection occurred before the 220 greeting was received, and the time to actually send a test message (even if it is a "relay denied" message), without having to pay mxtoolbox to do it.

Does nagios have a plugin that can be used to perform the full SMTP handshake and time that process?

I already have nagios installed and configured, but I don't think check_smtp checks to the extent that I need. Is there something else more sophisticated?

I also already have smokeping and munin installed. I'm using EchoPingSMTP and EchoPingDNS with smokeping, but I don't think they actually test the connection, correct? I think it basically just pings the respective services and reports back the round-trip times. I'm interested in graphing these results too.

Thanks,
Alex
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Monitoring SMTP and DNS services for connection issues

Post by rkennedy »

Have you taken a look at our exchange?

For checking the SMTP process, I was able to find a couple plugins that may work for you -
https://exchange.nagios.org/directory/P ... op/details
https://exchange.nagios.org/directory/P ... ry/details

As for DNS, we have quite a bit of plugins available -
https://exchange.nagios.org/directory/P ... tocols/DNS
Former Nagios Employee
Locked