Monitoring Windows Server Backup with Check_MK (Server 2008 R2)

Below Powershell script will monitor Windows Server backups with Check_MK. Prerequisits: Before starting – You must install Windows Server Backup Features Command Line Tools. To do this, open up Server Manager and go to Features > Add Features In the Add Features menu, expand “Windows Server Backup Features” and ensure “Command-Line tools” is enabled, if Read more about Monitoring Windows Server Backup with Check_MK (Server 2008 R2)[…]

Backing up Elasticsearch Daily using Elasticdump

I found the Elasticsearch snapshot functionality not very easy to use so once again fell back to using the npm package Elasticdump to complete my Daily Elasticsearch backups. Note: This script relys on you creating new Elasticsearch indexes each day for your Elasticsearch data. See how to do that here. For the purposes of this Read more about Backing up Elasticsearch Daily using Elasticdump[…]

Storing Logstash to export Elasticsearch data to a new “Per day” index

After using Elasticsearch for some time – I realised after a while that my Indexes were becoming huge and Indexes took a long time to load via Kibana. I have now implemented the below changes within my Logstash configuration, to export to Elasticsearch on a per-day basis. This ensures that Indexes never grow too large Read more about Storing Logstash to export Elasticsearch data to a new “Per day” index[…]

Backup and Restore in Plone 5

Backing up the Server: The easiest way to backup a Plone instance is via available packages – Add the below to your buildout.cfg and rerun buildout to apply: parts = backup [backup] recipe = collective.recipe.backup sudo -u plone_buildout bin/buildout Now you must run a backup – I do this nightly via a cron job with Read more about Backup and Restore in Plone 5[…]

Check_MK Parent/Child configuration for AWS VPC VPN

This solution was required on a network where there was a Pfsense Gateway with dual IPsec Tunnels to an Amazon VPC. Each time there was a VPN outage (Either caused by broadband failure at the office, or Amazon maintenance) there was over 200 notification emails sent (For servers being inaccessible then accessible again from the Read more about Check_MK Parent/Child configuration for AWS VPC VPN[…]

Script to modify htpasswd without Apache

This is a handy script I have written for an environment where I needed to modify a htpasswd file without Apache being installed on the server (Where openssl is installed). The script first verifies if the new user exists already, if it does it will delete the line containing the username first before creating the Read more about Script to modify htpasswd without Apache[…]