Not receiving notifications for service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lee.krause
Posts: 86
Joined: Wed Jan 20, 2016 8:38 am

Re: Not receiving notifications for service

Post by lee.krause »

I followed the instructions and same error.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Not receiving notifications for service

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lee.krause
Posts: 86
Joined: Wed Jan 20, 2016 8:38 am

Re: Not receiving notifications for service

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Not receiving notifications for service

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Not receiving notifications for service

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lee.krause
Posts: 86
Joined: Wed Jan 20, 2016 8:38 am

Re: Not receiving notifications for service

Post 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
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Not receiving notifications for service

Post by scottwilkerson »

can you PM me your current /usr/local/nagiosxi/var/eventman.log and /usr/local/nagiosxi/tmp/phpmailer.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked