/check-mk-checks

Additional checks for Check_MK

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

check-mk-checks - Checks for Check_MK

Some additional checks for http://mathias-kettner.de/check_mk.html

They all feature automatic inventory, Perf-o-Meter and documentation

Included checks

SNMP

  • brocade_bgp
  • brocade_cpu
  • brocade_fan
  • brocade_mem
  • brocade_psu
  • brocade_temp
  • brocade_bfd

Supported devices

According to the MIB official documentation of Brocade (Unified IP - MIB Reference), the following devices are supported by these checks:

Brocade FastIron and TurboIron devices running software release 07.2.02 and later:

  • Brocade FastIron Edge Swich X Series
  • Brocade FastIron SX 800 and FastIron SX 1600
  • Brocade FastIron SuperX
  • Brocade FastIron GS and FastIron GS-STK
  • Brocade FastIron LS and FastIron LS-STK
  • Brocade FastIron WS
  • Brocade FCX
  • Brocade ICX
  • Brocade TurboIron

Brocade NetIron devices running Multi-Service IronWare release 05.2.00 and later:

  • Brocade MLX
  • Brocade MLXe
  • Brocade NetIron XMR
  • Brocade NetIron CES
  • Brocade NetIron CER series

Agent

  • not yet available

How to use them

Just run rake prepare[0.1] and rake build[check-mk-checks]. This creates a Debian package which can be easily deployed to the monitoring server.

Change the paths according to your system in config.yml

All checks are documented. Run cmk -M to see the documentation.

Rake jobs

  • prepare[version]: Copies files to their correspoding place under "workdir" (needed for FPM). version = package version

  • build[packagename]: Builds a Debian Package called packagenamewith FPM

  • prepareomd[sitename]: Copies the file to the correct place in an OMD structure

  • clean: Remove files and dirs created by prepare

  • The Rakefile is only used to create a Debian package with FPM, you don't need to use it for running the checks. Just copy them to the correct place on your system.

Check_MK Package (MKP)

  • Create a OMD site
  • Login as site user: su - siteuser
  • Clone this repository and run rake prepareomd[sitename]
  • Run cmk -Pv find to check which files will be included
  • Run cmk -Pv create <packagename> to prepare the MKP package
  • Edit ~/var/check_mk/packages/<packagename> and change all params
  • Run cmp -Pv pack <packagename> to finally create the package

Credits

All checks are inspired by the original distributed checks. Credits to the writer of them.

License / Author

The checks are written by

Licensed under GNU GPL, Copyright 2013 Tobias Brunner

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.