<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On Mar 31, 2015, at 9:07 AM, Jason Gould <<a href="mailto:jgould@cddiagnostics.com">jgould@cddiagnostics.com</a>> wrote:<br><div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I missed that snmp-ups set pollfreq to 30 by default. I’d hope that it would set deadtime to an appropriate value as well than, no? Is there a way to query what the settings are or what the defaults are?</span></div></div></div></blockquote><div><br></div><div>There is a TODO comment in snmp-ups that mentions doing something similar to usbhid-ups: just poll the important status OIDs every two seconds (pollinterval), and fill in the rest every 30 (pollfreq).</div><div><br></div><div>The configuration files have the default values listed in the comments: <a href="https://github.com/networkupstools/nut/tree/master/conf">https://github.com/networkupstools/nut/tree/master/conf</a></div><div><br></div><blockquote type="cite"><div lang="EN-US" link="blue" vlink="purple" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);">I’m going to set POLLFREQ=30 and DEADTIME = 90 and see if that has any effect. I’ll check for the logs. And if that doesn’t get my anywhere I’ll look at trying to simulate with snmpwalk like you mentioned.<o:p></o:p></span></div></div></div></blockquote><div lang="EN-US" link="blue" vlink="purple" style="orphans: auto; text-align: start; text-indent: 0px; widows: auto;"><div class="WordSection1" style="page: WordSection1;"><div style="font-family: 'Times New Roman', serif; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0in 0in 0.0001pt;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"> </span></div><div style="margin: 0in 0in 0.0001pt;"><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size: 11pt;">DEADTIME is a setting in upsmon.conf, versus the driver.</span></font></div><div style="font-family: 'Times New Roman', serif; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0in 0in 0.0001pt;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);"><br></span></div></div></div></div><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div>-- </div><div>Charles Lepple</div><div>clepple@gmail</div><div><br></div></span><br class="Apple-interchange-newline">

</div>
<br></body></html>