|
Softpanorama |
May the source be with you, but remember the KISS principle ;-)
Softpanorama Search
|
| News | See also | Recommended Links | Perl Web Site Management Scripts | Unix System Monitoring | Etc |
The web servers are usually monitored by simple scripts script which are triggered by cron, say, every 10 minutes.
Usually it executes a simple HTTP GET request for the IP address submitted as a parameter. A timeout causes the request to be aborted after three minutes and prompts an error message.
Parameters can include whether the server should be pinged, whether the gateway accessibility should be checked and finally whether the HTTP request needs to be submitted.
PagePoker is a Perl package that defines a browser agent with many powerful features for monitoring and testing Web sites, including elaborate failure handling that can send email and trigger SNMP traps. It comes with three scripts that implement it for different uses: poke.pl, for single agents; pokes.pl, for many parallel agents, and pokehard.pl, for loadtesting and benchmarking.
Sitecheck is a Perl-based Web site monitoring tool. It monitors a list of Web sites for availability, and checks for regex-based errors. It will also send emails to a list of recipients upon failure or error.
Moniker is a Perl script that monitors services like HTTP, POP, NNTP, SMTP, and IMAP on local or remote servers anywhere on the Internet. It is intended to be simple to install and use, but is not intended to be a full-featured replacement for more advanced monitoring tools. It features the ability to use a CSV file to specify the servers, services to monitor, and as the email address to send a notification to.
pp_watchdog is a Perl script which monitors configured URLs, and searches for specified content in the response. If the content is not provided or the request times out, then a state in a statefile is incremented and a corresponding recovery-script is called. This script can be an individual recovery-script for the monitored Web server. An example is provided. The watchdog also sends an email notification to the admin. The script is safe to run as a cronjob if timeouts are used for the monitoring and a lockfile is used to prevent multiple instances. After a 4 unsucsessfull recover attempts, the script stops trying to respond to the broken server to prevent overloading the machine.
HotScripts.com CGI and Perl File Manipulation @1 File Upload & Download Manager
File Managements - Upload perl cgi scripts
Mega Upload -- Perl File Upload with Progress bar
FileUpload - Module for HTTP File Uploading.
[June 24, 1999] Five quick hacks to download the Web
This script allows people using browsers that are RFC1867 compliant to upload and download files directly from the web.
Language: Perl Platform: Unix, Windows
Download Complete Source Code, 0.010M bytes
Click file name to view online:
upload.pl, 10270 bytes
file.gif, 923 bytes
folder.gif, 916 bytes
This script allows Netscape users to enter a name for the file to be saved as, and then select a file on your computer to be uploaded to a WWW server. Administrators can configure which directory they will allow files to be uploaded inside the script to prevent tampering. This script is ideal for admin's who want to allow users to upload files, but don't want to issue separate telnet accounts or teach their users the ways of FTP.
Language: Perl Platform: Unix, Windows
Download Complete Source Code, 0.058M bytes
Click file name to view online:
file-upload.cgi, 13326 bytes
README, 14017 bytes
upload.html, 1669 bytes
Perl library that allows your scripts to access and retrieve files through HTTP.Language: Perl Platform: Unix
Download Complete Source Code, 0.013M bytes
Click file name to view online:
www.pl, 34818 bytes
Given a URL on the command line (HTTP and FTP supported at the moment), webget fetches the named object (HTML text, images, audio, whatever the object happens to be). Will automatically use a proxy if one is defined in the environment, follow "this URL has moved" responses, and retry "can't find host" responses from a proxy in case host lookup was slow. Supports users & passwords (FTP), Basic Authorization (HTTP), update-if- modified (HTTP), and much more. Works with perl4 or perl5.
Language: Perl Platform: Unix, Windows
Download Complete Source Code, 0.042M bytes
Click file name to view online:
webget.pl, 43942 bytes
See also Web-based problem tracking tools for Unix
Copyright © 1996-2009 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Site uses AdSense so you need to be aware of Google privacy policy. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
Disclaimer:
Last modified: August 15, 2009