/[smecontribs]/rpms/smeserver-sysmon/contribs7/smeserver-sysmon.spec
ViewVC logotype

Contents of /rpms/smeserver-sysmon/contribs7/smeserver-sysmon.spec

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


Revision 1.6 - (show annotations) (download)
Wed Apr 2 15:03:59 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
Changes since 1.5: +4 -0 lines
Add Id, Authority, Name

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

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