Repo with my Network Automation and/or Python scripts, Examples for "Custom Links" in Netbox to other applications by API calls, and so on.
Folder ansible
conatins examples and code fragments for Cisco, Netbox and Ansible.
Folder netbox
conatins examples and code fragments for Netbox, Snipe-IT, LibreNMS.
This backup script gets it's devices from Netbox, does a backup with CLI/pexpect and checks in into a gitlab repo. Details at:
Part One: Backup2Git: Cisco configuration backup with Netbox and Gitlab
Part Two: Backup2Git: Low Level Device functions for backup with Netbox and Gitlab
Part Three: Backup2Git: Check in of configuration files to a Gitlab server
Integration of Snipe-IT Asset Management into Netbox DCIM/IPAM as Custom Link with a PHP script and using Snipe-IT API call. Runs on Snipe-IT server. Details at: Custom links in Netbox for Snipe-IT Asset Management
Integration of Snipe-IT Asset Management into Netbox DCIM/IPAM as Custom Link in Python. Calls API for hardware (Snipe-IT) / device (NetBox) and location (Snipe-IT) / site (NetBox). Requires CGI module (a2enmod cgid) and apache web server config for CGI on NetBox server. Details at: Netbox Custom Links for Snipe-IT and LibreNMS
Integration of LibreNMS Monitoring into Netbox DCIM/IPAM as Custom Link in Python. Calls API for devicegroup (LibreNMS) / site (NetBox). Requires CGI module (a2enmod cgid) and apache web server config for CGI on NetBox server. Details at: Netbox Custom Links for Snipe-IT and LibreNMS
Python version of MrXermon/netbox-graph.php
Python script to look up Asset tags in Snipe-IT with a generated QR code.Details at: Looking up asset tags in Snipe-IT with QR code
Simple DMARC DKIM SPF quick test. This script tests a domain for DMARC, DKIM and SPF records. To perform the test, the DKIM selector need to be extracted from an email. To see the DKIM selector you can send an email to yourself and look it up in the headers.
Small Python script to quick test DMARC DKIM and SPF records