You are here

Email Notifications - Other Hostnames

4 posts / 0 new
Last post
SamPerrin
SamPerrin's picture
Email Notifications - Other Hostnames

Hi All,

How do I add the information in the Other Hostnames/IPs box in to an email notification?
I have played around with the email.tt file and I have also searched for a list of available Macros but I cannot find one which ties up.
http://www.opsview.com/forum/opsview-community-edition/how-do-i/obtain-l...

We have various servers which will have either an external IP or Hostname associated with them, and to make it easier for our NOC team we would like to add this information to the email alerts.

Is there a document anywhere (maybe something I have missed, I have been searching a while) that shows how to add Opsview boxes in to the email template? I appreciate some are already linked, such as HOSTADDRESS etc.

Cheers
Sam

smarsh
smarsh's picture
Re: Email Notifications - Other Hostnames

Hi,

Off the top of my head im not sure - this may help however: http://docs.opsview.com/doku.php?id=opsview4.5:notificationmethods&s[]=e...

If you want something supported (so you have a definitive answer for questions like this), i would recommend looking at Opsview Pro or Enterprise depending on your business size.

Best,

Sam

 

SamPerrin
SamPerrin's picture
Re: Email Notifications - Other Hostnames

Hi Sam, 

Thank you for this, I have looked at that article before, I have added some information, but not the information I need to report on sadly.

Cheers
Sam 

SamPerrin
SamPerrin's picture
Re: Email Notifications - Other Hostnames

Hi Sam, 

Sorry I thought I had replied to this but the comment doesnt appear to show.
I managed to get around this by changing the service notifications that I used.

I create a service check using check_http
Which then had multiple host attributes, then when an alert for a website came through it would show the website address in the alert title.
The rest of the information can then be neatly added else where, so either the address box, description box, etc

Thanks for your help.

Cheers
Sam