Skip to content

Commit

Permalink
SNMP Uptime is not always ignored for spikekills (#5355)
Browse files Browse the repository at this point in the history
Closes #5355
  • Loading branch information
netniV committed Jun 8, 2023
1 parent cf424c7 commit 09f0eba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Cacti CHANGELOG
-issue#5342: Increase keyup delay when searching the tree
-issue#5347: Device form location drop down not populating
-issue#5354: Realtime graphs can report undefined variable
-issue#5355: SNMP Uptime is not always ignored for spikekills
-feature: Upgrade billboard.js to version 3.7.4
-feature: Upgrade d3.js to version 7.8.2

Expand Down
2 changes: 1 addition & 1 deletion cmd.php
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ function ping_and_reindex_check(&$item, $mibs) {

// spike kill logic
if (($assert_fail) &&
(($index_item['op'] == '<') || ($index_item['arg1'] == '.1.3.6.1.2.1.1.3.0'))) {
(($index_item['op'] == '<') || ($index_item['arg1'] == '.1.3.6.1.2.1.1.3.0' || $index_item['arg1'] == '.1.3.6.1.6.3.10.2.1.3.0'))) {
// don't spike kill unless we are certain
if (!empty($output)) {
$set_spike_kill = true;
Expand Down

0 comments on commit 09f0eba

Please sign in to comment.