Storage Subsystem

check_sr.py

Description:

check_sr.py is a Nagios check plugin for Citrix XenServer (also should work on XCP), it checks storage SR utilization %. It uses XenAPI.

Its compatible with Centreon’s storage/disk graph template. You can choose performance metric output format: pnp4nagios or centreon.

v1.1.3 fixes pnp4nagios performance metrics output

Current Version

1.1.3

Last Release Date

2013-08-09

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Files
Project Photos
Project Notes
check_sr.py is a Nagios plugin for Citrix XenServer (also should work on XCP), it checks storage SR utilization %. It uses XenAPI. Usage: ./check_sr.py XenServer_IP username password sr_name warning_level critical_level - Uses https to connect to XenServer, if you have a pool, use a poolmaster IP/FQDN - is a case sensitive - Uses (python) XenAPI, download it from Citrix, http://community.citrix.com/display/xs/Download+SDKs - tested on CentOS 5.8 / python 2.x, should work on any modern distro/python AFAIK nagios command defination: define command{ command_name check_xenserver_sr command_line $USER1$/check_sr.py $ARG1$ "$USER15$" "$USER16$" "$ARG2$" $ARG3$ $ARG4$ } USER16 and USER15 are username and password in resource.cfg
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
5 (1)
Favorites
1
Views
58,527