/[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.4 - (hide annotations) (download)
Fri Mar 28 01:36:39 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-sysmon-6_1-1_el4_sme
Changes since 1.3: +1 -1 lines
Fix spec

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

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