/[smecontribs]/rpms/smeserver-sme9admin/contribs9/smeserver-sme9admin.spec
ViewVC logotype

Contents of /rpms/smeserver-sme9admin/contribs9/smeserver-sme9admin.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Wed Nov 23 23:36:51 2016 UTC (8 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-sme9admin-1_5-18_el6_sme
Changes since 1.4: +3 -3 lines
* Wed Nov 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-18.sme
- fix limited size in mysql fields for traffic accounting [SME: 8399]

1 # $Id: smeserver-sme9admin.spec,v 1.4 2016/11/23 22:09:37 unnilennium Exp $
2 # Authority: vip-ire
3 # Name: Daniel Berteaud
4 #
5
6 Summary: A graphical monitor, alert raising, and services supervision tool for your SME Server.
7 %define name smeserver-sme9admin
8 Name: %{name}
9 %define version 1.5
10 %define release 18
11 Version: %{version}
12 Release: %{release}%{?dist}
13 License: GPL
14 Group: Networking/Daemons
15 Source: %{name}-%{version}.tar.gz
16 Patch0: smeserver-sme9admin-1.5-bz9725-email.patch
17 Patch1: smeserver-sme9admin-1.5-bz8399-traffic.patch
18
19 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20 BuildArchitectures: noarch
21
22 BuildRequires: e-smith-devtools
23 BuildRequires: gettext
24
25 Requires: e-smith-base
26 Requires: smeserver-release >= 9
27 Requires: rrdtool-perl
28 Requires: rrdtool
29 Requires: hddtemp
30 Requires: sysstat
31 Requires: lm_sensors
32 Obsoletes: smeserver-sme8admin
33
34 AutoReqProv: no
35
36 %changelog
37 * Wed Nov 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-18.sme
38 - fix limited size in mysql fields for traffic accounting [SME: 8399]
39
40 * Wed Nov 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-16.sme
41 - add more verbose email alert [SME: 9725]
42
43 * Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5-15.sme
44 - Initial release to contribs9
45
46 * Wed Dec 24 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-14.sme
47 - changed $mypid = `cat $mypid` by open(FIC,"<$mypid") [SME:8740]
48
49 * Tue Dec 23 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-13.sme
50 - Corrected bug of empty pids [SME:8732]
51 - Added exeption if the server is not in server & gateway [SME:8739]
52
53 * Thu Dec 11 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-12.sme
54 - corrected the dhcpd lease not reported [SME:8724]
55
56 * Tue Nov 25 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-11.sme
57 - Added a restart to sme9admind when settings are changed in the sme9admin panel
58
59 * Sat Nov 22 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-10.sme
60 - added a second fan speed sensors
61 - added four HD TEMP sensors
62 - added a new graph only for hd temperature sensor
63 - added an event sme9admin-update for avoiding to restart the server
64 - added a tab to check the raid status
65
66 * Sun Nov 16 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-9.sme
67 - Changed in sme9admind L937 °C in .{1,2} .... Thanks JPP
68
69 * Fri Nov 14 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-8.sme
70 - Added a service in rc7.d for lm_sensors
71 - added to sadf the -S to collect swap data
72 - changed txbyt/rxbyt to rxkB/txkB for collecting network load
73
74 * Mon Sep 01 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-7.sme
75 - added 755 to /usr/bin/sme9admind
76
77 * Wed Jun 18 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-6.sme
78 - Initial release to sme9
79
80 * Sun Dec 15 2013 JP Pialasse <test@pialasse.com> 1.3-4.sme
81 - fix obsolete missing [SME: 7109]
82 - fix pppoe and vpn loging [SME: 8061]
83 - added monthly ppoe log
84 - fix stop on mysql error too many connections [SME: 7683]
85
86 * Sun Sep 09 2012 JP Pialasse <test@pialasse.com> 1.3-3.sme
87 - startup fix [SME 3022]
88
89 * Wed Aug 15 2012 JP Pialasse <test@pialasse.com> 1.3-2.sme
90 - 64 bits [SME 7040]
91
92 * Sun Jun 10 2012 JP Pialasse <test@pialasse.com> 1.3-1.sme
93 - Initial version
94
95 %description
96 The main part of sme9admin is a daemon which gathers informations from logs
97 and other tools like systat, it then feed a mysql database and create RRD
98 graphs about your system state.
99 This daemon can also send periodics mails (with some logs), and alerts mails
100 based on configurable thresolds.
101
102 A panel is also available in the server-manager, with which you can access gathered
103 data, display the RRD graphs and configure the service.
104
105 This contrib is a bit inspired by e-smith-sysmon from Shad Lords.
106
107 %prep
108 %setup
109 %patch0 -p1
110 %patch1 -p1
111
112 %build
113 perl createlinks
114 %{__mkdir_p} root/etc/e-smith/web/panels/manager/html/sme9admin
115 %{__mkdir_p} root/usr/share/locale/en_US/LC_MESSAGES
116
117 xgettext --from-code UTF-8 -F --no-wrap -L perl \
118 -o root/usr/share/locale/en_US/LC_MESSAGES/sme9admin.po \
119 root/etc/e-smith/web/functions/sme9admin \
120 root/usr/bin/sme9admind
121
122 /sbin/e-smith/generate-lexicons
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
127 rm -f %{name}-%{version}-filelist
128 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %pre
134
135 %preun
136
137
138 %post
139
140 %postun
141
142 %files -f %{name}-%{version}-filelist
143 %defattr(-,root,root)
144 %attr(755,root,root) /etc/e-smith/sql/init/sme9admin
145 %attr(755,root,root) /usr/bin/sme9admind
146 %attr(755,root,root) /usr/share/doc/smeserver-sme9admin/add_ds_to_rrd.pl

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed