[Nut-upsuser] Changing self test date

Frantz de Germain frantz at info.univ-angers.fr
Fri Dec 5 09:07:33 UTC 2014


Le Thu, 4 Dec 2014 08:42:37 -0500
Charles Lepple <clepple at gmail.com> écrivait:

> On Dec 4, 2014, at 5:30 AM, Frantz de Germain <frantz at info.univ-angers.fr>
> wrote:
> 
> > Hello,
> > 
> > does any one know how to change the date of the self tests on APC UPSes ?
> > I'd like to be able to choose the day and the hour so that it happens at
> > office hours, in case of any problem...
> > 
> > I've tried to do this by launching a test at a convenient time, but the
> > self tests still occurs at the previous date and hour :-(
> 
> The apctest program from apcupsd does not offer much more insight:
> 
>    http://sourceforge.net/p/apcupsd/svn/HEAD/tree/branches/Branch-3_14/src/apctest.c#l2202
> 
> This forum post from 2013 suggests that an easy way is to change the UPS
> setting to "test at power on", then use a script (with NUT, you would run
> something like "upscmd ups at server battery.start.quick") to run it at your
> preferred time:
> 
>    http://forums.apc.com/message/46002
> 
> Changing the self test interval will depend on your specific UPS model.

Thanks for your answer, Charles. This confirms what I thought : no other way
than turning off and on the UPSes to change date and hour of self tests. So,
effectively, the best way to have full control is to schedule tests via
scripts.

Regards

-- 
Frantz de Germain
Département Informatique UFR Sciences / DDN
Université d'Angers



More information about the Nut-upsuser mailing list