<div dir="ltr"><div>As the man pages say, `pollinterval` is about primarily `ups.status`.</div><div><br></div><div>Other values may be scanned as rarely as `pollfreq` in drivers that support it (hopefully named consistently). Certain drivers or their options allow for interrupt-based activity vs. "pollonly" mechanism, which has its upsides (reactivity) and downsides (does not work for each and every OS/HW combo).<br></div><div><br></div><div>The `snmp-ups` for example also supports "semi-static" values like location which are updated, but very infrequently.</div><div><br></div><div>Jim</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 9, 2023 at 7:07 PM Greg Troxel <<a href="mailto:gdt@lexort.com">gdt@lexort.com</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">Mike via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a>> writes:<br>
<br>
> I have an APC SmartUPS 3000 RM monitored via NUT.  I was planning to use<br>
> collectd or some such to poll the values (voltage, battery level, etc)<br>
> from UPSC.  I was just curious as to how oftem that data gets updated?<br>
> One thing I'm quite interested in measuring is how the utility voltage<br>
> changes over time, so I'd like to poll upsd as often as I can but there<br>
> seems little point in doing so if the driver is not polling the UPS that<br>
> often!  Does anyone know how often the APC driver polls the UPS for<br>
> things like line voltage?<br>
<br>
In general upsc will show<br>
<br>
  driver.parameter.pollinterval: 1<br>
<br>
that's on bestfortress that I set to 1 instead of 2.<br>
<br>
As to whether all params are received every poll interval, good question<br>
and I'd read the source, but just log and plot for a while and it should<br>
be easy to tell.<br>
<br>
Utility voltage likely varies over daily timescales, seconds due to big<br>
loads and ms-level due to faults.   The latter is basically not<br>
observable with nut monitoring.   I've been logging this, but I log<br>
once/minute and also once/second log only if the data is interesting<br>
relative to last log.  This is to get prompt monitoring detection of low<br>
(as in 0) line voltage.<br>
<br>
_______________________________________________<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>