[go: up one dir, main page]

Menu

Tree [62e4b2] v1.6.0 / artefacts /
 History

HTTPS access


File Date Author Commit
 scripts 2012-01-06 jirkapinkas jirkapinkas [bad852] changed some artefacts, added convenient script...
 Monitoring.xml 2012-01-06 jirkapinkas jirkapinkas [bad852] changed some artefacts, added convenient script...
 README.TXT 2012-01-08 jirkapinkas jirkapinkas [23f8e4] alternative mail configuration (gmail and local...
 VERSIONS.TXT 2012-01-06 jirkapinkas jirkapinkas [fe1e8b] 1.5 version!
 db_upgrade_1.2_to_1.3.sql 2012-01-02 jirkapinkas jirkapinkas [5558fc] Version 1.3
 db_upgrade_1.3_to_1.4.sql 2012-01-03 jirkapinkas jirkapinkas [57f304] changed check result description from CLOB to V...
 db_upgrade_1.4_to_1.5.sql 2012-01-05 jirkapinkas jirkapinkas [3bd280] Added support for spidering web page using exte...
 linkchecker-7.3-results.xsd 2012-01-05 jirkapinkas jirkapinkas [3bd280] Added support for spidering web page using exte...
 sitemap.xsd 2011-12-29 jirkapinkas jirkapinkas [1d4020] 1.0

Read Me

I. RUNNING MONITORING:
=======================

First you must install Java!

http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u30-download-1377139.html

Next 

Windows:
1. run start.bat
2. point your browser to page: http://localhost:8080/Monitoring
3. have fun :)
4. read rest of this file for additional configuration

Linux (any other *nix OS should work, but it's not tested):
1. chmod +x *.sh
2. ./start.sh
3. point your browser to page: http://localhost:8080/Monitoring
4. have fun :)
5. read rest of this file for additional configuration

II. CONFIGURATION:
=================
all configuration files are in directory /conf:

WARNING: If you change this configuration, you must restart site monitoring! 
(run stop.bat/stop.sh and afterwards start.bat/start.sh
 - run .bat file on Windows and .sh on Linux) 

mail.properties:
Connection to mail SMTP server. Default is for GMAIL, but you can easily change that 
(GMAIL is great for testing, however). Set there your GMAIL username and password.
If you have your own SMTP server, overwrite files conf/mail.properties and conf/mail.xml 
with files conf/mail-localhost/mail.properties and conf/mail-localhost/mail.xml.

mail.xml:
Mail configuration defined for GMAIL. 
Connection properties are defined in mail.properties.

cron.properties:
Default values useful for monitoring (such as scheduled monitoring 
and sending emails is by default turned off). And scheduled monitoring 
is scheduled to execute after 10 minutes delay.
Also review timeout settings if you get plenty of timeouts.
This setting is highly dependent on your network.
If you want to enable spider to check your site for broken links, 
you must set path to linkchecker executable in this file.

db.properties:
Connection to database, currently only HSQLDB database. So far HSQLDB
seems fine (I'm using this application to monitor my web sites). However
I designed this application so that in the future it will be 
easy to support different database servers if required.

III. INTEGRATING SPIDER:
========================

1. download and install LinkChecker: http://linkchecker.sourceforge.net/
2. set path to linkchecker executable in cron.properties
3. restart Site Monitoring
4. have fun :)