Re: Email Delivery
Posted: Wed Nov 14, 2018 2:03 pm
Without knowing what OS and release the SMTP server is running an what mailer daemon it is running, I cannot specify the log files to check on it to see why the plugin cannot login to the server to send emails.
If the SMTP server is running Linux as the OS and either Postfix or Sendmail as the mailer daemon, the log file is typically here /var/log/maillog but the Server admin should know where it is.
You can try and just run the check_smtp_send part of the plugin with verbose enabled and maybe it will show something. Problem is that the plugin may not return debugging as you are using TLS and the TLS perl module does not have debugging capabilities.
If the SMTP server is running Linux as the OS and either Postfix or Sendmail as the mailer daemon, the log file is typically here /var/log/maillog but the Server admin should know where it is.
You can try and just run the check_smtp_send part of the plugin with verbose enabled and maybe it will show something. Problem is that the plugin may not return debugging as you are using TLS and the TLS perl module does not have debugging capabilities.
Code: Select all
/usr/local/nagios/libexec/check_smtp_send --hostname xx.xxx.xxx.xxx --tls --username xxxxxxx --password xxxxxxx --port --mailto xxxxxxx --mailfrom xxxxxxx -vvv