Monitoring class run as a scheduled (cron) task to 'ping' the installation URL 
and report if no valid response is received.
---------------------------------------------------------------------------------------------------------------------------

                 Key: DS-478
                 URL: http://jira.dspace.org/jira/browse/DS-478
             Project: DSpace 1.x
          Issue Type: New Feature
          Components: DSpace API
    Affects Versions: 1.5.2
            Reporter: Robin Taylor
            Priority: Minor
         Attachments: dspace.cfg.excerpt, monitor-application, Monitor.java

Very simple monitoring class that 'pings' the installation URL and emails a 
specified recipient if no valid response is received. Typically this might be 
scheduled to run as a scheduled task first thing in the morning. Why would you 
not get a valid response from the ping ?...

If the machine has been restarted but not all applications have been started eg 
Tomcat
Tomcat has run out of memory
No more database connections are available
etc.

I have attached the class, the email template, a script, and an excerpt from 
dspace.cfg. I haven't created a patch as the release of 1.6 is immenent but if 
this contribution were deemed acceptable I would happily do so.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to