This template allows to retrieve data from a Nanoleaf device and use it for monitoring in a Zabbix environment.
- Import the
zabbix-template-nanoleaf.yaml
template into your Zabbix server (see zabbix.com/documentation - Create a new
Host
(without interfaces) and assign the importedNanoleaf
template (see zabbix.com/documentation - Modify the Host
Macros
to your needs{$NANOLEAF_HOST}
Enter the IP/Hostname of your Nanoleaf device{$NANOLEAF_PORT}
Enter the port of the REST API by your Nanoleaf device (or leave default16021
){$NANOLEAF_TOKEN}
Enter the generated auth token for the REST API (see Nanoleaf REST API documentation
curl --location --request POST 'http://{$NANOLEAF_HOST}:{$NANOLEAF_PORT}/api/v1/new'
- (Optional) Enable/Disable triggers to your needs