Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_sun_vm.pl

Rating
1 vote
Favoured:
1
Hits
144774
Files:
FileDescription
check_sun_vm.plversion 1.4
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This checks Sun Volume Manager, mirror, raid, and metadb
It will check that
mirrored devices have at least 2 mirrors
The status field of the RAID5 device
The flags of the metadbs and that they are spread across enough devices.
It will also ignore devices based on entries in a file. So if you want to ignore the mirror d50 you would enter d50 into the svm_exceptions file and the script will not check that device.
It can check a single device. This is used mostly for testing.
See help for the options.
My thanks to alex harvey of check_disksuite.pl for the core code that got me started on this
Reviews (1)
byBCockerham, February 1, 2013
This checks both the Metastat and Metadb, you just have to supply different flags to it. Works just as expected.