search for: do_temp

Displaying 1 result from an estimated 1 matches for "do_temp".

Did you mean: to_temp
2008 Mar 04
1
battery.temperature vs ups.temperature
...tch 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")) { + do_temp("battery.temperature"); + return 1; + } + if (!strcmp(cmd, "AMBTEMP")) { do_temp("ambient.temperature"); return 1; --- conf/upsstats.html.sample.DIST 2008-03-04 09:23:38.000000000 +0000 +++ conf/upsstats....