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/MonitorManager.java
Revision 1.22 - (view) (annotate) - [select for diffs]
Sun Sep 25 09:57:40 2005 UTC (18 years, 7 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +4 -3 lines
Diff to previous 1.21
Fix compile problems on j2se 1.5 - our Queue class conflicted with one in
java.util. Also fix an API issue when running the server on Windows - the
println method sends '\r\n' on Windows instead of '\n' on Unix, which
confuses applications such as ihost.

Patch provided by: skel

Revision 1.21 - (view) (annotate) - [select for diffs]
Sun Aug 1 10:40:41 2004 UTC (19 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Jul 25 14:35:29 2003 UTC (20 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.19: +10 -3 lines
Diff to previous 1.19
Fix bug #6. On occasions a NullPointer would creep out of this bit of code.
My guess is it was either a Null packet, or a packet with no data type,
both of which shouldn't really happen. Put in kludges to catch them, but
it would be nice to know why it happened ;)

Revision 1.19 - (view) (annotate) - [select for diffs]
Mon Feb 24 20:18:46 2003 UTC (21 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.18: +5 -26 lines
Diff to previous 1.18
Fairly major commit. This will break the current version of ihost, but this
had to be done really to give Pete something to test the new ihost against.

The main change here is removal of the TCP Heartbeat functionality from the
filter. This meant the following features stopped working :-
  - Heartbeat testing
  - Configuration checking
  - Service checks

The heartbeat testing, specifically the monitor, now looks at the presence
of UDP packets instead. Before it just looked for the presence of a TCP
heartbeat packet, so the change their is fairly negligible. Of course this
means heartbeat testing now relies on the UDP working... but I don't see
this as a problem.

Configuration checking has been repositioned in to the filtermanager. This
is a backwards compatible change - the filtermanager should still perform
as it should for older hosts. But now there's an extra command to check the
configuration is up-to-date, with a similar format to the old TCP protocol
in the filter. (although we may optimise this soon)

The service checks are broken. This isn't a major issue for us as they were
pretty useless in the first place. The concept is good, but the checks are
just far too primitive. I expect at some point I'll work on a seperate
component that just monitors services, which will replace this function.

Further changes in the server include removal of the key checking code,
as this relied on a bolt on to the TCP heartbeat protocol to ship the
key. This got more akward than originally planned, so I'm happy to drop the
idea. In the long term we hope to replace this with a public key systems
for signing and even encryption.

Finally, general tidy up to remove other bits of code that check for
TCP heartbeat packets when they don't need to any more.

Revision 1.18 - (view) (annotate) - [select for diffs]
Wed Feb 5 16:43:45 2003 UTC (21 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17
Changed the server to use the external util package. Quite a minor change,
but does affect a lot of files.

Revision 1.17 - (view) (annotate) - [select for diffs]
Sat Oct 12 22:12:36 2002 UTC (21 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.16: +8 -6 lines
Diff to previous 1.16
Changed to use the XMLCache.

Revision 1.16 - (view) (annotate) - [select for diffs]
Tue May 21 16:47:16 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15
Added URL to GPL headers.

Revision 1.15 - (view) (annotate) - [select for diffs]
Sat May 18 18:16:00 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.14: +22 -3 lines
Diff to previous 1.14
i-scream is now licensed under the GPL. I've added the GPL headers to every
source file, and put a full copy of the license in the appropriate places.
I think I've covered everything. This is going to be a mad commit ;)

Revision 1.14 - (view) (annotate) - [select for diffs]
Tue May 29 17:02:34 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Branch point for: SERVER_PIRCBOT
Changes since 1.13: +8 -8 lines
Diff to previous 1.13
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.13 - (view) (annotate) - [select for diffs]
Fri Mar 23 02:30:44 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.12: +42 -3 lines
Diff to previous 1.12
Javadoc'd the whole bally lot.

Revision 1.12 - (view) (annotate) - [select for diffs]
Thu Mar 22 18:08:38 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11
Need to set these to be synchronized, otherwise two Threads could potentially
call the getInstance() method at the same time - resulting in two constructions.

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

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Mar 22 17:54:43 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.9: +19 -3 lines
Diff to previous 1.9
Now has an AllQueue for all packets, regardless of type.

Revision 1.9 - (view) (annotate) - [select for diffs]
Thu Mar 22 17:31:43 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.8: +89 -12 lines
Diff to previous 1.8
Radically changed the way data is passed around. Monitor's are now required to
get data from the MonitorManager queue's, rather than being passed it. This
allows them to run in parallel, rather than the serial setup we had before.

Revision 1.8 - (view) (annotate) - [select for diffs]
Thu Mar 15 22:12:22 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.7: +15 -5 lines
Diff to previous 1.7
Seems I missed updating the configuration sections in these files.

Revision 1.7 - (view) (annotate) - [select for diffs]
Thu Mar 15 18:59:50 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.6: +5 -4 lines
Diff to previous 1.6
A small change to make the code more proper in creation of strings.

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

Revision 1.5 - (view) (annotate) - [select for diffs]
Tue Mar 13 02:19:41 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.4: +6 -3 lines
Diff to previous 1.4
Given all the classes that extend Thread a name using Thread.setName(). It is
only representative as far as it will tell us which class the Thread is, but
this will go some way to aiding debugging. If time permitted, more effort could
be taken to name each thread according to what it was dealing with.

Revision 1.4 - (view) (annotate) - [select for diffs]
Sat Mar 10 04:03:03 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.3: +6 -5 lines
Diff to previous 1.3
Changes due to the alterations in the XML creation code. The XMLPacketMaker now
only needs to be created once, and can then be called multiple times to create
XML packets. This should be more efficient in the long run.

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Mar 2 00:15:59 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.2: +81 -24 lines
Diff to previous 1.2
Makefile now compiles the alerter manager.
MonitorManager is now fleshed out.
ClientMain is now fleshed out.

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Mar 1 16:52:25 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.1: +12 -4 lines
Diff to previous 1.1
Added a try catch section for creating the XMLPacket.

Revision 1.1 - (view) (annotate) - [select for diffs]
Tue Feb 27 01:00:43 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Initial checkin of the class that will construct and manager the Monitor's.

Convenience Links

Links to HEAD: (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