Email alert: message not appearing

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Email alert: message not appearing

Post by mbellerue »

I got most of the files, I didn't get the profile in the message you sent. If you could send that again, that would be great.

But in looking at the screenshots, I'm wondering if there is a limit to the amount of data that can fit into the message variable. Can you try setting up a test alert against a log with a smaller message and see if it comes through in an email?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
mbeebe
Posts: 144
Joined: Thu Dec 20, 2018 5:12 pm

Re: Email alert: message not appearing

Post by mbeebe »

mbellerue wrote: But in looking at the screenshots, I'm wondering if there is a limit to the amount of data that can fit into the message variable. Can you try setting up a test alert against a log with a smaller message and see if it comes through in an email?
We have shorter messages, around 5 lines, and they also don't make it.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Email alert: message not appearing

Post by mbellerue »

The only issue I'm seeing is that there seems to be something technically wrong with the HTML in your email template. All of the HTML validators I've run it through say that the /p at line 4 is unexpected. Put it anywhere before the div, and it's fine. That being said, I was able to put it into an email template on my Log Server 2.1.2, and everything comes through as expected.

Could you create a new email template that literally consists of just,

Code: Select all

Output: %output%

Last 10: %last10alertlogs%

Lookback: %lookback%

URL: %url%
And see if you get the data as expected?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
mbeebe
Posts: 144
Joined: Thu Dec 20, 2018 5:12 pm

Re: Email alert: message not appearing

Post by mbeebe »

mbellerue wrote:The only issue I'm seeing is that there seems to be something technically wrong with the HTML in your email template. All of the HTML validators I've run it through say that the /p at line 4 is unexpected. Put it anywhere before the div, and it's fine. That being said, I was able to put it into an email template on my Log Server 2.1.2, and everything comes through as expected.

Could you create a new email template that literally consists of just,

Code: Select all

Output: %output%

Last 10: %last10alertlogs%

Lookback: %lookback%

URL: %url%
And see if you get the data as expected?

Template created; we'll see what happens.

-- Mike Beebe
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Email alert: message not appearing

Post by mbellerue »

Sounds good. We'll keep the thread open and wait to hear back.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
mbeebe
Posts: 144
Joined: Thu Dec 20, 2018 5:12 pm

Re: Email alert: message not appearing

Post by mbeebe »

mbellerue wrote:Sounds good. We'll keep the thread open and wait to hear back.
Unfortunately, this did not work. The message still isn't appearing.

Any other ideas?

-- Mike Beebe
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Email alert: message not appearing

Post by mbellerue »

Is this a real-time check?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
mbeebe
Posts: 144
Joined: Thu Dec 20, 2018 5:12 pm

Re: Email alert: message not appearing

Post by mbeebe »

mbellerue wrote:Is this a real-time check?
It is not. It's a standard alert.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Email alert: message not appearing

Post by mbellerue »

Alright, one more thing we should try is using a template that just has the %last10alertlogs% macro in it. Just in case one of the other macros is somehow conflicting with that macro. Then also a template with just %lastalertlog%.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
mbeebe
Posts: 144
Joined: Thu Dec 20, 2018 5:12 pm

Re: Email alert: message not appearing

Post by mbeebe »

mbellerue wrote:Alright, one more thing we should try is using a template that just has the %last10alertlogs% macro in it. Just in case one of the other macros is somehow conflicting with that macro. Then also a template with just %lastalertlog%.
Ok -- I'll give that a try. Thanks.
Locked