Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_sr.py
1.1.3
2013-08-09
- Nagios 3.x
GPL
58474
File | Description |
---|---|
check_sr.py | check_sr.py v1.1.3, performance metrics output fixes for pnp4nagios |
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!
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
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
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
-
- 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)
Be the first to review this listing!