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

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

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


Revision 1.1 - (hide annotations) (download)
Tue Feb 26 01:05:35 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-sysmon-5_0-4_el4_sme
Remove version from spec

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