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

Contents 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.4 - (show annotations) (download)
Thu Apr 14 13:05:44 2016 UTC (8 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-system_monitor-1_1-3_el6_sme, HEAD
Changes since 1.3: +1 -1 lines
* Thu Apr 14 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-3.sme
- change Requirement for rrdtool

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

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