search for: batttemp

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

Did you mean: matttemp
2008 Mar 04
1
battery.temperature vs ups.temperature
...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")) { + 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....