[Nut-upsuser] User defined variables in upsstats.html

Tom Parker tparker at cbnco.com
Tue Feb 18 20:48:04 UTC 2014


Is there any way to set and consume user defined variables in upsstats.html

I would like to set lower thresholds for temperature than are set in the
UPSes for my web page but I cannot figure out how to pass a value that
is not a variable into IFBETWEEN.

Is there a way to say:

@IFBETWEEN 15 25 ambient.temperature@
<td BGCOLOR="#00FF00">
<td BGCOLOR="#FF0000">

Thank you


More information about the Nut-upsuser mailing list