892489acd7
This is the primary update that introduces collectd monitoring and sample storage into the influxdb database. Two new packages are introduced by this update - collectd-extensions package which includes - newly developed collectd platform memory, cpu and filesystem plugins - note that the example, ntpq and interface plugins are not complete and are not enabled by this update. - pmond process monitoring / recovery support for collectd - updated service file for pidfile management ; needed by pmond - influxdb-extensions package which includes - pmond process monitoring / recovery support for influxdb - updated service file for pidfile management ; needed by pmond - log rotate support for influxdb Change-Id: I06511fecb781781ed5491c926ad4b1273a1bc23b Signed-off-by: Jack Ding <jack.ding@windriver.com>
47 lines
974 B
RPMSpec
47 lines
974 B
RPMSpec
Summary: Titanuim Server influxdb Extensions Package
|
|
Name: influxdb-extensions
|
|
Version: 1.0
|
|
Release: 0%{?_tis_dist}.%{tis_patch_ver}
|
|
License: windriver
|
|
Group: base
|
|
Packager: Wind River <info@windriver.com>
|
|
URL: unknown
|
|
|
|
# create the files tarball
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
source1: influxdb.service
|
|
Source2: influxdb.conf.pmon
|
|
|
|
Requires: systemd
|
|
Requires: influxdb
|
|
Requires: /bin/systemctl
|
|
|
|
%description
|
|
Titanium Cloud influxdb extensions
|
|
|
|
%define debug_package %{nil}
|
|
%define local_unit_dir %{_sysconfdir}/systemd/system
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
|
|
%install
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}
|
|
install -m 755 -d %{buildroot}%{_sysconfdir}/influxdb
|
|
install -m 755 -d %{buildroot}%{local_unit_dir}
|
|
|
|
install -m 644 %{SOURCE1} %{buildroot}%{local_unit_dir}
|
|
install -m 600 %{SOURCE2} %{buildroot}%{_sysconfdir}/influxdb
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%config(noreplace) %{local_unit_dir}/influxdb.service
|
|
%{_sysconfdir}/influxdb/*
|