<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 14, 2014, at 9:26 AM, Charles Lepple wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Feb 13, 2014, at 10:49 PM, Иши Кылса wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Slightly changed the list, took from running snmptranslate for all parameters:</div></div></div><div class="gmail_extra">snmptranslate -IR -On upsBaseIdentModel upsBaseBatteryStatus upsSmartBatteryCapacity upsSmartBatteryTemperature upsSmartInputLineVoltage upsBaseOutputStatus upsSmartOutputVoltage upsSmartOutputFrequency upsSmartOutputLoad upsSmartControlUpsOff upsSmartControlSimulatePowerFail upsSmartControlFlashAndBeep<br>
</div></div></blockquote><div><br></div>All but the last three are mapped here: <a href="https://github.com/networkupstools/nut/tree/snmp_subdriver">https://github.com/networkupstools/nut/tree/snmp_subdriver</a> @ ab7b0452e (might need to re-clone this; I rebased this on master.)</div></div></blockquote><div><br></div><div>I forgot to mention, if you don't want to deal with autoconf, etc., when building from Git, you can grab a snapshot from Buildbot:</div><div><br></div><div><a href="http://buildbot.networkupstools.org/~buildbot/cayman/snapshot/snmp_subdriver/rab7b0452e21aef8aaf308963da6380e712427e1d-146/nut-2.7.1.5.tar.gz">nut-2.7.1.5.tar.gz</a></div><div><br></div><div>This builder generates the snapshots: <a href="http://buildbot.networkupstools.org/public/nut/waterfall?show=Debian-x64-gcc">http://buildbot.networkupstools.org/public/nut/waterfall?show=Debian-x64-gcc</a></div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>I haven't read up on the difference between NUT variables and commands in snmp-ups.</div><div><br></div><div>Please try building snmp-ups, and let me know how the output of upsc looks.<br><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra">.1.3.6.1.4.1.935.1.1.1.6.2.1<br>.1.3.6.1.4.1.935.1.1.1.6.2.4<br></div><div class="gmail_extra">.1.3.6.1.4.1.935.1.1.1.6.2.5   (Last 3 OIDs didn't return values with snmpget, all others returned correct values as listed above.)<br>
</div></div></blockquote><br></div><div>The upsSmartControl* OIDs are probably write-only (although the MIB indicates you should be able to read them back).</div><br><div apple-content-edited="true">
<div>-- </div><div>Charles Lepple</div><div>clepple@gmail</div><div><br></div><br class="Apple-interchange-newline">
</div>
<br></div></blockquote></div><br>
<br></body></html>