JosefJezek
2/12/2014 - 2:44 PM

Zenoss zLinks

Zenoss zLinks

Zenoss zLinks

<a href="https://wiki/#!${here/id}.md" target="_">Wiki</a>

<a href="http://openaudit/index.php/main/search/1/${here/id}" target="_">Open-AudIT</a>

<a href="${here/zRancidUrl}/${here/zRancidGroup}/configs/${here/manageIp}?root=CVS&view=markup" target="_">RANCID</a>

OR

#!/usr/bin/env zendmd

for device in dmd.Devices.getSubDevicesGen():
    zlinks = '<a href="https://wiki/#!${here/id}.md" target="_">Wiki</a>'
    device.setZenProperty('zLinks', zlinks)
    # Delete value
    #device.__delattr__('zLinks')
    # Delete local property
    #if device.isLocal('zLinks'):
    #    device.deleteZenProperty('zLinks')

commit()