Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A collection of scripts and tools to assist in monitoring Mac OS X and essential services with Nagios.
Shell Objective-C C
branch: master
Failed to load latest commit information.
check_osx_mem Added check_osx_smc.
check_osx_smc Added check_osx_smc.
LICENSE Added an unlicense.
README.md Update README.md
check_apc_smt750_battery.sh Minor text changes
check_apns_reachability.sh Updated README.
check_ccc_currency.sh Fixed a weird tab spacing issue in the comments.
check_certificate_expiry.sh Fixed script to throw proper critical error if a vert cannot be loade…
check_crashplan_currency.sh Updated backup check scripts.
check_crashplan_currency_gnu.sh Updated backup check scripts.
check_daylite_postgres.sh Added to verify Daylite has some Postgres daemons spawned
check_file_age.sh Initial commit.
check_folder_size.sh Updated and tested with OS X Mavericks
check_kerio_connect_stats.sh Added some timing padding to ensure reset occurs.
check_od_auth.sh Added check_certificate_expiry, and check_osx_hostname.
check_od_bdb.sh Fixed error.
check_od_bind.sh Added check_certificate_expiry, and check_osx_hostname.
check_od_status.sh Updated and tested with OS X Mavericks
check_osx_caching.sh Minor tab formatting changes
check_osx_dhcp.sh Added check_osx_dhcp.sh
check_osx_hostname.sh Added forward/reverse lookup of the hostname and IP address (by @jedda)…
check_osx_launchd.sh v1.1 - Cleaned up the output to provide a last backed up date. Error …
check_osx_swupdate.sh Added check_osx_swupdate.sh.
check_radius.sh Minor comment additions
check_smart.sh Remove whitespace from the end of the temperature string
check_ssl_certificate_expiry.sh Added commonName return for certificate
check_ssl_certificate_expiry_gnu.sh Updated with commonName from cert output
check_time_machine_currency.sh Minor tab changes
notify_by_boxcar.sh Changed communication to HTTPS.
notify_by_pushover.sh v1.2.1 - Now parses title and message for sound processing.

README.md

Mac OS X Monitoring Tools

A collection of scripts and tools to assist in monitoring Mac OS X and essential services with Nagios.

Overviews and use cases for a lot of these can be found in posts at my site: http://jedda.me

Services

Some of the features of these scripts include:

  • Checking the currency of backups with Time Machine, CrashPlan, and Carbon Copy Cloner
  • Checking memory utilization on Mac OS X
  • Checking SMC sensors (temperatures/fans) on Apple hardware
  • Checking the health of Open Directory masters and replicas on Mac OS X Server
  • Checking Open Directory binding & authentication
  • Checking the status of tasks scheduled or executed by launchd
  • Checking certificate expiry on Mac OS X Server
  • Checking DHCP & Software Update services on Mac OS X Server
  • Checking Kerio Connect statistics & performance data
  • Native (no perl, no python) file age check
  • Notify via popular notifications platforms Boxcar & Pushover
  • & more!

These scripts and tools were specifically designed to be dependency free, so in the case of all but one or two, they will run on a stock Mac OS X client/server system from 10.4+ onwards. Most of them are pure BASH, with a few Obj-C exceptions that will need to be compiled prior to use.

Support & Feedback:

The project's Issues Tracker is the best place to let me know of any specific issues or bugs that you find. I am more than happy to chat about ideas on integrating these scripts into your environment - feel free to send me an email (jedda@jedda.me), or contact me with iMessage or AIM (jwignall@mac.com).

License:

This is free and unencumbered software released into the public domain - see LICENSE (http://unlicense.org/)

Bitdeli Badge

githalytics.com alpha

Something went wrong with that request. Please try again.