/Basic-Tools

Basic Tools that should make your life easier

Primary LanguagePython

Note for Windows users

It might, it might'nt work. There's a little leeway for Cygwin somewhere in the code but don't expect it to work out of the box. Pull Requests are welcome!

Basic Tools

Basic Tools that should make your life easier.

Usually there's a help/usage screen if you run them without parameters.

flaplogger

Takes a host/ip that it then logs to screen when it tries to ping and whether it succeeded or not. Not updated since 2016 and not tested either. YMMV.

multitester

Tool that pings, curls and netcats the target domain or IPv4 IP. No consideration made for IPv6, currently.
It also verifies A og PTR records on the way through.

Tries to guess the relevant ping flags based on your system, but not sure how extremely weird systems will affect it, e.g. Cygwin but with GNU ping.

Example: multitester.sh google.com

CleanShot 2021-03-24 at 12 38 13

ottomator

Script that uses clogin from Shrubbery Networks' rancid to throw a bunch of commands to a bunch of devices based on filenames. Very simple.

pingu

Pings a host and gives you a status at a set interval. Logs to a file. Interval defaults to 5 seconds.

up

up-yours is a simple script that assumes that the last command line argument is a target host/ip that is down.
It continually pings the host until it gets a reply, after which it runs the entire command after its invocation, e.g. up ssh -l root 10.20.30.40.

databasebackup

Dumps/extracts a MySQL/MariaDB database and zips the contents. Here Be Dragons: Hard coded paths and variables exist, so be careful. Expects a password in a (hardcoded) file.