JosefJezek
1/10/2014 - 9:57 AM

Zenoss Reports

Zenoss Reports

Zenoss Reports

Mail

Custom Device

getId
title
getManageIp
getHWSerialNumber
getLocationName
getDeviceGroupNames
getSystemNames

Device
Title
Address
Serial #
Location
Groups
Systems

Query

here.getLocationName()==""
'/UPS' in here.getDeviceGroupNames()

Inventory

Data Point Aliases

1024,*
${here/hw/totalMemory},/
__EVAL:here.hw.totalMemory + “,/”
("cpu__pct"/"__EVAL:str(len(here.hw.cpus())) + ',/,100,EXC,-'")

Custom Method

Go to http://yourzenoss:8080/zport/dmd/Devices/manage
Choose "Script (Python)" from the drop-down in the upper-right
Set the Id to "getIpServicesListAsString" without the quotes
Click Add and Edit
Erase the default contents and replace with the following Python code
Click Save

return ','.join([ s.name() for s in context.os.ipservices() if s.monitored() ])