<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>
<DIV 
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">I’m 
wondering if what I have done is good :</DIV>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>    # get the source from github on my computer</DIV>
<DIV>    # autogen.sh</DIV>
<DIV>    # name=nut</DIV>
<DIV>    # ./configure --prefix=/ --sysconfdir=/etc/$name 
--mandir=/usr/share/man <BR>--libdir=/usr/lib --includedir=/usr/include 
--datadir=/usr/share/$name <BR>--with-statepath=/var/run/nut 
--with-altpidpath=/var/run/nut <BR>--with-drvpath=/lib/nut 
--with-pidpath=/var/run/$name <BR>--with-user=$name –with-group=$name 
--without-ssl</DIV>
<DIV> </DIV>
<DIV>There was an error :<BR><FONT face=Calibri>    ./configure: 
line 7079: syntax error near unexpected token `CPPUNIT,'<BR>    
./configure: line 7079: `PKG_CHECK_MODULES(CPPUNIT, cppunit, 
<BR>    have_cppunit=yes, have_cppunit=no)'</FONT></DIV><PRE><FONT face=Calibri>I put in commentary the line PKG_CHECK_MODULES(CPPUNIT, cppunit,     have_cppunit=yes, have_cppunit=no) then<BR></FONT><FONT face=Calibri>  # make<BR>  # make install</FONT></PRE><PRE><FONT face=Calibri>I took the driver voltronic_ser then from my workstation put it in the server, change the ups.conf and try it.<BR>The command “upscmd –u admin myups shutdown.return” now work (shutting down server then ups).<BR>Unfortunately, when I do “shutdown –h +0”, the ups is never shut down. After a little research, it appears that the line “upsmon –K >/dev/null 2>&1” in ups-monitor always return 1 so the line “exec /etc/init.d/nut-server poweroff” is never execute.</FONT></PRE>
<DIV>I’m ussing upssched in upsmon.conf, do I need to create the flag with my 
script before calling the shutdown –h +0? How (it’s supposed to be set 
automaticaly)? or maybe I’m missing something.</DIV>
<DIV>Did I do the right thing by getting only the driver from my computer and 
put it on the server? Or should I do a package of the whole nut (binary, conf 
etc...)</DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV 
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=hyouko@gmail.com 
href="mailto:hyouko@gmail.com">hyouko@gmail.com</A> </DIV>
<DIV><B>Sent:</B> Monday, July 29, 2013 1:34 AM</DIV>
<DIV><B>To:</B> <A title=farahei14@mail.pf href="mailto:farahei14@mail.pf">James 
HORLEY</A> </DIV>
<DIV><B>Subject:</B> Re: [Nut-upsuser] infosec e4</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV 
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV dir=ltr>
<DIV>You could try voltronic driver<BR><BR><A 
href="https://github.com/networkupstools/nut/tree/voltronic-driver">https://github.com/networkupstools/nut/tree/voltronic-driver</A><BR></DIV>
<DIV> </DIV>/dan<BR></DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>2013/7/29 James HORLEY <SPAN dir=ltr><<A 
href="mailto:farahei14@mail.pf" 
target=_blank>farahei14@mail.pf</A>></SPAN><BR>
<DIV dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Sorry for my poor english but it isn’t my native language.</DIV>
<DIV>I’m testing  an infosec E4 with nut-2.6.4-2.3 on Proxmox ve 3.0 (based 
on debian wheezy). The drivers that match this ups, is blazer_usb.</DIV>
<DIV>Btw, I have try nut-2.6.5 with unstable repository from wheezy, but it 
still doesn’t fully work.</DIV>
<DIV>I can shutdown my computer when battery is low, but unfortunately I can’t 
shutdown ups.</DIV>
<DIV>Like said on the man blazer :</DIV>
<DIV>         “Some UPS commands aren’t 
supported by all models. In most cases, the driver will send a message to the 
system log when the user tries to execute an unsupported command”</DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV>I’m wondering if there’s a way I can post some data to help make this ups 
more compatible with NUT.</DIV>
<DIV>There’s a software advised by the constructor that work on linux (<A 
title=http://www.power-software-download.com/viewpower.html 
href="http://www.power-software-download.com/viewpower.html" 
target=_blank>http://www.power-software-download.com/viewpower.html</A>), 
unfortunately it’s heavy (tomcat and java) and I don’t find it as flexible as 
NUT.</DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></DIV></DIV><BR>_______________________________________________<BR>Nut-upsuser 
mailing list<BR><A 
href="mailto:Nut-upsuser@lists.alioth.debian.org">Nut-upsuser@lists.alioth.debian.org</A><BR><A 
href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser" 
target=_blank>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</A><BR></DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></BODY></HTML>