File monitoring-plugins-vmware_esx.spec of Package monitoring-plugins-vmware_esx

# spec file for package monitoring-plugins-vmware_esx
# Copyright (c) 2014-2019, Martin Hauke <>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%define realname check_vmware_esx
Name:           monitoring-plugins-vmware_esx
Version:        1.2.3
Release:        0
Summary:        A Monitoring plugin to monitor VMware's products
License:        GPL-2.0-or-later
Group:          System/Monitoring
BuildRequires:  nagios-rpm-macros
Requires:       perl(File::Basename)
Requires:       perl(Getopt::Long)
Requires:       perl(HTTP::Date)
Requires:       perl(Time::Duration)
Requires:       perl(Time::HiRes)
Requires:       perl(VMware::VIRuntime)
BuildArch:      noarch

The plugin uses the VMWare API (via HTTPS) to do a wide variety of checks.

%setup -q -n %{realname}-%{version}

make %{?_smp_mflags}

mkdir -p %{buildroot}/%{nagios_plugindir}
install -D -m755 check_vmware_esx %{buildroot}/%{nagios_plugindir}

%license LICENSE
%doc command_reference HISTORY
%dir %{nagios_libdir}

openSUSE Build Service is sponsored by