<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2016-06-04 12:06 GMT-03:00 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Jun 3, 2016, at 11:13 AM, Sergio Belkin <<a href="mailto:sebelk@gmail.com">sebelk@gmail.com</a>> wrote:<br>
><br>
> jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: No supported device detected<br>
> jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: Network UPS Tools - Generic SNMP UPS driver 0.72 (2.7.2)<br>
> jun 03 12:10:05 nut-vm.infoestructura.local systemd[1]: nut-driver.service: control process exited, code=exited status=1<br>
> jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: Driver failed to start (exit status=1)<br>
> jun 03 12:10:05 nut-vm.infoestructura.local upsdrvctl[9246]: Network UPS Tools - UPS driver controller 2.7.2<br>
<br>
</span>Strange, these error messages seem to be in reverse chronological order, and the "No supported device detected" error comes from snmp-ups, not upsdrvctl.<br>
<br>
Can you try running "upsdrvctl start" as root from the command line (after stopping the systemd services, if applicable)? If that works, there might be a race condition in bringing up the network interfaces needed by the snmp-ups driver.<br>
<br>
It might be better to file this issue with the CentOS packagers, since the systemd control files in the NUT repository can only be a suggestion -- the actual integration will depend on the distribution.<br>
<span class=""><font color="#888888"><br>
--<br>
Charles Lepple<br>
clepple@gmail<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Hi Charles,<br><br></div><div class="gmail_extra">I've found that is a mixed problem, if nut driver's fails to connect to one of UPS's, I have to manually run:<br><br>upsdrvctl  start nutdev10 <br><br></div><div class="gmail_extra">And then it works...<br></div><div class="gmail_extra"><br>By other hand, this configuration is not supported by nut:<br><br><br>[nutdev10]<br>        driver = "snmp-ups"<br>        port = "192.168.15.11"<br>        snmp_version = v3<br>        secLevel = authPriv<br>        secName = WWWWWWWWWWWWWWW<br>        authPassword = XXXXXXXXXXXXXXX<br>        privPassword = YYYYYYYYYYYYYYY<br>        authProtocol = SHA<br>        privProtocol = AES<br>        desc = "Example SNMP v3 device, with the highest security level"<br>        mibs = apcc<br><br clear="all"></div><div class="gmail_extra"><br></div><div class="gmail_extra">I had to change AES by DES, if not:<br><br>upsdrvctl -D start nutdev10<br>Network UPS Tools - UPS driver controller 2.7.2<br>   0.000000     Starting UPS: nutdev10<br>Network UPS Tools - Generic SNMP UPS driver 0.72 (2.7.2)<br>Unknown mibs value: apcc<br>   0.247859     Driver failed to start (exit status=1)<br><br></div><div class="gmail_extra">Remember that snmpwalk works fine, so is a nut drver bug?<br><br></div><div class="gmail_extra">Thanks in advance!<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">--<br>Sergio Belkin<br>LPIC-2 Certified - <a href="http://www.lpi.org" target="_blank">http://www.lpi.org</a></div></div></div></div>
</div></div>