SSL and Email issues with nagios
-
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: SSL and Email issues with nagios
So I think this is what's going on ... the html email notification was expecting env variables but the new nagios doesn't do that, even when enabled.
Re: SSL and Email issues with nagios
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: SSL and Email issues with nagios
that is definitely the problem them.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: SSL and Email issues with nagios
On that tracker post would ryanhoskin's posted solution be a temporary fix for you? I believe that this is being worked on right now.
-
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: SSL and Email issues with nagios
The command is listed like this:
Looking at the .php file, I don't think I can edit it to include/change the variables.
Code: Select all
# 'notify-service-by-email' command definition
define command{
command_name notify-service-by-email
command_line /usr/bin/php -q /u01/app/nagios/bin/nagios_mail.php
}
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: SSL and Email issues with nagios
I may have missed it, but could you link to or post that php file please? If you are using core 4 and the script is expecting environmental variables, lmiltchevs comment would definitely match the issue.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
- Posts: 102
- Joined: Tue May 21, 2013 2:52 pm
Re: SSL and Email issues with nagios
I am actually using another script that does not require env variables, it has enough of what I need ... and I was able to add in a few funky links I needed... thanks all, we can close this.