On 2/1/07, <b class="gmail_sendername">Jon Gough</b> <<a href="mailto:jon.gough@eclipsesystems.com.au">jon.gough@eclipsesystems.com.au</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<font size="3"> What I want to do is run the T<n> command to
have it test for a different length of time than the standard 10 secs.</font></div></blockquote><div><br><br>Some UPSes support a "TL" command, which starts a test until the unit hits "low battery". This test can be canceled by a "CT" command ("C" probably kills it too, but it kills a pending shutdown too).
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><font size="3"> If
I can get this to work then I can send other commands to setup the UPS
correctly, ie wait 10 mins after loss of power before shutting servers
down, but make sure there is 2 mins of power left to allow for shut down
to occur. </font></div></blockquote><div><br><br>What are you trying to do again? With the "megatec" driver talking with your UPS using the megatec-over-usb patch you can already do this with NUT (using "upssched"), although I don't think relying on time intervals is such a good idea.
<br></div></div><br clear="all"><br>-- <br>Carlos Rodrigues