I have one contact that is not getting his alerts.
Contact is active.
Contact is assigned to an active service, same one as me.
I receive the alert, he does not.
I can email him directly from the email account we are using for all contacts via exchange outlook.
I am using smtp to send mail, that all other contacts are receiving.
I put him into an exchange distribution group and assign the group to the service he gets the alert.
I copied my info using the copy feature within contacts, changed the email address and name, he did not receive alert.
Under events, it states that an alert was sent to all contacts assigned, yet he still does not receive the alert.
Yes we have gone through his outlook with a fine tooth comb and it is not being pigeon holed anywhere.
Ideas?
It is as though Nagios will not send to his address.
Trouble sending mail to ONE contact
Re: Trouble sending mail to ONE contact
Anything in /var/log/maillog addressed to him?
If you look in /usr/local/nagios/var/objects.cache you will see the "compiled" list of Nagios objects. This means instead of referencing a template, the objects will have their full configs displayed including anything inherited from a template. This should remove all doubt as to what options are present for that contact. If you search for "contact_name\t<name>" you will find the entry. Bear in mind that the "\t" is a tab, and "<name>" should be replaced with the contact name like "nagiosadmin" or "johndoe". Compare this against other contacts and note any discrepancies here.
If you look in /usr/local/nagios/var/objects.cache you will see the "compiled" list of Nagios objects. This means instead of referencing a template, the objects will have their full configs displayed including anything inherited from a template. This should remove all doubt as to what options are present for that contact. If you search for "contact_name\t<name>" you will find the entry. Bear in mind that the "\t" is a tab, and "<name>" should be replaced with the contact name like "nagiosadmin" or "johndoe". Compare this against other contacts and note any discrepancies here.
Former Nagios employee
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Trouble sending mail to ONE contact
He is in there, i have him twice, once a recreate, and once aI copied my contact infor and changed the name.
I don't see him in the maillog, but I don't see anyone else that I should see either, so that is a wash. I ran grep against a few names I should have seem and nothing.
define contact {
contact_name Ray L
alias Ray Lenz
service_notification_period ronb_notification_times
host_notification_period ronb_notification_times
service_notification_options r,w,c
host_notification_options r,d
service_notification_commands xi_service_notification_handler
host_notification_commands xi_host_notification_handler
email [email protected]
minimum_importance 0
host_notifications_enabled 1
service_notifications_enabled 1
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
}
define contact {
contact_name Ray Lenz
alias Ray Lenz
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,f
host_notification_options d,u,f
service_notification_commands xi_service_notification_handler
host_notification_commands xi_host_notification_handler
email [email protected]
address1 [email protected]
minimum_importance 0
host_notifications_enabled 1
service_notifications_enabled 1
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
I don't see him in the maillog, but I don't see anyone else that I should see either, so that is a wash. I ran grep against a few names I should have seem and nothing.
define contact {
contact_name Ray L
alias Ray Lenz
service_notification_period ronb_notification_times
host_notification_period ronb_notification_times
service_notification_options r,w,c
host_notification_options r,d
service_notification_commands xi_service_notification_handler
host_notification_commands xi_host_notification_handler
email [email protected]
minimum_importance 0
host_notifications_enabled 1
service_notifications_enabled 1
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
}
define contact {
contact_name Ray Lenz
alias Ray Lenz
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,f
host_notification_options d,u,f
service_notification_commands xi_service_notification_handler
host_notification_commands xi_host_notification_handler
email [email protected]
address1 [email protected]
minimum_importance 0
host_notifications_enabled 1
service_notifications_enabled 1
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
Re: Trouble sending mail to ONE contact
Try changing the notification_commands to the following for that contact and see it the works for you.
service_notification_commands notify_service_xi_contact
host_notification_commands notify_host_xi_contact
service_notification_commands notify_service_xi_contact
host_notification_commands notify_host_xi_contact
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Trouble sending mail to ONE contact
I think it is working now, I'll post more later.
Re: Trouble sending mail to ONE contact
Alright, keep us informed.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.