This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathnagios-plugins-fedcloud.spec
112 lines (104 loc) · 4.47 KB
/
nagios-plugins-fedcloud.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# sitelib
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define dir /usr/libexec/argo-monitoring/probes/fedcloud
Summary: Nagios plugins for EGI FedCloud services
Name: nagios-plugins-fedcloud
Version: 0.6.3
Release: 1%{?dist}
License: ASL 2.0
Group: Network/Monitoring
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
Requires: python >= 2.6
Requires: python-requests
%description
%if 0%{?el7:1}
Requires: python-ndg_httpsclient
Requires: python-six
%else
Requires: python2-ndg_httpsclient
Requires: python-argparse
Requires: python-six
%endif
%prep
%setup -q
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root %{buildroot} --record=INSTALLED_FILES
install --directory ${RPM_BUILD_ROOT}%{dir}
install --mode 755 src/* ${RPM_BUILD_ROOT}%{dir}
install -d -m 755 %{buildroot}/%{python_sitelib}/nagios_plugins_fedcloud
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root,-)
%{dir}
%{python_sitelib}/nagios_plugins_fedcloud
%if 0%{?el7:1}
%exclude %{dir}/check_occi_compute_create
%endif
%changelog
* Fri Jun 24 2022 Katarina Zailac <kzailac@srce.hr> - 0.6.3-1%{?dist}
- Add second token argument to novaprobe and swiftprobe
* Wed Jun 16 2021 Emir Imamagic <eimamagi@srce.hr> - 0.6.2-1%{?dist}
- Fix robot cert path in check_perun
* Tue Jun 15 2021 Katarina Zailac <kzailac@srce.hr> - 0.6.1-1%{?dist}
- Add region support to novaprobe
* Wed Jan 13 2021 Katarina Zailac <kzailac@srce.hr> - 0.6.0-1%{?dist}
- New probe for cloud info provider
* Wed Apr 8 2020 Katarina Zailac <kzailac@srce.hr> - 0.5.2-1%{?dist}
- Add swiftprobe.py
* Tue Mar 31 2020 Daniel Vrcic <dvrcic@srce.hr> - 0.5.1-1%{?dist}
- Fix perun.cesnet.cz address
- Add EOSC-hub acknowledgement
- vary spec dependency according to Centos version
* Thu Oct 3 2019 Emir Imamagic <eimamagi@srce.hr> - 0.5.0-1%{?dist}
- Support for new version of cloudkeeper
- Refactor authentication
* Thu Sep 5 2019 Emir Imamagic <eimamagi@srce.hr> - 0.4.0-1%{?dist}
- Reduce default timeout for VMs to 300s
- Clean leftover VMs
- Do not try to use the certificate when not needed
* Wed Apr 17 2019 Emir Imamagic <eimamagi@srce.hr> - 0.3.0-1%{?dist}
- Add network handling
- Delete VM to avoid leaving resources at sites
- Remove cdmi probe
- Enforce certificate validation
* Thu Feb 7 2019 Emir Imamagic <eimamagi@srce.hr> - 0.2.0-1%{?dist}
- Add support for both X509 and OIDC in openstack probe
- Add support for Keystone V3
- Add support for using AppDB image in openstack probe
* Fri Dec 8 2017 Daniel Vrcic <dvrcic@srce.hr> - 0.1.7-1%{?dist}
- graceful clean-up for OCCI compute probe
* Mon Nov 20 2017 Daniel Vrcic <dvrcic@srce.hr> - 0.1.6-1%{?dist}
- novaprobe: remove hardcoded port check in token suffix
- novaprobe: ARGO-948 Access token parameter should be file
* Wed Aug 30 2017 Daniel Vrcic <dvrcic@srce.hr> - 0.1.5-1%{?dist}
- novaprobe: use of ids insteads of urls for flavors and image by Enol Fernandez
- novaprobe: added support for OIDC tokens by Enol Fernandez
* Thu Apr 6 2017 Emir Imamagic <eimamagi@srce.hr> - 0.1.4-1%{?dist}
- Version bump
* Tue Dec 13 2016 Daniel Vrcic <dvrcic@srce.hr> - 0.1.3-1%{?dist}
- refactored keystone token and cert check code
* Tue Nov 22 2016 Emir Imamagic <eimamagi@srce.hr> - 0.1.1-7%{?dist}
- Probes location aligned with guidelines
* Fri May 13 2016 Daniel Vrcic <dvrcic@srce.hr> - 0.1.0-6%{?dist}
- cdmiprobe: add support for printing error msgs from packed exceptions
- cdmiprobe: wait some time before next operation
- cdmiprobe: fetched token implies that we have supported CDMI Specification version
- cdmiprobe: merged improvements with proper cleanup procedure by Enol Fernandez
* Tue Jan 19 2016 Daniel Vrcic <dvrcic@srce.hr> - 0.1.0-5%{?dist}
- remove Py2.6 deprecations in cdmiprobe and novaprobe
* Fri Oct 6 2015 Daniel Vrcic <dvrcic@srce.hr> - 0.1.0-4%{?dist}
- novaprobe: debugging helper leftover removed
* Fri Oct 2 2015 Daniel Vrcic <dvrcic@srce.hr> - 0.1.0-3%{?dist}
- novaprobe: only HTTPS endpoints allowed
* Wed Sep 23 2015 Daniel Vrcic <dvrcic@srce.hr> - 0.1.0-2%{?dist}
- cdmiprobe: handle case when endpoint disabled SSLv3
- novaprobe: added image and flavor cmd options
- novaprobe: no roundtrip, keystone service is given directly
* Fri Sep 18 2015 Emir Imamagic <eimamagi@srce.hr> - 0.1.0-1%{?dist}
- Initial version of EGI FedCloud probes for Nagios