Not receiving notifications for service
-
lee.krause
- Posts: 86
- Joined: Wed Jan 20, 2016 8:38 am
Re: Not receiving notifications for service
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
Can you show the output of the following
Also, lets just run the following and you can grab the profile from
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
su nagios -c 'sudo -l'Code: Select all
/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh supportIf 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-
lee.krause
- Posts: 86
- Joined: Wed Jan 20, 2016 8:38 am
Re: Not receiving notifications for service
-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.
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
that is weird, they should be set to
lets start by changing that
Code: Select all
-rwxr-x--- 1 root nagios 13061 Jan 14 12:12 /usr/local/nagiosxi/html/includes/components/profile/getprofile.shCode: Select all
chmod u+x /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not receiving notifications for service
Can you tail the following log and then attempt to send a message to one of these contact and see if it show up
As the missing events happened yesterday, I cannot see anything unusual in the profile.
Code: Select all
tail -f /usr/local/nagiosxi/tmp/phpmailer.log-
lee.krause
- Posts: 86
- Joined: Wed Jan 20, 2016 8:38 am
Re: Not receiving notifications for service
We had another service go down that notifies the same group. I did not send notifications either.
However Nagios seems to think it did.
[root@xxxxx~]# cat /var/log/maillog | grep 12:22:00
[root@xxxxx ~]# cat /usr/local/nagiosxi/tmp/phpmailer.log | grep 12:22:00
However Nagios seems to think it did.
[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
can you PM me your current /usr/local/nagiosxi/var/eventman.log and /usr/local/nagiosxi/tmp/phpmailer.log