Email Not Sending via Sendmail

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
morganmiskell
Posts: 7
Joined: Thu May 23, 2019 4:21 pm

Email Not Sending via Sendmail

Post by morganmiskell »

I have a new contact that I have created and appears to be configured properly. It will not even attempt to notify that user. When an alert happens sendmail (localhost) shows no attempt to send the message. I've tested using force/broadcast and it still doesn't attempt to send a message to this contact.

I've compared the contact record underneath in the config between a working contact and this contact and I can't see a difference. Can you assist?

Working contact:
define contact {
contact_name benjamin.shelton
alias Benjamin Shelton
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period benjamin.shelton_notification_times
service_notification_period benjamin.shelton_notification_times
host_notification_options d,u,r,f,s,
service_notification_options w,u,c,r,f,s,
email [email protected]
use xi_contact_generic,generic-contact
}

Non Working Contact (yes 24x7 is a valid notification period)
define contact {
contact_name AXIS_API
alias Teams AXIS API Room
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r,f,s,
service_notification_options w,u,c,r,f,s,
email [email protected]
use xi_contact_generic,generic-contact
}
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: Email Not Sending via Sendmail

Post by jdunitz »

Indeed, everything does look like it should work...

Is AXIS_API a user account, or just a contact?


Would you be able to post or PM us a system profile?

To do so, go to Admin at the top, and System Profile under System Config on the left:
GetProfile.png


Also, is sendmail able to actually send to this address [email protected]?

What happens if you try:

Code: Select all

 # echo hi | mailx -s this_is_a_test [email protected]
Thanks!

--Jeffrey
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked