LEP/ScriptActivity

Not logged in - Log In / Register

Talk to the product strategist soon after cutting a first draft of this document

Removing script activity from the LP database

Currently Launchpad includes an operational tool 'script activity' that reports on scripts which fail to run. Because this is tied into the LP core, its not readily usable by components we split out of Launchpad itself. We would like to keep the same reporting facilities but permit them to work on split out components. Further, it might be nice to let other things within Canonical get the same functionality.

Contact: RobertCollins
On Launchpad: https://bugs.launchpad.net/launchpad-project/+bugs?field.tag=scriptactivity

This could grow into a monster project if we were to reexamine the base requirements; at this point we need to just permit the existing functionality on non-LP-core scripts.

Link this from LEP

Rationale

We are doing this because as our service orientated architecture expands we have scripts that need monitoring. Nagios can be configured to report on scripts that don't run, using indirection via log files and regexes - something simpler is why scriptactivity was added to LP, and consultation with IS has confirmed that it would still be beneficial there.

Our users probably don't care at all ;). We might in future offer this as a service, it is in principle something reusable.

Stakeholders

Possibly also U1/LS/ISD architects.

User stories

$STORY_NAME

As a Developer
I want To easily setup my scripts to have failures-to-run be notified
so that Me and my team know when things don't run

As a Sysadmin
I want To find out when a script last ran
so that I can find out how long something has been broken for

As a Sysadmin
I want To be able to have nagios alert when scripts have missed their deadline
so that We can be told about problems automatically

As a Sysadmin
I want To be able to be able to tell scriptactivity that a script is not expected anymore
so that When machines or scripts go away we don't get nagged

Constraints and Requirements

Must

Nice to have

Must not

Out of scope

Subfeatures

Success

How will we know when we are done?

How will we measure how well we have done?

Thoughts?

LEP/ScriptActivity (last edited 2011-11-21 22:21:25 by lifeless)