Page 1 of 1
Nagios dont send notifications
Posted: Fri Oct 27, 2017 10:06 am
by sarpione
Hi, how are you?
The problem I have is that after a power outage, the nagios server when turning on the feature all but sending the notifications.
The weird thing is that test mail works, but notifications do not.
Attach the logs.
Thank you
Re: Nagios dont send notifications
Posted: Fri Oct 27, 2017 1:29 pm
by dwasswa
Hi
@sarpione,
Could you please send me your system profile by going to your Nagios XI home page, click on the
Admin tab >>
System Profile >>
Download Porfile and send it to me.
Please see attachment for examples.
Step 1:
System_profile.PNG
Step 2:
Download_system_profile.PNG
I asked for the system profile because I want to get some more information on any issues related to your problem.
Re: Nagios dont send notifications
Posted: Mon Oct 30, 2017 8:05 am
by sarpione
Ready system profile
Re: Nagios dont send notifications
Posted: Mon Oct 30, 2017 12:30 pm
by dwasswa
Hi [user] @sarpione[/user],
After taking a close look at your profile, I found that there some tables in your database that crashed possibly due to the power outage your described earlier.
This means that you need to repair your database.
Please follow the steps in this kb article to repair your database:
https://support.nagios.com/kb/article/n ... ables.html
Secondly,please run
cat /etc/hosts and the output should be something like this.
Code: Select all
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
You should have localhost in there and if do not, you should add it.
Please let me know if that solves your issue or if you have any questions.
Re: Nagios dont send notifications
Posted: Mon Oct 30, 2017 3:03 pm
by sarpione
Yes i run "cd /usr/local/nagiosxi/scripts/
./repair_databases.sh" and it solved the problem
Thx genius!

Re: Nagios dont send notifications
Posted: Mon Oct 30, 2017 3:45 pm
by dwasswa
Hi
@sarpione,
I am glad that solved your issue.
I will now close this thread as resolved.
If you have any questions in the future, please open a new thread.
Thank you for using the Nagios Support Forum.