Page 2 of 2

Re: Not receiving notifications for service

Posted: Thu Jan 31, 2019 11:23 am
by lee.krause
I followed the instructions and same error.

Re: Not receiving notifications for service

Posted: Thu Jan 31, 2019 11:40 am
by scottwilkerson
Can you show the output of the following

Code: Select all

su nagios -c 'sudo -l'
Also, lets just run the following and you can grab the profile from

Code: Select all

/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh support
Report any errors you may get.

If no errors, then you can grab the profile from the following location and it should have today's date

Code: Select all

/usr/local/nagiosxi/var/components/profile.zip

Re: Not receiving notifications for service

Posted: Thu Jan 31, 2019 11:46 am
by lee.krause
-rw-r-----. 1 root nagios 13061 Jan 30 14:51 /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh

Permissions on the script were not executable. That should be added to the troubleshooting page.

I'm PM'ing the zip file now.

Re: Not receiving notifications for service

Posted: Thu Jan 31, 2019 11:52 am
by scottwilkerson
that is weird, they should be set to

Code: Select all

-rwxr-x--- 1 root nagios 13061 Jan 14 12:12 /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
lets start by changing that

Code: Select all

chmod u+x /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh

Re: Not receiving notifications for service

Posted: Thu Jan 31, 2019 12:20 pm
by scottwilkerson
Can you tail the following log and then attempt to send a message to one of these contact and see if it show up

Code: Select all

tail -f /usr/local/nagiosxi/tmp/phpmailer.log
As the missing events happened yesterday, I cannot see anything unusual in the profile.

Re: Not receiving notifications for service

Posted: Thu Jan 31, 2019 1:46 pm
by lee.krause
We had another service go down that notifies the same group. I did not send notifications either.
However Nagios seems to think it did.
advanced2.PNG

[root@xxxxx~]# cat /var/log/maillog | grep 12:22:00
[root@xxxxx ~]# cat /usr/local/nagiosxi/tmp/phpmailer.log | grep 12:22:00

Re: Not receiving notifications for service

Posted: Thu Jan 31, 2019 2:49 pm
by scottwilkerson
can you PM me your current /usr/local/nagiosxi/var/eventman.log and /usr/local/nagiosxi/tmp/phpmailer.log