Community
Zenoss Newsletter

Monitored by Zenoss
SourceForge.net Logo
Views

First start zendmd from the command line:

$ zendmd

We open a file for writing and then write the desired information for each device to the file, separated by semicolons.

>>> f = open("/tmp/devices.txt", "w")
>>> for d in dmd.Devices.getSubDevices():
...     f.write(d.manageIp+","+d.getLocationName()+","+d.snmpSysName+"\n")
...
>>> f.close()
>>>

Of course you can customize the device information and the separator - further you can add all interfaces of each device or any other information available to this report.