I am attempting to run a report that will return all device names, priorities, states and IP addresses. I have attached the parameters that I am using. The report runs fine, and I can view it in Zenoss, but when I get to page 12 of 14, it errors out. (The error text is posted after this post). When I attempt to export the report, for some reason the IP addresses are very wrong. They are accurate with the report results in Zenoss, but not in the exported document. Any ideas on what could be causing this problem? I don't really need to access page 12 of the report in Zenoss if I can accurately export the data.
I appreciate any ideas. Thanks.
for dev in dmd.Devices.getSubDevicesGen():
data = [dev.getDeviceName(), dev.getPriorityString(), dev.getProductionStateString(), dev.getManageIp]
if any(True for x in data if isinstance(x, (int, float))):