This plugin adds the http collector type. It can get and parse web pages using the GET method.
Follow the Torrus installation guide for the main software installation.
Unpack the plugin distribution package in some directory:
gzip -dc tp-httpcollector-1.X.tar.gz | tar xvf -
Then run the Torrus plugin installation utility:
torrus install_plugin tp-httpcollector-1.X
Restart all Torrus processes, including Apache HTTP daemon.
That is all, now you can use the parameters described below in your XML configuration.
The plugin distribution adds the following files that you can use in your setup:
httpis supported by this plugin.
collector-type=http. Specifies an object to look for in the web page.The object is an RPN expression containing search-items. A search-item takes the following form:
LineNumber my be a number or *, * means treat the whole web page as one single line. The pattern is a regular expression and must contain a (). The value between () will be replaced in the RPN before it is evaluated.
Copyright (c) 2003-2004 Christian Schnidrig <firstname.lastname@example.org>