<div dir="auto">Hai ragione, non ho letto attentamente..<div dir="auto">Comunque si il problema era proprio lì.</div><div dir="auto"><br></div><div dir="auto">Grazie ciao :-) </div></div><div class="gmail_extra"><br><div class="gmail_quote">Il 15 dic 2017 9:00 AM, "Valerio Pachera" <<a href="mailto:sirio81@gmail.com">sirio81@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Questo è un esempio si uno degli apc che monitoro via usb:<br><br>grep -v -E  '(^$|^#)' /etc/apcupsd/apcupsd.conf <br>UPSNAME upsQualcheNome<br>UPSCABLE usb<br>UPSTYPE usb<br><b>DEVICE</b><br>LOCKFILE /var/lock<br>SCRIPTDIR /etc/apcupsd<br>PWRFAILDIR /etc/apcupsd<br>NOLOGINDIR /etc<br>ONBATTERYDELAY 6<br>BATTERYLEVEL 5<br>MINUTES 3<br>TIMEOUT 0<br>ANNOY 300<br>ANNOYDELAY 60<br>NOLOGON disable<br>KILLDELAY 0<br>NETSERVER on<br>NISIP 0.0.0.0<br>NISPORT 3551<br>EVENTSFILE /var/log/apcupsd.events<br>EVENTSFILEMAX 10<br>UPSCLASS standalone<br>UPSMODE disable<br>STATTIME 0<br>STATFILE /var/log/apcupsd.status       <wbr>                              <wbr>                              <wbr>                              <wbr>                              <wbr>                              <wbr>   <br>LOGSTATS off                           <wbr>                              <wbr>                              <wbr>                              <wbr>                              <wbr>                              <wbr>   <br>DATATIME 0<br><br></div>Comunque NON hai letto con attenzione il commento ripotato nel file di configurazione che ho anche riportato nella risposta.<br></div><br># <b>UPSTYPE</b>   <b>DEVICE</b>           Description<br>...<br># <u>usb</u>       <BLANK>          Most new UPSes are USB. A blank DEVICE<br>#                            setting enables autodetection, which is<br>#                            the best choice for most installations.<br>...<br></div><div>che si trasponde in<br><br><b>UPSTYPE</b> <u>usb</u><br><b>DEVICE</b><br><br></div><div>(blank significa lasciare vuoto)<br><br></div><div>Avevi la risposta sotto il naso, non seriva andare a casaccio :-)<br></div></div>
<br><br>
--<br>
Mailing list info: <a href="https://lists.linux.it/listinfo/ll" rel="noreferrer" target="_blank">https://lists.linux.it/<wbr>listinfo/ll</a><br>
<br></blockquote></div></div>