search for: ifbetween

Displaying 4 results from an estimated 4 matches for "ifbetween".

Did you mean: between
2007 Dec 11
2
nut-2.2.1-pre2
Shamelessly reusing the announcement Arnaud sent about three months ago for nut-2.2.1: "We're preparing to release 2.2.1-pre2, so if you have some fixes to backport on Testing, consider announcing it and doing asap. As always, compatibilities update and bugfixes only!" Regards, Arjen -- Eindhoven - The Netherlands Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1
2014 Feb 18
1
User defined variables in upsstats.html
Hello 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"> @ELSE@ <td BGCOLOR="#FF0000"> @ENDIF@ Thank you Tom
2008 Mar 04
1
battery.temperature vs ups.temperature
The (2.2.1) upshid-ups driver reports battery.temperature rather than ups.temperature. Here's a quick patch to have it show up in the status page... --- clients/upsstats.c.DIST 2008-03-04 09:15:40.000000000 +0000 +++ clients/upsstats.c 2008-03-04 09:16:20.000000000 +0000 @@ -787,6 +787,11 @@ return 1; } + if (!strcmp(cmd, "BATTTEMP")) { +
2006 Feb 06
1
upsimage/upsstats: 3phase support
...and the template files, and in additional to the obvious 3phase variables: - upsstats: * Adds IF/ELSE-awareness, and since the parser logic is rather limited this means that we now have IF, ELSE IF etc since all statements are and:ed. Examples in upsstats.html. * Adds IFEQ (IF Equal) * Adds IFBETWEEN (if a value is within bounds) * Removes UTILITYCOLOR, since it's now possible to "script" that. * Adds possibility to give a full path to upsstats/upsimage. This comes in handy when you call the CGI stuff by SSI from a parsed HTML page and want links to go to that HTML page and...