Welcome to the Pandora FMS Module Library

This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Miscelaneous

Web Content Parse

Author: Create in: 01/24/2012 Update in: 01/01/1970
Module type : Server plugin

This server plugin parses a web, supports http basic authentication.

The plugin returns:

* ERROR (<error_content>) if an string like this ERROR (disk error on sector 45) was found,

* If there were no errors the script will return OK if a string like this OK (disk ok) was found.

If there weren't ERROR or OK strings the script won't return anything.

How to use:

Usage: parse_web.pl --url <absolute_url> [--auth_server <auth_server> --auth_port <auth_port> --auth_user <auth_user> --auth_pass <auth_pass> --auth_realm <auth_realm>

An usage example could be:

./parse_web.pl --url "http://myweb.com/ --auth_server "myweb.com" --auth_port 80 --auth_user "user" --auth_pass "pass" --auth_realm "Private area"

Included files

    File: parse_web.pl Size: 2KiB
    Uploaded in: 03/01/2017