I want to write the status of a device to the log whenever a particular event runs. In the event actions I can use replacement variables to send myself an email e.g. with subject: UPS Battery Status $$DS:u50, but I can't seem to do the same using writelog in a one-line script, e.g. &hs.writelog "Device Update", $$DS:u50, but that doesn't work.
I'm probably missing something obvious, but is there a quick answer please? Thanks.
I'm probably missing something obvious, but is there a quick answer please? Thanks.
Comment