Skip to content

Commit

Permalink
SNMP Util meter ID mismatch, one extra DONTCARE -1 field was present,…
Browse files Browse the repository at this point in the history
… fixed
  • Loading branch information
trisulnsm committed Jul 25, 2023
1 parent 3b29a91 commit 510cf7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions analyzers/snmppoll/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ UPDATES
=======

````
1.0.5 Jul 25 2023 SNMP Interface util meter ID mismatch ,
1.0.3 Nov 19 2022 Added utilization and resolver_guid as FlowIntfs, added cg monitor to compute
SNMP interface utilization based on ifSpeed numbers from the Netflow Interface
counter group
Expand Down
2 changes: 1 addition & 1 deletion analyzers/snmppoll/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: SNMP Poller

version: 1.0.4
version: 1.0.5

author: trisul

Expand Down
2 changes: 1 addition & 1 deletion analyzers/snmppoll/snmp-interface-util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ TrisulPlugin = {
local xmitutil = (metrics[3] * 8 * 100 ) / nspeed
engine:update_counter("{9781DB2C-F78A-4F7F-A7E8-2B1A9A7BE71A}", key, 3, recvutil)
engine:update_counter("{9781DB2C-F78A-4F7F-A7E8-2B1A9A7BE71A}", key, 4, xmitutil)
return true, { -1, -1, -1, -1, recvutil, xmitutil } -- -1 will not touch the metric
return true, { -1, -1, -1, recvutil, xmitutil } -- -1 will not touch the metric
end
end

Expand Down

0 comments on commit 510cf7e

Please sign in to comment.