search for: ups_overtemp

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

2007 Jan 04
2
Re: [nut-Patches][303751] Checking UPS Temperature
...= "ups.temperature"; > + numq = 3; > + } > +//EW <<<<<< > + > if (numq == 0) { > upslogx(LOG_ERR, "get_var: programming error: var=%s", var); > @@ -770,4 +782,21 @@ > } > > +//EW >>>>>> > +static void ups_overtemp(utype *ups) > +{ > + if (flag_isset(ups->status, ST_OVERTEMP)) { /* no change */ > + debug("ups_overtemp(%s) (no change)\n", ups->sys); > + return; > + } > + > + debug("ups_overtemp(%s) (first time)\n", ups->sys); > + > + /* must have chang...