Quantcast
Channel: Zenoss Community : Popular Discussions - All Communities
Viewing all articles
Browse latest Browse all 220

Customizing Email Notifications

$
0
0

Hello,

 

I'm trying to customize the e-mail notifications sent out by Zenoss Core 3.0.3. Here's what I have so far.

 

Summary:

%(device)s %(summary)s

 

Body:

Device: %(device)s
Component: %(component)s
Severity: %(severityString)s
Time: %(firstTime)s
Message:
%(message)s
<a href="%(eventUrl)s">Event Detail</a>
<a href="%(ackUrl)s">Acknowledge</a>
<a href="%(deleteUrl)s">Delete</a>
<a href="%(eventsUrl)s">Device Events</a>

This works great for most devices, however any devices that are not registered in DNS only show the IP address in the notfication. For example I have a device named BURL-SERVER-UPS. IP address 192.168.17.98

 

When the up/down notification gets sent, it gives a notification saying:

 

192.168.17.98 ip 192.168.17.98 is up

 

What field can I use so that the notification shows the Device Name rather than the IP?


Viewing all articles
Browse latest Browse all 220

Trending Articles