indigoparadox / monitoring_plugins

Plugins for systems monitoring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Various systems monitoring plugins we've written for our environment.

Check_MK

mk_git

Monitors specified git respository directories and changes status if files are modified or added.

Configuration: WATO

Create a new rule for git repository changes under operating system service monitoring rules in order to change thresholds for number of files to cause warning/critical status.

Configuration: Agent

File Description
$MK_CONFDIR/mk_git.cfg Defines the configuration variables below.
Variable Description
$MK_GIT_DIRS Space-separated list of git repository directories to monitor.

default_tr

Monitors default route and ensures that a particular router hop is present.

Configuration: WATO

Create a new rule for Default route to arbitrary destination under operating system service monitoring rules in order to specify the hop name to monitor for.

TODO

  • Move hop target (currently google.com) into agent configuration.
  • Change rule category to network.

mk_weewx

Monitors WeeWX weather monitoring database and makes sure that the latest update is recent.

Configuration: Agent

File Description
$MK_CONFDIR/mk_weewx.secret Plain text file with the password for the database.
$MK_CONFDIR/mk_weewx.cfg Defines the configuration variables below.
Variable Description
$WEEWX_DB_HOST Hostname for the WeeWX MySQL host.
$WEEWX_DB_USER Username for the WeeWX MySQL account.
$WEEWX_DB Name of the WeeWX database in MySQL

About

Plugins for systems monitoring

License:GNU Lesser General Public License v2.1


Languages

Language:Python 63.0%Language:Shell 37.0%