Closed LukaszMoskala closed 4 years ago
Hi @LukaszMoskala You should also document this in LibreNMS (linked to this PR) so we can merge it all at once. Thx
Hi @PipoCanaja, You mean that I should update doc at https://github.com/librenms/librenms/blob/master/doc/Extensions/Applications.md, create pull request, and mention that pull request here? Thanks
Yes
Done. Updated documentation in librenms/librenms#11083
Just FYI, this is built in to snmpd: snmpset -v2c -c secret localhost 'NET-SNMP-EXTEND-MIB::nsExtendCacheTime."osupdate"' i 3000
I didn't know that. That seems like much better solution.
Thanks
Hi,
I modified osupdate script a little to only execute package manager every 5 hours. This is usefull on older hardware, where executing this script every 5 minutes caused significant resources usage.
Maybe this will be usefull for someone.