check a web page
Radu Duta
rduta at syskey.com
Fri Apr 25 16:49:44 CEST 2003
On Fri, Apr 25, 2003 at 09:38:34AM +0200, Johannes Dagemark wrote:
> Hello
>
> Im wondering if there is someone that has a plugin for checking that the content
> of a webpage matches the content of a localy stored copy
don't know if there is a canned plugin, but you can roll your own with someting like:
$MD5=`curl -s www.yahoo.com |md5sum`
if ($MD5 ne '20c3bb895a6d58609f55c056857d2a2a') {
}
else {
}
--
Radu Duta <rduta at syskey.com>
The reasonable man adapts himself to the world; the unreasonable man persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
- G. B. Shaw
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list