Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-xenserver
> nagios-plugins-xenserver.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-plugins-xenserver.spec of Package nagios-plugins-xenserver
Name: nagios-plugins-xenserver Version: 1.1 Release: 1.0.1_1.1.3 Summary: Nagios plugin collection for xenserver/xcp-ng License: BSD/GPL Url: https://exchange.nagios.org/directory/Owner/ppanula/1 Group: System/Monitoring Source0: check_xenserver_messages.py Source1: check_sr.py Source2: check_disks_xcp BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: off BuildArch: noarch %define libexecdir %_prefix/lib/nagios/plugins %description check_xenserver_messages.py: This command checks if there are any active system alert messages under your XenServer pool/host . Needs XenServer 6.2.0 or newer. 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. %prep %build %install install -D -m755 %{SOURCE0} %{buildroot}/%{libexecdir}/check_xenserver_messages.py install -m755 %{SOURCE1} %{buildroot}/%{libexecdir}/check_sr.py install -m755 %{SOURCE2} %{buildroot}/%{libexecdir}/check_disks_xcp %clean rm -rf %{buildroot} %files %defattr(-,root,root) # avoid build dependecy of nagios - own the dirs %dir %_prefix/lib/nagios %dir %{libexecdir} %{libexecdir}/check_xenserver_messages.py %{libexecdir}/check_sr.py %{libexecdir}/check_disks_xcp %changelog