2015R2.1 Email link shows wrong time span in some cases

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: 2015R2.1 Email link shows wrong time span in some cases

Post by jolson »

As specified in OP - I am using PHP Mail, not SMTP.
Sorry, I missed that. Is there any chance you could get those .eml files to my anyway? I was unable to reproduce your problem in-house.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
polarbear1
Posts: 73
Joined: Mon Apr 13, 2015 4:26 pm

Re: 2015R2.1 Email link shows wrong time span in some cases

Post by polarbear1 »

Sent in a PM for privacy.


Also - switched over to using SMTP and the links are coming through clickable. Heh... not exactly a fix of the root cause, but it works for me. I guess we can close this thread.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: 2015R2.1 Email link shows wrong time span in some cases

Post by jolson »

I looked through the PM you sent to me earlier, and noticed that the URL of the alert was sent in three separate lines:


See the last 60s in the dashboard:

Code: Select all

http://xxxx
xxxxxxx.com/nagioslogserver/index.php/alerts/show/xxxxxxxxx_to=2015-07-
30T15:12:32Z&s_from=2015-07-30T15:11:32Z 
This means that there may be unnecessary line breaks included in the alert message when using PHP Mailer. I will ask one of the developers about this.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked