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

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

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


Revision 1.1 - (hide annotations) (download)
Tue Dec 25 05:02:04 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
Import on branch contribs7 of package smeserver-sysmon-5.0-4.src.rpm

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}
8     Copyright: Freely distributable
9     Group: Service
10     Source: %{name}-%{version}.tar.gz
11     #Patch0: %{name}-%{version}.patch.yyyymmddnn
12     Packager: Michel Van hees <michel@vanhees.cc>
13     BuildRoot: /var/tmp/e-smith-buildroot
14     BuildRequires: e-smith-devtools
15     BuildArchitectures: noarch
16     Requires: smeserver-release >= 7, sysstat >= 5, rrdtool >= 1, perl-rrdtool >= 1
17     AutoReqProv: no
18    
19     %changelog
20     * Thu Oct 25 2007 Michel Van hees <michel@vanhees.cc>
21     - Fix a bug with different language
22    
23     * Mon Jul 24 2006 Michel Van hees <michel@vanhees.cc>
24     - 5.0.3
25     - Multi cpu graph display
26    
27     * Fri Jul 14 2006 Michel Van hees <michel@vanhees.cc>
28     - 5.0.2
29     - Disk size bug correction
30    
31     * Sat Jul 08 2006 Michel Van hees <michel@vanhees.cc>
32     - 5.0-1
33     - adapt to sme server version 7
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     ubar compiled for smeserver 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     %preun
210    
211     %post
212     /sbin/e-smith/db configuration set sysmon service status enabled
213     /sbin/e-smith/signal-event conf-sysmon
214     /usr/bin/killall sysmon > /dev/null 2>&1
215     /usr/sbin/sysmon > /dev/null 2>&1
216     /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1
217     cat << DONE
218    
219     * If you are upgrading from a previous version you must remove
220     all rrd files from /var/lib/rrd or graphs will not display
221     correctly.
222    
223     DONE
224    
225     %postun
226     /sbin/e-smith/db configuration delete sysmon
227     /etc/e-smith/events/actions/navigation-conf >/dev/null 2>&1
228     if ! [[ -e /usr/sbin/sysmon ]]; then
229     /usr/bin/killall sysmon > /dev/null 2>&1;
230     fi
231    
232     %files -f %{name}-%{version}-filelist
233     %defattr(-,root,root)

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