Clustering and High-Availability

check_veritas_sfha.py

Description:

Nagios check_veritas_sfha.py

Description:
————
With this little Python script you have the ability to check your Veritas servicegroups and the status of your volumegroups. Please use ./check_veritas_sfha.py -h to get an overview of the needed parameters.
In all cases you need the exact name of the servicegroup which is shown by the output of /opt/VRTS/bin/hastatus -sum and of course you need the exact name of the volumegroup.

Author: Frank Reimer
Version: 0.3
Creation Date: 2012-08-09
————————————————–

Version History:

2012-08-14: Fixing servicegroup check – removing re.compile for Python compatibility
2012-08-10: Adding check for plexes in volumegroup
2012-08-09: Script creation

README:

If you want to use this script, your Nagios user needs sudo privileges to perform this script. Start visudo and add the following lines at the end of the file:

nagiosuser ALL=(ALL) NOPASSWD:/opt/VRTS/bin/hastatus
nagiosuser ALL=(ALL) NOPASSWD:/sbin/vxprint
nagiosuser ALL=(ALL) NOPASSWD:/path/to/check_veritas_status.py

Tested with the following Python versions:
– 2.4.3
– 2.6.6

Testted with the following OS versions:
– RHEL 6.2 64 Bit
– RHEL 5.7 64 Bit

Tested with the following Veritas SFHA versions:
– 6.0 RP1
– 5.1 SP1 RP2

Current Version

0.3

Last Release Date

2012-08-14

Compatible With

  • Nagios 3.x

Owner

License

GPL


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Files
Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
57,667