Page 1 of 2
No notifications going out
Posted: Tue Nov 01, 2011 11:44 am
by cwscribner
Hi all.
So I've had notifications disabled since the fresh install of XI. As a result, I've just discovered this problem which is very unfortunate as the box just moved into production mode. I can't get any test notifications to go out and I'm not quite sure where the problem lies. mailx and sendmail are both installed and will send mail on the command line.
Re: No notifications going out
Posted: Tue Nov 01, 2011 12:47 pm
by mguthrie
We did locate a bug in 1.7 on some systems that failed to set the XI User's notification preferences to "enabled." Can you check to see if your contacts have the custom variables "host_notifications_enabled"= 1 and "service_notifications_enabled"=1.
Are you experiencing the failure with the "Send Test Email" page, or with the actual host and service notifications?
Re: No notifications going out
Posted: Tue Nov 01, 2011 2:34 pm
by cwscribner
The nagiosadmin contact has everything enabled. In the contacts.cfg file, it has host_notifications_enabled=1.
Neither the test nor the actual notifications go out.
Re: No notifications going out
Posted: Tue Nov 01, 2011 4:31 pm
by lmiltchev
It is very strange. Even if your Notifications are disabled globally, you should be able to send a test e-mail. Do you know of any changes with your mail server?
Create a simple text file in your "/tmp" folder and name it "test.txt". Then run in terminal:
Code: Select all
# /usr/lib/sendmail -v <your_email_address> < /tmp/test.txt
Check your e-mail to see if you received the test.txt.
Re: No notifications going out
Posted: Wed Nov 02, 2011 10:37 am
by cwscribner
I do receive the test.txt via command line. To my knowledge, nothing has been changed in terms of mail capabilities for the Xi server. I would think that the hangup is between XI and sendmail since commandline works but test notifications do not.
Re: No notifications going out
Posted: Wed Nov 02, 2011 11:58 am
by lmiltchev
Maybe you've already been through this, but just in case...
Go to: Configure->More Options->My Account Settings
Under "Account Information" -> Try changing the e-mail address and test it again
Under "Notification Preferences" -> Double check if Notifications are enabled, check Notification Types/Times
Under "Notification Methods" -> Make sure Email is selected
Also, you can open your "php.ini" (/etc/php.ini) file and double check all of the entries associated with mail. There may be something misconfigured there.
Re: No notifications going out
Posted: Wed Nov 02, 2011 12:17 pm
by cwscribner
Interesting...I changed the admin email to my own and I received the test notification. I changed it back to the original email but I haven't heard back from the owner as to whether or not he received the test email after my changes.
Re: No notifications going out
Posted: Wed Nov 02, 2011 12:26 pm
by lmiltchev
Maybe he/she should check the spam folder...

It happened to me before.
Re: No notifications going out
Posted: Fri Nov 04, 2011 12:21 pm
by cwscribner
No such luck. He hasn't received any notifications. My company email provider is GMail. Would that make a difference if the original admin email was hosted internally? Would looking for a block in the network be the next logical step?
Re: No notifications going out
Posted: Fri Nov 04, 2011 12:40 pm
by mguthrie
Can you post the contact definition from the contacts.cfg file?