librenms / librenms-agent

LibreNMS Agent & Scripts
GNU General Public License v2.0
116 stars 187 forks source link

cannot add more than two ntp sources for chrony snmp extend functionality with SNMP v3 #439

Open gitterdoneplease opened 1 year ago

gitterdoneplease commented 1 year ago

If chronyd is configured with more than 2 ntp sources snmp responds with:

Error in packet Reason: (tooBig) Response message would have been too large.

Minimum number of sources should be 4-5.

Response from /etc/snmp/chrony is not exceptionally large:

# /etc/snmp/chrony | wc -c 1715

Compared to ZFS for instance:

# /etc/snmp/zfs-linux | wc -c 2059

This is only an issue with snmp v3, v2c works as expected.