Unifi: Cloud Key Type
submitted
Jacob
Returns the type of cloud key used.When the site is using a Software Application, the ubnt_device_type object is not returned in the data print, so the second condition of the metric outputs Software as the result.Useful if you are billing based on the type of cloud key in use by the customer, or if you need to track how many of each kind are in use.
SystemInfo[?ubnt_device_type != ''].ubnt_device_type || 'Software'