Skip to content

Instantly share code, notes, and snippets.

View bsmeding's full-sized avatar

Bart Smeding bsmeding

View GitHub Profile
@bsmeding
bsmeding / cisco_cve_checker.py
Last active March 1, 2025 09:42
Cisco CVE checker for Ansible
#!/usr/bin/python
from ansible.module_utils.basic import AnsibleModule
import requests
import time
# Place this file under /library/cisco_cve_checker.py
# Ansible task to fetch Cisco CVE items for specific version
#
@bsmeding
bsmeding / nautobot-docker-compose.yml
Last active August 31, 2025 20:34
Nautobot docker-compose for testing and/or development of jobs
version: '3.8'
services:
nautobot:
# image: networktocode/nautobot:stable
# image: bsmeding/nautobot:2.1.9-py3.11
container_name: nautobot
image: &shared_image bsmeding/nautobot:2.4
depends_on:
@bsmeding
bsmeding / guacamole_docker.conf
Last active January 28, 2022 13:02
guacamole jail and filter for fail2ban
# Fail2Ban configuration file for guacamole
#
# Author: Steven Hiscocks
# Changed by: Bart Smeding - adding new logging option when guacamole runs in a docker and fail2ban on the host.
# Set logging to `docker_container`
#
# Example of jail.d\guacamole.conf:
# [guacamole]
#
# enabled = true
@bsmeding
bsmeding / netbox-graph.php
Created June 16, 2020 11:44 — forked from netaviator/netbox-graph.php
Display interface graphs in Netbox fetched from LibreNMS.
<?php
/*
* Display LibreNMS interface graphs in Netbox
*
* 1. Upload this file into the plugin folder of LibreNMS.
* 2. Generate an API key in LibreNMS and insert the connection details below.
* 3. Create graphs in Netbox using the following URL scheme.
* https://nms.level66.network/plugins/netbox-graph.php?device={{ obj.device.name }}&interface={{ obj.name }}&duration=8h
* 4. Save time in your daily work!
*
@bsmeding
bsmeding / ansible-summary.md
Created January 8, 2018 20:09 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of