Question about Notification emails...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
snchestnut01
Posts: 25
Joined: Mon Feb 29, 2016 2:46 pm

Question about Notification emails...

Post by snchestnut01 »

Hello Support,

I have been given the task of enhancing the Alert Emails we have for our Windows servers Host, Application and Service notifications. We'd like to include full details captured from the services like what we get when logging into the site and looking at the application errors.

I'm currently using the following format:
***** Nagios XI Alert *****

%alertsummary%

Notification Type: %type%

Service: %service%
Host: %host%
Address: %hostaddress%
State: %servicestate%
Info:
%serviceoutput%
Date/Time: %datetime%

Respond: %responseurl%
Nagios URL: %xiserverurl%

I've looked through the following links... maybe I missed something but we want the details from the application error sent out with the email as well. Anybody have any recommendations?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Question about Notification emails...

Post by rkennedy »

When you mention that you want the details from the application error sent out as well, where do you see that information? Can you show us a screenshot? The service details are outputting with the %serviceoutput% already, so I am just lookign for clarificaiton.
Info:
%serviceoutput%
Former Nagios Employee
snchestnut01
Posts: 25
Joined: Mon Feb 29, 2016 2:46 pm

Re: Question about Notification emails...

Post by snchestnut01 »

Sure, this is from logging into the XI interface through the web and looking at the Application Log Warning. The text that is not in bold is what we'd like sent out in the email. Currently all we get is the bold... See attachment.
You do not have the required permissions to view the files attached to this post.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Question about Notification emails...

Post by avandemore »

Please see Standard Macros in Nagios for a listing of what's available. $LONGSERVICEOUTPUT$ $LONGSERVICEOUTPUT$ are some of the ones which are related to what you might want.
Previous Nagios employee
snchestnut01
Posts: 25
Joined: Mon Feb 29, 2016 2:46 pm

Re: Question about Notification emails...

Post by snchestnut01 »

Thanks, I'll see if this works for me.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Question about Notification emails...

Post by avandemore »

Sounds good, let us know if that works for you.
Previous Nagios employee
snchestnut01
Posts: 25
Joined: Mon Feb 29, 2016 2:46 pm

Re: Question about Notification emails...

Post by snchestnut01 »

That worked... had to change out the dollar signs for percentile marks, but it worked none the less. Thanks a bunch.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Question about Notification emails...

Post by avandemore »

That's good news. If you have further issues, please open a new thread.
Previous Nagios employee
Locked