Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've set Zenoss 4.2.3 to get devices from our entire network from all subnets (INFRASTRUCTURE -> DEVICES). But it returns me the device list only with the IP address, it doesn't obtain the hostnames from both Windows and Linux machines.

How can I config it to obtain the names of the machines?

share|improve this question
Does your DNS resolve the device IPs correctly? –  jscott May 7 '13 at 16:44
Yes. We are inside a domain. –  tenshimsm May 7 '13 at 16:51
Heh, I do remember fiddling with it, do not recall exact solution, but it is definitely out there. Some settings for WUI some sort. –  Danila Ladner May 7 '13 at 17:59
:) Haha, I did not find, yet, the setting for that. :( –  tenshimsm May 7 '13 at 19:33

1 Answer 1

up vote 2 down vote accepted

"But it returns me the device list only with the IP address"

Do you mean in the infrastructure tab or are you referring to the emails from a notifier?

If in the notifier, there is a bug in Zenoss 4.2 where the device.id is used instead of device.title in email notifications.

To fix, put the following transform into the root "/" event class.

d = dmd.Devices.findDevice(evt.device)
if d is not None:
  evt.device_title = d.title
  evt.device_title = d.id

and then in your notification "Content" tab, use the following

Message (subject) Format: [zenoss] **${evt/device_title}** - ${evt/summary}
Body Format: 

Location: ${evt/zenoss.device.groups}
Device: **${evt/device_title}**
Component: ${evt/component}
Severity: ${evt/sevword}
Time: ${evt/lastTime}



a href="${urls/eventsUrl}">Device Events

a href="${urls/eventUrl}">Event Detail

a href="${urls/ackUrl}">Acknowledge

a href="${urls/closeUrl}">Close

Hope this helps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.