<div dir="ltr"><div>Hi Jeroen,</div><div><br></div><div>If you have not figured it out yet, have you downloaded APC SNMP MIBS ?</div><div><br></div><div>Check this documentation :</div><div><a href="http://net-snmp.sourceforge.net/wiki/index.php/TUT:Using_and_loading_MIBS">http://net-snmp.sourceforge.net/wiki/index.php/TUT:Using_and_loading_MIBS</a></div><div><br></div><div>I prefer to have a dedicated user running SNMP checks and pull all required SNMP MIBS not included by OS net-snmp package to "$HOME/.snmp/" .</div><div><br></div><div>hth,</div><div><br></div><div>Yogesh<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 2, 2021 at 2:37 PM jeroen-boonen--- via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net">nut-upsuser@alioth-lists.debian.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)"><div>Hi,</div><div><br></div><div>I'm running NUT in Home Assistant and have following info about MIB not found.</div><div><br></div><div>1/ OS: Home Assistant v2021.3.4 running on Hyper-V</div><div>2/ NUT version: v0.6.2</div><div>3/ UPS: APC Smart-UPS 1500 RM (firmware 617.3.I) via an AP9631 management card (v6.9.4)</div><div>4/ log:</div><div><br></div><div> <pre style="overflow-x:auto;white-space:pre-wrap;color:rgb(225,225,225);font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(28,28,28);text-decoration-style:initial;text-decoration-color:initial"><span>[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] nut: applying...
[fix-attrs.d] nut: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
</span><span style="color:rgb(0,111,184)">-----------------------------------------------------------</span><span>
</span><span style="color:rgb(0,111,184)"> Add-on: Network UPS Tools</span><span>
</span><span style="color:rgb(0,111,184)"> Manage battery backup (UPS) devices</span><span>
</span><span style="color:rgb(0,111,184)">-----------------------------------------------------------</span><span>
</span><span style="color:rgb(0,111,184)"> Add-on version: 0.6.2</span><span>
</span><span style="color:rgb(57,181,74)"> You are running the latest version of this add-on.</span><span>
</span><span style="color:rgb(0,111,184)"> System: Home Assistant OS 5.12 (amd64 / qemux86-64)</span><span>
</span><span style="color:rgb(0,111,184)"> Home Assistant Core: 2021.3.4</span><span>
</span><span style="color:rgb(0,111,184)"> Home Assistant Supervisor: 2021.03.6</span><span>
</span><span style="color:rgb(0,111,184)">-----------------------------------------------------------</span><span>
</span><span style="color:rgb(0,111,184)"> Please, share the above information when looking for help</span><span>
</span><span style="color:rgb(0,111,184)"> or support in, e.g., GitHub, forums or the Discord chat.</span><span>
</span><span style="color:rgb(0,111,184)">-----------------------------------------------------------</span><span>
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nut.sh: executing...
[14:49:50] INFO: </span><span style="color:rgb(57,181,74)">Setting mode to netserver...</span><span>
[14:49:50] INFO: </span><span style="color:rgb(57,181,74)">Generating /etc/nut/upsd.users...</span><span>
[14:49:50] INFO: </span><span style="color:rgb(57,181,74)">Configuring user: jeroen</span><span>
[14:49:50] INFO: </span><span style="color:rgb(57,181,74)">Password is NOT in the Have I Been Pwned database! Nice!</span><span>
[14:49:50] INFO: </span><span style="color:rgb(57,181,74)">Configuring Device named ups...</span><span>
[14:49:50] INFO: </span><span style="color:rgb(57,181,74)">Starting the UPS drivers...</span><span>
No matching MIB found for sysOID '.1.3.6.1.4.1.318.1.3.2.7'!
Please report it to NUT developers, with an 'upsc' output for your device.
Going back to the classic MIB detection method.
Detected Smart-UPS 1500 RM on host 192.168.0.99 (mib: apcc 1.2)
[ups] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.3)
[ups] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.3.3.1.5.1.1.2)
Network UPS Tools - UPS driver controller 2.7.4
[cont-init.d] nut.sh: exited 0.
[cont-init.d] nutclient.sh: executing...
[cont-init.d] nutclient.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[14:49:52] INFO: </span><span style="color:rgb(57,181,74)">Starting the UPS information server...</span><span>
0.000000 fopen /var/run/nut/upsd.pid: No such file or directory
0.000655 listening on 0.0.0.0 port 3493
0.001663 Connected to UPS [ups]: snmp-ups-ups
[14:49:52] INFO: </span><span style="color:rgb(57,181,74)">Starting the UPS monitor and shutdown controller...</span><span>
0.000000 fopen /var/run/nut/upsmon.pid: No such file or directory
0.000438 Using power down flag file /etc/killpower
0.000830 UPS: ups@localhost (master) (power value 1)
0.001122 debug level is '1'
0.001387 Warning: running as one big root process by request (upsmon -p)
0.001862 Init SSL without certificate database
0.003607 Trying to connect to UPS [ups@localhost]
0.016794 User <a href="mailto:upsmonmaster@127.0.0.1" target="_blank">upsmonmaster@127.0.0.1</a> logged into UPS [ups]
0.004993 Logged into UPS ups@localhost</span></pre> </div><div><br></div><div>Configuration:</div><div><div>users:</div><div> - username: <user></div><div> password: <pwd></div><div> instcmds:</div><div> - all</div><div> actions: []</div><div>devices:</div><div> - name: ups</div><div> driver: snmp-ups</div><div> port: 192.168.0.99</div><div> config: []</div><div>mode: netserver</div><div>shutdown_host: 'false'</div><div><br></div><div>On UPS:</div><div>SNMPv1, enabled, public 0.0.0.0 read</div><div><br></div><div><br></div><div><br></div><div><br></div><div>I'm also not 'seeing' anything in the Entities in HA.</div><div><br></div><div>What could I'm doing wrong?</div><div><br></div><div>Txs for the help</div><div><br></div><div>BR,</div><div><br></div><div>Jeroen</div></div></div></div>_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div>