Skip to content

Instantly share code, notes, and snippets.

View tsettle's full-sized avatar

Troy Settle tsettle

View GitHub Profile
@tsettle
tsettle / GNS3 Server on Debian.md
Last active April 25, 2022 17:17
GNS3 Server on Debian

GNS3 Server on Debian

Generally speaking, this was a rather annoying process to figure out, but between the official GNS3 documentation and more than a few Google searches for other information, I finally managed to figure it all out. I hope someone can tell me an easier way to do this, but for now, here's how I did it.

Install Debian Server

Not much to say here... I did a vanilla install

@tsettle
tsettle / nagios-teams.sh
Created June 13, 2021 02:35
Bash script to send notifications from Nagios to MS Teams
#!/bin/bash
#
# It is what it is. Might be some better ways to do some things, but
# I never claimed to be a proficient at shell scripts.
#
# Enjoy.
#
NAGIOS_URL="undefined"
WEBHOOK_URL="undefined"
@tsettle
tsettle / CIDR.php
Last active September 1, 2018 11:50 — forked from jonavon/CIDR.php
CIDR class for IPv4
<?php
/**
* CIDR.php
*
* Utility Functions for IPv4 ip addresses.
* Supports PHP 5.3+ (32 & 64 bit)
* @author Jonavon Wilcox <jowilcox@vt.edu>
* @revision Carlos Guimarães <cvsguimaraes@gmail.com>
* @version Wed Mar 12 13:00:00 EDT 2014
*/