SNMP data collection is also broken in the Ubuntu 18.04 cacti package
https://github.com/Cacti/cacti/issues/1634 https://github.com/Cacti/cacti/commit/32f1538a4a382b7b27e2340705e9b034f335ae6e https://github.com/Cacti/cacti/commit/afa01553f574554f782bbed3d2f1efaa355df2d0 https://github.com/Cacti/cacti/commit/9311987e8a22e9c838bc879ff8eceae7abfbeb65
diff to /usr/share/cacti/site:
--- a/lib/snmp.php +++ b/lib/snmp.php @@ -74,6 +74,7 @@ function cacti_snmp_session($hostname, $community, $version, $auth_user, $auth_p $session->valueretrieval = SNMP_VALUE_LIBRARY; }
+ $session->quick_print = false; $session->max_oids = $max_oids;
if (read_config_option('oid_increasing_check_disable') == 'on') { --- a/cmd.php 2020-06-13 08:45:09.660470210 +0000 +++ b/cmd.php 2020-06-13 08:59:50.586094241 +0000 @@ -504,8 +504,7 @@
if (isset($sessions[$host_id . '_' . $item['snmp_version'] . '_' . $item['snmp_port']])) { - $sessions[$host_id . '_' . $item['snmp_version'] . '_' . $item['snmp_port']]->quick_print = true; - $output = cacti_snmp_session_get($sessions[$host_id . '_' . $item['snmp_version'] . '_' . $item['snmp_port']], $index_item['arg1'], true); + $output = cacti_snmp_session_get($sessions[$host_id . '_' . $item['snmp_version'] . '_' . $item['snmp_port']], $index_item['arg1']); } else { $output = 'U'; }
SNMP data collection is also broken in the Ubuntu 18.04 cacti package
https:/ /github. com/Cacti/ cacti/issues/ 1634 /github. com/Cacti/ cacti/commit/ 32f1538a4a382b7 b27e2340705e9b0 34f335ae6e /github. com/Cacti/ cacti/commit/ afa01553f574554 f782bbed3d2f1ef aa355df2d0 /github. com/Cacti/ cacti/commit/ 9311987e8a22e9c 838bc879ff8ecea e7abfbeb65
https:/
https:/
https:/
diff to /usr/share/ cacti/site:
--- a/lib/snmp.php session( $hostname, $community, $version, $auth_user, $auth_p
$session- >valueretrieval = SNMP_VALUE_LIBRARY;
+++ b/lib/snmp.php
@@ -74,6 +74,7 @@ function cacti_snmp_
}
+ $session- >quick_ print = false;
$session- >max_oids = $max_oids;
if (read_config_ option( 'oid_increasing _check_ disable' ) == 'on') {
--- a/cmd.php 2020-06-13 08:45:09.660470210 +0000
+++ b/cmd.php 2020-06-13 08:59:50.586094241 +0000
@@ -504,8 +504,7 @@
- $sessions[$host_id . '_' . $item['
- $output = cacti_snmp_
+ $output = cacti_snmp_