Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
This python script utilizes Marcel Bresink’s Hardware Monitor software to check the values of the sensors in Apple hardware such as the Apple Xserve.
Current Version
Last Release Date
June 4, 2009
Owner
Nagios Exchange
Website
http://technosavvy.org/
Compatible With
Python script to check built-in sensors on Apple hardware
Unfortunately, Apple's doesn't provide very robust SNMP support on their hardware. This script utilizes Marcel Bresink's http://www.bresink.com/osx/HardwareMonitor.html Hardware Monitor to check the value of the built-in sensors. There is a free version of Hardware Monitor, but you'll need the full version which costs ?7.00. Hardware Monitor must be installed on each host you want to check. The script will execute a check on any of the Apple sensors. Examples of sensors include fan speeds, temperatures of all CPUs, and power supplies. You need to supply the name of the sensor, warning threshold, critical threshold, and (optionally) a temperature unit preference for temperature sensors. usage: check_xserve.py -s -w -c -t tempunit options: --version show program's version number and exit -h, --help show this help message and exit -s SENSORNAME, --sensor=SENSORNAME Check the value of the given sensor. -w WARNINGVALUE, --warning=WARNINGVALUE Generate warning state if sensor reading is above this 1. -c CRITICALVALUE, --critical=CRITICALVALUE Generate critical state if sensor reading is above this value. -u TEMPUNIT, --unit=TEMPUNIT Set the temperature units to use. Choices are C, F, or 1. The default is C. Typical uses (check parameters are examples only): $ ./check_xserve.py -s "SMC FAN Left side" -w 3000 -c 5000 SENSOR OK: SMC FAN Left side: 2004 RPM|rpms=2004.0;3000.0;5000.0;0; $ ./check_xserve.py -s "CPU Core 1" -w 50 -c 60 SENSOR WARNING: CPU Core 1: 59 C|temperature=59.0;50.0;60.0;0; $ ./check_xserve.py -s "SMC MAIN HEAT SINK 1" -w 30 -c 40 SENSOR CRITICAL: SMC MAIN HEAT SINK 1: 48 C|temperature=48.0;30.0;40.0;0;
You must be logged in to submit a review.
To:
From: