Overriding Nagios NRPE Tests with Consul and Consul-Template
Overview Nagios Core Server combined with the Nagios Remote Plugin Executor (NRPE) Server allows Nagios to execute remote plugins on client servers. This post discusses automated ways to override the default plugin tests and parameters. Assumptions This post assumes you
Automating Logstash Configurations With Consul-Template
Consul and Consul-Template are two powerful tools for updating server files and executing a command after the file has been updated. This makes it a great and lightweight tool for managing configuration files for applications that need to reload or restart after
D3 Data
sel.datum(aryData) vs. sel.data(aryData) .datum() gives aryData to all elements in the selection. .data() gives one unique array value in aryData to each element in the selection (i.e. .update()). It also has .enter() and .exit() as methods. Example Here’s the data we’ll
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