ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Disk__Monitor.java
Revision 1.15 - (view) (annotate) - [select for diffs]
Sat Jan 19 17:54:57 2002 UTC (22 years, 4 months ago) by tdb
Branch: MAIN
Branch point for: SERVER_PIRCBOT
Changes since 1.14: +6 -6 lines
Diff to previous 1.14
After some work elsewhere in i-scream it became apparent that using the
device (filesystem) as the key might not work. As an example:

swap                 7346808      32 7346776     1%    /var/run
swap                  686080    1912  684168     1%    /tmp

These two mounts have the same device name, "swap", but different mount
points. Before this change they would have been treated as the same, even
though they clearly have different properties. Using the mount point isn't
as ideal as the device, as you could move a mount point on a live
filesystem... but that wouldn't cause too many problems as a new Register
would just be created.

Revision 1.14 - (view) (annotate) - [select for diffs]
Mon Nov 26 11:59:19 2001 UTC (22 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.13: +5 -5 lines
Diff to previous 1.13
Changed the Memory Monitor to correctly deal with "kb" values.

This parallels the change in the Disk Monitor detailed by this Sourceforge
bug tracker:
  [ #476364 ] disk monitor using 'value' thresholds

Revision 1.13 - (view) (annotate) - [select for diffs]
Thu Nov 15 11:47:30 2001 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.12: +14 -5 lines
Diff to previous 1.12
A small change to allow the 'thresholdMeasure' to be specified on a per
mount point basis. This seems a good idea because the actual thresholds can
already be specified for individual mount points. Of course, as with the
thresholds, a more global one can be specified which covers all mount of
the mount points.
The format is similar to that for mount points.
Monitor.Disk./fs.thresholdMeasure={PERCENTAGE,VALUE}
Monitor.Disk.thresholdMeasure={PERCENTAGE,VALUE}

Revision 1.12 - (view) (annotate) - [select for diffs]
Wed Nov 7 17:55:40 2001 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.11: +8 -5 lines
Diff to previous 1.11
Bug Fix for the following tracker ID on sourceforge:
  [ #479162 ] Disk Monitor - assumption of order

As stated in the above bug report, the state of a disk was stored using only
it's position in (ultimately) df's output. This position could change at runtime
which makes it not that reliable. The consequences of a change in the position
would not have been a disaster, but would have caused some confusion.

The key for storing a disks state is now the physical device name, as this is
will not change. The mount point was considered as the key, but it was decided
that this could change at runtime too.

Revision 1.11 - (view) (annotate) - [select for diffs]
Wed Nov 7 16:44:11 2001 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10
Typo fixes.

Revision 1.10 - (view) (annotate) - [select for diffs]
Wed Nov 7 15:58:43 2001 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.9: +32 -16 lines
Diff to previous 1.9
Bug Fix for the following tracker ID on sourceforge:
  [ #476364 ] disk monitor using 'value' thresholds

This bug fix addresses the issue with 'kb disk checks' not checking the amount
of disk space free, but rather the disk space in use. Whilst this was probably
the plan initially, it seems somewhat more useful to check the amount of free
space and alert if the value falls too low. This change has now been made.

It should be noted that the documentation talks about 'kb of disk in use', which
is not correct. The comments in the configuration file, however, talk about the
'absolute value of space free'. We'll take the latter as correct.

Revision 1.9 - (view) (annotate) - [select for diffs]
Tue May 29 17:02:34 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.8: +9 -9 lines
Diff to previous 1.8
Major change in the java package naming. This has been held off for some time
now, but it really needed doing. The future packaging of all i-scream products
will be;

uk.org.iscream.<product>.<subpart>.*

In the case of the central monitoring system server this will be;

uk.org.iscream.cms.server.*

The whole server has been changed to follow this structure, and tested to a
smallish extent. Further changes in other parts of the CMS will follow.

Revision 1.8 - (view) (annotate) - [select for diffs]
Fri Mar 23 02:32:49 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.7: +48 -17 lines
Diff to previous 1.7
Fully javadoc'd all the monitors. Also made a few little changes here and there,
removing code that had been duplicated by copying other monitors, and tidying
up any silly little things (such has hardcoded integer values).

Revision 1.7 - (view) (annotate) - [select for diffs]
Thu Mar 22 17:57:05 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.6: +114 -112 lines
Diff to previous 1.6
Modified to use the new style queuing in the local client

Revision 1.6 - (view) (annotate) - [select for diffs]
Thu Mar 22 01:51:27 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
modified old comment

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Mar 22 00:59:13 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.4: +9 -6 lines
Diff to previous 1.4
Now has support for giving separate mount points

Revision 1.4 - (view) (annotate) - [select for diffs]
Sun Mar 18 00:54:04 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.3: +27 -6 lines
Diff to previous 1.3
added the option:

Monitor.Disk.thresholdMeasure=VALUE/PERCENTAGE
Monitor.Memory.thresholdMeasure=VALUE/PERCENTAGE

to allow the choosing of what is used to measure the crossing of a threshold.

Revision 1.3 - (view) (annotate) - [select for diffs]
Wed Mar 14 23:25:29 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.2: +8 -8 lines
Diff to previous 1.2
The whole server package structure has been changed.
Old Package: uk.ac.ukc.iscream.*
New Package: uk.org.iscream.*

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Mar 9 03:30:55 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.1: +15 -6 lines
Diff to previous 1.1
TOTALLY re-wrote the Register class and made appropriate changes thoughout.  It
is now much more obvious what is going on in many places.

The problem was probably caused by doing CPU as a first monitor and hard coding
the number of attributes a Register stores.  Now if a monitor wants to store
multiple attributes, it has to do that itself.  This makes alot of things
much more readable and inteligable as a result.

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri Mar 9 01:22:46 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
The new Disk monitor, allows the monitoring of all disks on a host.

Convenience Links

Links to HEAD: (view) (annotate) Links to SERVER_PIRCBOT: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a