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

Annotation of /rpms/smeserver-system_monitor/contribs9/smeserver-system_monitor.spec

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


Revision 1.2 - (hide annotations) (download)
Wed Sep 23 23:14:19 2015 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-system_monitor-1_1-2_el6_sme
Changes since 1.1: +3 -3 lines
* Thu Sep 24 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-2.sme
- Initial release to contribs9

1 stephdl 1.1 Summary: sme server system monitor
2     %define name smeserver-system_monitor
3     Name: %{name}
4     %define version 1.1
5     %define release 2
6     Version: %{version}
7 stephdl 1.2 Release: %{release}%{?dist}
8     License: GPL
9 stephdl 1.1 Group: Service
10     Source: %{name}-%{version}.tar.gz
11     #Patch0: %{name}-%{version}.patch.yyyymmddnn
12 stephdl 1.2 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
13 stephdl 1.1 BuildRequires: e-smith-devtools
14     BuildArchitectures: noarch
15     Requires: smeserver-release >= 7, sysstat >= 5, rrdtool >= 1.0, rrdtool < 1.3, perl-rrdtool >= 1
16     AutoReqProv: no
17    
18     %changelog
19     * Thu Sep 24 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-2.sme
20     - Initial release to contribs9
21    
22     * Sun May 11 2008 Pascal Schrrims <webmaster@schrrims.net>
23     - 1.1-1
24     - Adapt for rrdtool 1.2
25    
26     * Mon Mar 31 2008 Michel Van hees <michel@vanhees.cc>
27     - 1.0-1
28     - Fork from sysmon
29    
30     * Sun Feb 17 2008 Michel Van hees <michel@vanhees.cc>
31     - 6.0-2
32     - Restriction on rrdtools version
33    
34     * Tue Feb 14 2008 Michel Van hees <michel@vanhees.cc>
35     - 6.0-1
36     - Add multi HD graph
37     - Add debug message on service to help debug
38    
39     * Tue Feb 05 2008 Michel Van hees <michel@vanhees.cc>
40     - 5.1.3
41     - Fix several bug in daemon file
42    
43     * Mon Feb 04 2008 Michel Van hees <michel@vanhees.cc>
44     - 5.1.2
45     - Fix bug in server-manager naviguation
46    
47     * Mon Feb 04 2008 Michel Van hees <michel@vanhees.cc>
48     - 5.1.1
49     - Add number of user connected using samba
50    
51     * Thu Oct 25 2007 Michel Van hees <michel@vanhees.cc>
52     - Fix a bug with different language
53    
54     * Mon Jul 24 2006 Michel Van hees <michel@vanhees.cc>
55     - 5.0.3
56     - Multi cpu graph display
57    
58     * Fri Jul 14 2006 Michel Van hees <michel@vanhees.cc>
59     - 5.0.2
60     - Disk size bug correction
61    
62     * Sat Jul 08 2006 Michel Van hees <michel@vanhees.cc>
63     - 5.0-1
64     - adapt to sme server version 7
65    
66     * Fri Apr 11 2003 Shad L. Lords <slords@mail.com>
67     - 4.1-1
68     - changed rrd file layout to include max/min/avg
69     - added support for nutups logging
70     - changed graphs to use all functions
71     - removed sysmon conversion from v2.0
72    
73     * Thu Apr 10 2003 Shad L. Lords <slords@mail.com>
74     - 4.0-9
75     - fixed gateway to find default gateway only
76    
77     * Wed Jan 22 2003 Shad L. Lords <slords@mail.com>
78     - 4.0-8
79     - fixed decimal point (accept . or ,)
80     - updated sensors to accept numbers without decimals
81    
82     * Fri Jan 3 2003 Shad L. Lords <slords@mail.com>
83     - 4.0-7
84     - need of code police again (!= not same as ne). Thanks Craig Foster.
85    
86     * Fri Jan 3 2003 Shad L. Lords <slords@mail.com>
87     - 4.0-6
88     - more updates for sensors
89     - don't save sensors or ups if no data found
90     - timeout ping after (interval*count+2) (7) seconds (hang bug)
91    
92     * Wed Jan 1 2003 Shad L. Lords <slords@mail.com>
93     - 4.0-5
94     - more updates for sensors
95    
96     * Tue Dec 31 2002 Shad L. Lords <slords@mail.com>
97     - 4.0-4
98     - added swap to memory graph
99    
100     * Tue Dec 31 2002 Shad L. Lords <slords@mail.com>
101     - 4.0-3
102     - updated sensors to pull more combinations
103    
104     * Tue Dec 31 2002 Shad L. Lords <slords@mail.com>
105     - 4.0-2
106     - update ups headers to not wrap
107    
108     * Mon Dec 30 2002 Shad L. Lords <slords@mail.com>
109     - 4.0-1
110     - updated graph formats (more condensed, no percentages)
111     - added new CPU graph (with support for individual CPU's)
112     - changed format of memory graph (more detail)
113     - added sensors graphs (temperature, voltage, fans)
114     - added apcupsd graphs (ups, ups-2)
115     - changed format of harddrive graph (stacked, old one still there as MEM2)
116    
117     * Sun Dec 29 2002 Shad L. Lords <slords@mail.com>
118     - 3.5-1
119     - added integration with apcupsd (collection)
120     - added integration with lm_sensors (collection)
121     - added new system/user/nice CPU graph (manual)
122    
123     * Fri Dec 13 2002 Shad L. Lords <slords@mail.com>
124     - 3.1-3
125     - fixed hard drive space detection for all devices
126     - made hard drive space more accurate
127    
128     * Fri Dec 13 2002 Shad L. Lords <slords@mail.com>
129     - 3.1-2
130     - changed name to e-smith-sysmon
131     - fixed hard drive space detection for software raid
132    
133     * Wed Aug 21 2002 Shad L. Lords <slords@mail.com>
134     - 3.1-1
135     - corrected bug to work with newer version of ping
136     - update routines to work better with v5.5 and v5.6alpha
137    
138     * Sun Aug 4 2002 Shad L. Lords <slords@mail.com>
139     - 3.0-16
140     - Changed spec file to just require rrdtool and not a specific version
141     - Changed graphing code to work with newer version of rrdtool
142     - Added stats for each seperate CPU and hard drive (no graphs yet)
143    
144     * Mon Mar 25 2002 Shad L. Lords <slords@mail.com>
145     - 3.0-15
146     - Fixed bug in daemonizing code to allow ip addresses.
147     - Fixed bug in service code to remove lockfile if dead.
148    
149     * Tue Mar 19 2002 Shad L. Lords <slords@mail.com>
150     - 3.0-14
151     - Included labels in links for both graph pages
152    
153     * Fri Mar 15 2002 Juan J. Prieto
154     - 3.0-13
155     - Minor change in spec file (Group)
156    
157     * Thu Mar 7 2002 Shad L. Lords <slords@mail.com>
158     - 3.0-12
159     - Daemonized pinging routine and adjusted timing for pings.
160    
161     * Sat Mar 2 2002 Shad L. Lords <slords@mail.com>
162     - 3.0-11
163     - Fixed bug in untainting code to allow '.' for hosts.
164    
165     * Sat Mar 2 2002 Shad L. Lords <slords@mail.com>
166     - 3.0-10
167     - Added scaling to sysmonconv for more accurate conversion.
168     - Added data to DS:MAX for sysmonconv so max values show up.
169     - Adjusted runtime for sysmon so falls on 0 secs.
170     - Fixed bug with empty $badifaces in sysmon and sysmonconv.
171    
172     * Fri Mar 1 2002 Shad L. Lords <slords@mail.com>
173     - 3.0-09
174     - Fixed bug in sysmonconv if no old database exists.
175    
176     * Fri Mar 1 2002 Shad L. Lords <slords@mail.com>
177     - 3.0-08
178     - Fixed sysmonconv script to convert all old databases.
179     - Fixed sysmonconv to run faster.
180     - Added sysmonconv to %post script.
181    
182     * Thu Feb 28 2002 Shad L. Lords <slords@mail.com>
183     - 3.0-07
184     - Added user, nice, system cpu time to database.
185     - Added sysmonconv script to convert eth,ppp interfaces to new format.
186    
187     * Thu Feb 28 2002 Shad L. Lords <slords@mail.com>
188     - 3.0-06
189     - Fixed more problems in RPM spec file.
190     - Renamed sysmonitor to sysmon so as not to conflict with e-smith-monitor.
191    
192     * Thu Feb 28 2002 Shad L. Lords <slords@mail.com>
193     - 3.0-05
194     - Fixed problems in RPM spec file.
195     - Added Obsoletes for old e-smith-monitor package
196    
197     * Thu Feb 28 2002 Shad L. Lords <slords@mail.com>
198     - 3.0-04
199     - Changed webmonitor to sysmon in web/functions.
200     - Changed copyright footer notice to reflect Mitel's standard.
201     - Fixed problem with old packages not uninstalling.
202    
203     * Wed Feb 27 2002 Shad L. Lords <slords@mail.com>
204     - 3.0-03
205     - Changed gather script to be daemon instead of cronjob.
206     - Changed gather script to use perl module instead of executable.
207    
208     * Wed Feb 27 2002 Juan J. Prieto <jjptapia@eresmas.com>
209     - 3.0-02
210     - Now the web panel runs with the Taint and warnings up (-wT). Secure mode!.
211     - Conflicts bug fixed in the spec (e-smith-monitor only).
212     - The copyright is licensed under GPL.
213    
214     * Mon Feb 25 2002 Shad L. Lords <slords@mail.com>
215     - 3.0-01
216     - initial release. Completely rewriten Monitor.
217    
218     %description
219     System monitor for SME Server version 7
220    
221     %prep
222     %setup
223     #%patch0 -p1
224     #%patch1 -p1
225    
226     %build
227     perl createlinks
228    
229     %install
230     rm -rf $RPM_BUILD_ROOT
231     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
232     rm -f %{name}-%{version}-filelist
233     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
234     echo "%doc COPYING" >> %{name}-%{version}-filelist
235    
236     %clean
237     rm -rf $RPM_BUILD_ROOT
238    
239     %pre
240     if [ $1 -ge 2 ] ; then
241     mkdir -p /var/lib/rrdsm/backup
242     /bin/mv /var/lib/rrdsm/*.rrd /var/lib/rrdsm/backup/
243     /bin/rm -f /var/lib/rrdsm/*.rrd
244     fi
245    
246     %preun
247    
248     %post
249     /sbin/e-smith/db configuration set systemmonitor service status enabled debug release
250     /sbin/e-smith/signal-event conf-systemmonitor
251     /usr/bin/killall systemmonitor > /dev/null 2>&1
252     /usr/sbin/systemmonitor > /dev/null 2>&1
253     /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1
254     cat << DONE
255    
256     * All rrd file have been backuped in /var/lib/rrdsm/backup/
257    
258     DONE
259    
260     %postun
261     /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1
262     if ! [[ -e /usr/sbin/systemmonitor ]]; then
263     /usr/bin/killall systemmonitor > /dev/null 2>&1;
264     fi
265    
266     %files -f %{name}-%{version}-filelist
267     %defattr(-,root,root)

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