Code: Select all
04/07/2021 10:50:01 - POLLER: Poller[1] Device[3] DS[32] ERROR: Invalid SNMP Data Source. Please either delete it from the database, or correct it.
04/07/2021 10:50:01 - POLLER: Poller[1] Device[3] DS[32] TT[0.06] SNMP: v0: 127.0.0.1, dsname: cache_objects, oid: .1.3.6.1.4.1.3495.1.3.1.7.0, output: U
Code: Select all
725 if (($item['snmp_version'] == 0) || (($item['snmp_community'] == '') && ($item['snmp_version'] != 3))) {
726 cacti_log("Device[$host_id] DS[$data_source] ERROR: Invalid SNMP Data Source. Please either delete it from the database, or correct it.", $print_data_to_stdout, 'POLLER');
727 $output = 'U';
728 }else {
I have opened the give datasource (/data_sources.php?action=ds_edit&id=32) and clicked on "Edit Data Template" in top right corner and that is what I see: so SNMP Version is defined but does not find it's way to $item['snmp_version']. Note that in Configuration → Settings → Device Defaults tab → SNMP Defaults → Version I don't have the version set, but above should work fine without it being set.
P.S. I have rerun Utilities → System Utilities → Rebuild Poller Cache but the issue is still there.