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/alerters/IRC__Alerter.java
Revision 1.27 - (view) (annotate) - [select for diffs]
Sat Mar 24 18:43:38 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.26: +14 -15 lines
Diff to previous 1.26
Opps, mistake in that last commit.

Revision 1.26 - (view) (annotate) - [select for diffs]
Sat Mar 24 03:47:50 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.25: +10 -6 lines
Diff to previous 1.25
"last alert" will now display the last alert received... not the last one sent. This
means that alerts sent whilst in "stop alerts" mode will be included.

Revision 1.25 - (view) (annotate) - [select for diffs]
Fri Mar 23 01:09:51 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.24: +39 -94 lines
Diff to previous 1.24
All skeletorized and javadoc'd now.

Revision 1.24 - (view) (annotate) - [select for diffs]
Thu Mar 22 22:07:58 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.23: +36 -4 lines
Diff to previous 1.23
Rejigged to use the same queuing structure as the Monitors.

Changed all the alerters to use new structire.

Possibly need to create an alerter skeleton...

Revision 1.23 - (view) (annotate) - [select for diffs]
Fri Mar 16 17:13:49 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.22: +3 -15 lines
Diff to previous 1.22
Moved the getTimeString() method into the util.DateUtils package.

Revision 1.22 - (view) (annotate) - [select for diffs]
Fri Mar 16 03:12:42 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21
Oh, seconds, milliseconds, pah !

Revision 1.21 - (view) (annotate) - [select for diffs]
Thu Mar 15 04:06:57 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.20: +10 -6 lines
Diff to previous 1.20
A quick little change so that it won't try and join a channel it's already in.

Revision 1.20 - (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.19: +9 -9 lines
Diff to previous 1.19
The whole server package structure has been changed.
Old Package: uk.ac.ukc.iscream.*
New Package: uk.org.iscream.*

Revision 1.19 - (view) (annotate) - [select for diffs]
Tue Mar 13 02:19:43 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.18: +5 -3 lines
Diff to previous 1.18
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.18 - (view) (annotate) - [select for diffs]
Thu Mar 8 13:43:54 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.17: +16 -5 lines
Diff to previous 1.17
Added a count of "ignored" alerts - ie. when in stopped mode.

Revision 1.17 - (view) (annotate) - [select for diffs]
Tue Mar 6 02:33:55 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.16: +7 -3 lines
Diff to previous 1.16
Now passes the time since the first alert for a problem occoured.

Also has support for formatting and displaying this information as obtained from the config

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Mar 5 23:12:43 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.15: +124 -39 lines
Diff to previous 1.15
A lot of error catching with the configuration has been implemented.

Revision 1.15 - (view) (annotate) - [select for diffs]
Mon Mar 5 12:45:51 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14
Now shows OK alerts if the previous alert exceeded the alerters level

Revision 1.14 - (view) (annotate) - [select for diffs]
Mon Mar 5 12:09:28 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13
Now responds to OK messages even if that isn't the level its monitoring.

Maybe not ideal just yet though, it should only get OK's if its level has been passed, but not sure how to do that yet.

Revision 1.13 - (view) (annotate) - [select for diffs]
Mon Mar 5 01:38:01 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.12: +14 -2 lines
Diff to previous 1.12
Added a 1 second delay between messages. IRC servers may not be happy if we spam
messages too quickly, and may actively block us.

Revision 1.12 - (view) (annotate) - [select for diffs]
Sun Mar 4 05:37:15 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.11: +7 -4 lines
Diff to previous 1.11
Added a version command.

Revision 1.11 - (view) (annotate) - [select for diffs]
Sun Mar 4 05:26:00 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.10: +70 -5 lines
Diff to previous 1.10
Added a selection of new features, such as uptime, time since last alert, and
statistics. Also improved the last alert command to provide a time stamp.

Revision 1.10 - (view) (annotate) - [select for diffs]
Sun Mar 4 04:43:29 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
minor change to the logging line

Revision 1.9 - (view) (annotate) - [select for diffs]
Sun Mar 4 03:34:50 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.8: +277 -45 lines
Diff to previous 1.8
Added a lot of features merged with the stuff AJ has just done. The IRC bot now
is a lot more robust - it will make more effort to connect, and reconnect. It
will respond to user commands, such as "stop alerts". It can be moved between
channels, and even supports different names if one is in use.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sun Mar 4 02:41:16 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.7: +22 -6 lines
Diff to previous 1.7
Revamped monitoring and alert fireing mechanism.
Now takes account of timing of last alerts.
Now uses threshold value a guide to how quickly alerts should be escalated.

Revision 1.7 - (view) (annotate) - [select for diffs]
Sat Mar 3 01:09:53 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.6: +24 -44 lines
Diff to previous 1.6
Both alerting mechanisms now make full use of the ConfigurationProxy class,
which in turn gives them dynamic updates of configuration :)

Revision 1.6 - (view) (annotate) - [select for diffs]
Fri Mar 2 02:46:56 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.5: +5 -4 lines
Diff to previous 1.5
Changed the printing of the alert level.

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Mar 2 01:32:09 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4
It's late, and I'm hacked off with the server. :P

Revision 1.4 - (view) (annotate) - [select for diffs]
Fri Mar 2 01:29:22 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.3: +5 -2 lines
Diff to previous 1.3
Added some debugging information.

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Mar 2 00:37:03 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2
Added the source to the appropriate places.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Mar 2 00:14:13 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.1: +5 -3 lines
Diff to previous 1.1
Modified to fit with the new Alert object.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Mar 1 23:45:45 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
A basic IRC bot, with the IRCBot itself as an inner class.

Convenience Links

Links to HEAD: (view) (annotate) Links to PROJECT_COMPLETION: (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