I tend to run the same SNMP probes on multiple devices quite often. The devices
are always the same, the OIDs change. To simplify this I created a small Python
script running the commands in a tmux session.
However, there seems to be a small bug/annoyance in tmux which …
While I first intended to create the matrices manually, it
turned out to take too much time if I wanted to reproduce the exact same error
as happened in the unit-tests.
So in order to create the matrices used in the earlier blog-posts, I used the
script at the end …
Here we go again...
After further analysis (the trial & error kind), I found out that the error of
modified values only occurs in unsorted data. Which makes perfect sense as
Python's list.remove picks the first matching item. So the ordering of
data plays a role.
As a quick fix …