This one-liner strips all numbers from any string. I show it in BASH using sed which does a RegEx expression to match only digits. Python has the built-in function str.isdigit() so we test each character and make a list comprehension
Automating Nagios – Overview
This post is a brief introduction of how I setup a system to add, update and remove Nagios configurations as servers are created and destroyed. Future posts detailing each step will be coming soon. Until then you can go to hashicorp.com or nagios.org for
Automating Nagios – Part 2
Now that we have some keys in Consul, we want to get that into a Nagios configuration file using Consul-Template. Consul-Template requires only two files which are used to create a third. hosts.hcl – template configuration hosts.ctmpl – template hosts.cfg –
Automating Nagios – Part 1
In my overview post I showed a key/value structure in Consul that could be used to store metadata on each Node. Now I’ll discusses how to put node metadata into the Consul key-store. For this example we have two web servers in the san
Google Next ’18 Review
Friedman BE-OD Overdrive Pedal Hack
Warning!!! This will void your warranty. This hack replaces the internal gain potentiometer with a case mounted potentiometer that is adjustable outside the case. I used these (https://www.amazon.com/gp/product/B01LZ74KU3) potentiometers mainly because they came with matching knobs. I cut 2mm off