Skip to content

TALES expression examples

DNS Forward Lookup (assumes device/id is a resolvable name)

host ${device/id}

DNS Reverse Lookup

host ${device/manageIp}

SNMP Walk

snmpwalk -v 2c -c${device/zSnmpCommunity} ${device/manageIp} system

To use these expressions effectively, you must know which objects, attributes, and methods are available, and in which contexts. Usually there is a device that allows you to access the device in a particular context. Contexts related to a particular event usually have event defined.