<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">
<div><div class=""></div><div>Does it have the same behavior if you start from .1.3.6.1.4.1.935<b>.1</b> or .<a href="tel:1.3.6.1.4.1.935.1.1" value="+13614193511" target="_blank">1.3.6.1.4.1.935.1.1</a>? If not, no worries - see below.</div>
<div class=""><br></div></div></div></blockquote><div>Yes, says "Timeout: No Response from 10.200.254.39", Ok.<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 style="word-wrap:break-word"><div><div class=""><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>.....<br></div><div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word">
<div>The important part of "mode 2" is to have the output of snmpwalk. It is possible to query each OID, and manually build the *-mib.c files, but if we can get snmpwalk to work, that would be easier.</div><div>

<br></div><div>If not, the important OIDs are:</div><div><br></div><div><table style="margin:0px;padding:0px;color:rgb(80,80,80);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:12px;font-style:normal;font-variant:normal;font-weight:100;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" bgcolor="#ebebeb" border="0" hspace="0" width="100%">

<tbody style="margin:0px;padding:0px"><tr style="margin:0px;padding:0px" bgcolor="#EBEBEB"><td style="margin:0px;padding:0px;font-size:12px">upsBaseBatteryStatus</td><td style="margin:0px;padding:0px;font-size:12px">1.3.6.1.4.1.935.1.1.1.2.1.1</td>

</tr></tbody></table><div><table style="margin:0px;padding:0px;color:rgb(80,80,80);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:12px;font-style:normal;font-variant:normal;font-weight:100;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" bgcolor="#ebebeb" border="0" hspace="0" width="100%">

<tbody style="margin:0px;padding:0px"><tr style="margin:0px;padding:0px" bgcolor="#EBEBEB"><td style="margin:0px;padding:0px;font-size:12px">upsBaseOutputStatus</td><td style="margin:0px;padding:0px;font-size:12px">1.3.6.1.4.1.935.1.1.1.4.1.1</td>

</tr></tbody></table><div><br></div></div></div><div>Other useful diagnostic OIDs are:</div><div><br></div><div><table style="margin:0px;padding:0px;color:rgb(80,80,80);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:12px;font-style:normal;font-variant:normal;font-weight:100;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" bgcolor="#ebebeb" border="0" hspace="0" width="100%">

<tbody style="margin:0px;padding:0px"><tr style="margin:0px;padding:0px" bgcolor="#DCDCDC"><td style="margin:0px;padding:0px;font-size:12px">upsSmartBatteryVoltage</td><td style="margin:0px;padding:0px;font-size:12px">1.3.6.1.4.1.935.1.1.1.2.2.2</td>

</tr></tbody></table><div><table style="margin:0px;padding:0px;color:rgb(80,80,80);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:12px;font-style:normal;font-variant:normal;font-weight:100;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" bgcolor="#ebebeb" border="0" hspace="0" width="100%">

<tbody style="margin:0px;padding:0px"><tr style="margin:0px;padding:0px" bgcolor="#DCDCDC"><td style="margin:0px;padding:0px;font-size:12px">upsSmartBatteryRunTimeRemaining</td><td style="margin:0px;padding:0px;font-size:12px">

1.3.6.1.4.1.935.1.1.1.2.2.4</td></tr></tbody></table><div><table style="margin:0px;padding:0px;color:rgb(80,80,80);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:12px;font-style:normal;font-variant:normal;font-weight:100;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" bgcolor="#ebebeb" border="0" hspace="0" width="100%">

<tbody style="margin:0px;padding:0px"><tr style="margin:0px;padding:0px" bgcolor="#DCDCDC"><td style="margin:0px;padding:0px;font-size:12px">upsSmartInputLineVoltage</td><td style="margin:0px;padding:0px;font-size:12px">
1.3.6.1.4.1.935.1.1.1.3.2.1</td>
</tr></tbody></table><div><table style="margin:0px;padding:0px;color:rgb(80,80,80);font-family:Tahoma,Verdana,Arial,sans-serif;font-size:12px;font-style:normal;font-variant:normal;font-weight:100;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" bgcolor="#ebebeb" border="0" hspace="0" width="100%">

<tbody style="margin:0px;padding:0px"><tr style="margin:0px;padding:0px" bgcolor="#DCDCDC"><td style="margin:0px;padding:0px;font-size:12px">upsSmartOutputLoad</td><td style="margin:0px;padding:0px;font-size:12px">1.3.6.1.4.1.935.1.1.1.4.2.3</td>

</tr></tbody></table><div><br></div></div></div></div></div><div>(Ideally we would include everything the UPS offers, but this should be enough for basic monitoring and shutdown.)</div><br></div></blockquote></div>These parameters are more than enough, even upsBaseBatteryStatus, upsBaseOutputStatus, upsSmartOutputLoad - is all we need. And maybe traps, to know when UPS goes on battery, online etc.<br>

</div><div class="gmail_extra">As I wrote earlier, snmpget commands are working fine "snmpget -v 1 -c public 10.200.254.39  .1.3.6.1.4.1.935.1.1.1.4.1.1" returning correct results:<br><br>XPPC-MIB::upsBaseOutputStatus.0 = INTEGER: onLine(2)<br>

<br></div><div class="gmail_extra"><br></div></div>
</blockquote><br></div></div><div>I would like to take this opportunity to make sure that gen-snmp-subdriver is working, so can you please run the following commands:</div><div><br></div><div><div dir="ltr"><div class="gmail_extra">
snmpget -v 1 -c public  -On 10.200.254.39  .1.3.6.1.4.1.935.1.1.1.1.1.1 1.3.6.1.4.1.935.1.1.1.4.1.1 1.3.6.1.4.1.935.1.1.1.2.2.2 1.3.6.1.4.1.935.1.1.1.2.2.4 1.3.6.1.4.1.935.1.1.1.3.2.1 1.3.6.1.4.1.935.1.1.1.4.2.3</div></div>
</div><div><br></div>snmpget -v 1 -c public  -Os 10.200.254.39  .1.3.6.1.4.1.935.1.1.1.1.1.1 1.3.6.1.4.1.935.1.1.1.4.1.1 1.3.6.1.4.1.935.1.1.1.2.2.2 1.3.6.1.4.1.935.1.1.1.2.2.4 1.3.6.1.4.1.935.1.1.1.3.2.1 1.3.6.1.4.1.935.1.1.1.4.2.3<div>
<br></div><div>The output of snmpwalk is very close to the output of snmpget with multiple OIDs, so hopefully this works.</div><span class=""><font color="#888888"><div><div><br></div></div></font></span></div></blockquote>
</div><br></div><div class="gmail_extra">Yes, this works fine:<br>snmpget -v 1 -c public -On 10.200.254.39 .1.3.6.1.4.1.935.1.1.1.1.1.1 .1.3.6.1.4.1.935.1.1.1.2.1.1 .1.3.6.1.4.1.935.1.1.1.2.2.1 .1.3.6.1.4.1.935.1.1.1.2.2.3 <br>
<br>.1.3.6.1.4.1.935.1.1.1.1.1.1.0 = STRING: "Intelligent"<br>.1.3.6.1.4.1.935.1.1.1.2.1.1.0 = INTEGER: batteryNormal(2)<br>.1.3.6.1.4.1.935.1.1.1.2.2.1.0 = INTEGER: 100<br>.1.3.6.1.4.1.935.1.1.1.2.2.3.0 = INTEGER: 270<br>
<br></div><div class="gmail_extra">snmpget -v 1 -c public -On 10.200.254.39 .1.3.6.1.4.1.935.1.1.1.3.2.1 
.1.3.6.1.4.1.935.1.1.1.4.1.1 .1.3.6.1.4.1.935.1.1.1.4.2.1 
.1.3.6.1.4.1.935.1.1.1.4.2.2 .1.3.6.1.4.1.935.1.1.1.4.2.3 <br><br>.1.3.6.1.4.1.935.1.1.1.3.2.1.0 = INTEGER: 2006<br>.1.3.6.1.4.1.935.1.1.1.4.1.1.0 = INTEGER: onLine(2)<br>.1.3.6.1.4.1.935.1.1.1.4.2.1.0 = INTEGER: 2309<br>
.1.3.6.1.4.1.935.1.1.1.4.2.2.0 = INTEGER: 500<br>.1.3.6.1.4.1.935.1.1.1.4.2.3.0 = INTEGER: 7<br><br>snmpget -v 1 -c public -Os 10.200.254.39 .1.3.6.1.4.1.935.1.1.1.1.1.1 .1.3.6.1.4.1.935.1.1.1.2.1.1 .1.3.6.1.4.1.935.1.1.1.2.2.1 .1.3.6.1.4.1.935.1.1.1.2.2.3 <br>
upsBaseIdentModel.0 = STRING: "Intelligent"<br>upsBaseBatteryStatus.0 = INTEGER: batteryNormal(2)<br>upsSmartBatteryCapacity.0 = INTEGER: 100<br>upsSmartBatteryTemperature.0 = INTEGER: 260<br><br>snmpget -v 1 -c public -Os 10.200.254.39 .1.3.6.1.4.1.935.1.1.1.3.2.1 .1.3.6.1.4.1.935.1.1.1.4.1.1 .1.3.6.1.4.1.935.1.1.1.4.2.1 .1.3.6.1.4.1.935.1.1.1.4.2.2 .1.3.6.1.4.1.935.1.1.1.4.2.3 <br>
upsSmartInputLineVoltage.0 = INTEGER: 1998<br>upsBaseOutputStatus.0 = INTEGER: onLine(2)<br>upsSmartOutputVoltage.0 = INTEGER: 2309<br>upsSmartOutputFrequency.0 = INTEGER: 500<br>upsSmartOutputLoad.0 = INTEGER: 7<br><br></div>
<div class="gmail_extra">Slightly changed the list, took from running snmptranslate for all parameters:<br>snmptranslate -IR -On upsBaseIdentModel upsBaseBatteryStatus upsSmartBatteryCapacity upsSmartBatteryTemperature upsSmartInputLineVoltage upsBaseOutputStatus upsSmartOutputVoltage upsSmartOutputFrequency upsSmartOutputLoad upsSmartControlUpsOff upsSmartControlSimulatePowerFail upsSmartControlFlashAndBeep<br>
</div><div class="gmail_extra">.1.3.6.1.4.1.935.1.1.1.1.1.1<br>.1.3.6.1.4.1.935.1.1.1.2.1.1<br>.1.3.6.1.4.1.935.1.1.1.2.2.1<br>.1.3.6.1.4.1.935.1.1.1.2.2.3<br>.1.3.6.1.4.1.935.1.1.1.3.2.1<br>.1.3.6.1.4.1.935.1.1.1.4.1.1<br>
.1.3.6.1.4.1.935.1.1.1.4.2.1<br>.1.3.6.1.4.1.935.1.1.1.4.2.2<br>.1.3.6.1.4.1.935.1.1.1.4.2.3<br>.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 class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>