Giter Club home page Giter Club logo

check_websites's Introduction

NAME

check.pl - An automatic page change tester written in Perl.

VERSION

v0.9.5

SYNOPSIS

check.pl [options]

DESCRIPTION

This is a simple tool that can monitor a list of websites and will send a mail if one had changed.

A change has been detected in the page of "Your monitored application"
URL is https://www.yourapp.org/

Diff: @@ -1 +1 @@
-Version 3.2.2-20200204
+Version 3.2.3-20200221


---
Sent by /home/jdoe/dev/perl/check_website/check.pl from jdoe@your_host.localdomain.

Typical usage is to be run periodically from a Cron job.

For each site, you can configure

  • name the name displayed for a site in outpout / emails.

  • url an url to retrieve

  • one of the following tests:

    • xpath a xpath to retrieve in the document on which the comparison is made. Beware if you define the xpath using a browser: sometimes the browser is beautifying / fixing the page structure and you may not understand why your xpath fails for the check. In such case, take a look in the actual raw document retrieved by curl / wget.

    • rx_text a regex pattern that is run on the document visible body text

    • rx_raw a regex pattern that is run on the document content (e.g. you can match on javascript code).

    • if no test is configured, the whole content of the url is retrived and kept gzipped, future checks will make diffs on the whole page.

OPTIONS

  • -h --help

    Display a short help.

  • --man

    Display the full manual.

  • -v --verbose

    Show verbose messages during processing.

  • -d --debug

    Activate the debug flag (show SMTP details).

  • -l --list

    List the sites monitored.

  • -D --showdata

    Display the data that is currently stored to perform compares.

  • -t --test

    Performs only a test of the configured sites and display a result. No email is sent and data are not persisted.

check_websites's People

Contributors

sebkirche avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.