Hello I have installed nut with snmp driver. After setting "ignorelb" and "override.battery.runtime.low = 600" in ups.conf my logs are filled: May 29 11:11:34 host snmp-ups[35762]: dstate_setflags: base variable (battery.ru ntime.low) is immutable May 29 11:11:50 host snmp-ups[35762]: dstate_setflags: base variable (battery.ru ntime.low) is immutable May 29 11:12:06 host snmp-ups[35762]: dstate_setflags: base variable (battery.ru ntime.low) is immutable May 29 11:12:22 host snmp-ups[35762]: dstate_setflags: base variable (battery.ru ntime.low) is immutable May 29 11:12:38 host snmp-ups[35762]: dstate_setflags: base variable (battery.ru ntime.low) is immutable I think that is sufficient once after start daemon. Thanks a lot Zdenek
2013-04-04 12:01 GMT+02:00 Zdenek Herman <zdenek@ille.cz>: have you provided a community (or v3 credentials) that allows to write in your MIB? Arno
2014-05-19 23:07 GMT+02:00 Arnaud Quette <aquette.dev@gmail.com>: I forgot to add that, after check, only the APC MIB can export this setting. Others simply report it, but don't allow changes (this may be mixed, if possible, and with some users help!). do you know which MIB you're using? Arno
I'm running a set of dummy-ups repeaters, each with a different battery.charge.low override. Each of those emits an "immutable" message every 2 seconds. This way, not UPS reliability but filesystem capacity becomes a concern. Is there really no way to silence the driver? Thanks, Steffen
Answering myself: There's a trick to drop those messages: In /etc/rsyslog.conf, right before the "message distribution rules", add a single line :msg, contains, "base variable (battery.charge.low) is immutable" ~ and restart rsyslog. Enjoy the silence. - S