/[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.5 - (show annotations) (download)
Sun Mar 30 04:48:04 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-sysmon-6_1-2_el4_sme
Changes since 1.4: +23 -3 lines
See changelog

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

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