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

check_svc_mdiskgrp

Current Version
1.1
Last Release Date
2011-08-19
Compatible With
  • Nagios 3.x
License
GPL
Hits
86895
Files:
FileDescription
check_svc_mdiskgrpcheck_svc_mdiskgrp

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

Check the SVC's MDiskGroups
Usage: check_svc_mdiskgrp -cluster -mdiskgrp -w XX -c XX

Thresholds only for the Percent Usage (real Cap. / Cap *100)

Requires IBM's SVC.pm (http://www.alphaworks.ibm.com/tech/svctools)

Requires you configure an ssh key for logins to your SVC.
Reviews (1)
bymtrento, September 22, 2011
here are recomandations for beginners :

- the ssh passwordless login must be done with user admin : eg ssh admin@cluster-ip
then the security check will be done with user provided in private key

- list your disk groups with command : svcinfo lsmdiskgrp
- the script require to have all parameters set to function. for example :
./check_svc_mdiskgrp.pl -cluster 192.168.1.1 -mdiskgrp B44-SAS -w 90 -c 99
sample output :
OK - B44-SAS 'Usage %' = 95.65; OK - B44-SAS 'Capacity' = 1672.75; OK - B44-SAS 'free Capacity' 72.75; OK - B44-SAS 'used Capacity' 1600.00; OK - B44-SAS 'real Capacity' 1600.00; OK - B44-SAS 'virtual Capacity' 1600.00|'Usage_%'=95.65;98;99;;'Capacity'=1672.75;'free_Capacity'=72.75;'used_Capacity'=1600.00;'real_Capacity=1600.00;'virtual_Capacity'=1600.00