Event Monitor specification

From MoodleDocs
Revision as of 06:52, 13 May 2014 by Martin Dougiamas (talk | contribs) (Created page with "This is a developing specification of a new tool for teachers and admins to: * configure specific triggers on activity in their Moodle course (or site) * notify them in real...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a developing specification of a new tool for teachers and admins to:

  • configure specific triggers on activity in their Moodle course (or site)
  • notify them in real time with a link to it via messages (and thus mobile, if configured)

How it works

The tool observes acvitivity by capturing events in real time (and/or querying logs as necessary). A variety of trigger algorithms (with parameters and thresholds) are applied to the stream of data. The parameters may be modified by teachers and admins in their tool interface.

Example: a simple algorithm may be "Count the number of posts in a forum".  A parameter can be a time period "X min" with a threshold of "Y".

When any given activity passes the threshold, a message would be generated (with relevant link) and sent to the specified users as a message. The message can contain data from any fields that are used in the event using {tags}. The user may then receive the message on their mobile phone via the Moodle Mobile app.

Example: when there are more than 10 posts within 30 minutes on a forum, the teacher will get a notification containing a description of the activity and a link to the forum.

New algorithms can be implemented via forms, with contents determined by Event discovery, and then saved by user (private), by course (all teachers in site can see and edit them) or by site (all admins in site can see and edit them).


Interesting triggers

  • Send message to teacher when more than X posts in any forum in their course in Y minutes.
  • Send message to teacher when assignment is submitted in their course.
  • Send message to admin when a course is deleted.
  • Send message to student when they are graded for activity X.
  • ...


Impementation Details

See also