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[…]

Monitoring APCUPSD using Check_MK

This is based on a Check_MK plugin downloaded from the Github Repo below. Firstly, clone the repository from Github and browse to the directory (On your Check_MK Server): git clone https://github.com/michalskalski/cmk-apcupsd.git cd cmk-apcupsd Now install the plugin: check_mk -P install cmk-apcupsd-1.0.mkp Now download the plugin from the Check_MK agents page from your Monitoring server (See Read more about Monitoring APCUPSD using Check_MK[…]

Setting up Website monitoring in Check_MK

This post assumes you are happy configuring your Check_MK monitoring through the /etc/check_mk/main.mk configuration file.. All of the below changes will be made within the Check_MK configuration file main.mk. Open up this file and create (or add to) the following sections – If you do not have the sections already you can simply include the Read more about Setting up Website monitoring in Check_MK[…]

Monitoring Specific Windows Services in Check_MK

The easiest way I have found to monitor Specific Windows Services across your Windows Hosts is as below. Add a section in your main.mk file as below, each line listing the actual Windows Service that you are after (Eg DHCP Server: DHCPServer, pulled from Windows services.msc) nano /etc/check_mk/main.mk inventory_services = [ ‘WsusService’, ‘WINS’, ‘VMTools’, ‘Spooler’, Read more about Monitoring Specific Windows Services in Check_MK[…]

Setting Check_MK windows_tasks plugin ‘running’ to OK

How to adjust the windows_tasks Windows Check_MK plugin to set the status for Windows Tasks as OK when they are running. All that is required to accept ‘running’ as an OK state will be to add state code 267009 as an accepted state in the Check_MK windows_tasks file. To do this, simply replace the section Read more about Setting Check_MK windows_tasks plugin ‘running’ to OK[…]

Check_MK Custom Host Icon with Link to Mediawiki Page

This guide can obviously be adjusted to suit your setup, though is a guide to create a custom ‘Website’ Icon on each of your Check_MK hosts to link to a Mediawiki page. I currently have my mediawiki server with a separate page created for each server that I manage, this has worked out well as Read more about Check_MK Custom Host Icon with Link to Mediawiki Page[…]

Monitoring HP MSA 2000 with Nagios / Check_MK

A guide on using Check_MK and nagios to monitor HP MSA 2000 Firstly create a file /scripts/check-msa.php with the below script and make it executable. NB: I did not make this script, it was found on the Check_MK exchange – Will post a link when I locate this again. nano /scripts/check-msa.php #!/usr/bin/php <?php /*Nagios Exit codes     Read more about Monitoring HP MSA 2000 with Nagios / Check_MK[…]

Monitoring Vmware Esxi Host / Vcenter server on Check_MK

How to configure ESXI monitoring via your main.mk file in Check_MK In order for your Centos server to properly speak to Vcenter servers you will need to install the pysphere package. This can be downloaded from github as follows: Browse to https://github.com/argos83/pysphere – From here you can download a zip file with all of the required Read more about Monitoring Vmware Esxi Host / Vcenter server on Check_MK[…]

Monitoring HP SmartArray hpacucli utility

How to monitor your HP SmartArray status from your Check_MK installation Firstly you will need to create a script to speak to your linux server with the hpacucli utility installed from your Nagios / Check_MK server. Please change the 4th line to your server hostname in Check_MK mkdir -p /scripts/ nano /scripts/raid-monitoring #!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin PROGPATH=/usr/lib/nagios/plugins hpacucli=”ssh Read more about Monitoring HP SmartArray hpacucli utility[…]