/[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.9 - (show annotations) (download)
Wed Dec 1 15:33:34 2010 UTC (13 years, 5 months ago) by slords
Branch: MAIN
Changes since 1.8: +9 -6 lines
* Sat Mar 29 2008 Shad L. Lords <slords@mail.com> 6.1-3.sme
- Fix LANG env so output can be recognized [SME: 4143]

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

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