Selecting Pynetbox Version

If you have: And you need: Then you need to use: Because: NetBox 3.2.0 or newer /api/ipam/vlan-groups/<id>/available_vlans pynetbox 6.5.0 or newer Feature was added in NetBox 3.2 (not yet released) NetBox 3.1.1 or newer /api/ipam/prefixes/<id>/available_ips (or _prefixes) pynetbox 6.4.1 or newer NetBox behaviour was changed, pynetbox was updated to support that NetBox 3.1.0 or newer […]

Moving Zabbix Database

In the series “why wouldn’t I put this out public instead of just saving it to my own notes”: Moving the Zabbix database to a new database server. Old server: Debian Linux 9, running MariaDB 10.1.48 New server: Debian Linux 11, running MariaDB 10.5.12 (from Debian packaging) Zabbix (5.0.19 LTS) frontend is running on Apache […]

PowerShell Memos

This post contains some of my various and continuous memos for exploring and learning PowerShell. These are not organized in any particular order. Get-Alias (no explanation needed) Get-Command: Use when unsure which commands are available Get-Member: Shows the methods and properties of an object. Also shows the object type. Example: PS C:\> $name = “Markku” […]

Comparing Version Numbers in Python

The distutils module is going to be deprecated in Python 3.10, and to be removed in Python 3.12. Hence, my current standard way of comparing version number strings is using pkg_resources module (part of setuptools): >>> from pkg_resources import parse_version as version >>> version(“1.0”) <Version(‘1.0’)> >>> version(“1.8.9”) < version(“2.0”) True >>> version(“2.0.9”) < version(“2.1”) True […]

Customizing Wireshark Settings

I’ve done countless troubleshooting sessions so that I’m having Wireshark open with a relevant capture file and either I’m showing my findings to the other participants or doing straight up live packet analysis. Sometimes the sessions are followed up with questions about how did I actually have Wireshark configured because it looked different on their […]

Git Configurations

I use Git almost daily but I need my memos for the uncommon operations. Therefore the posts: Part 1: Git Configurations (this post) (more to come) When I’m using Git I need to first configure it. Well, strictly speaking, if I’m only going to clone some repository I don’t need to especially configure Git, but […]