[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing Software support and information 2006-02-04T13:50:50+13:00 http://www.steveshipway.org/forum/feed.php?f=20&t=807 2006-02-04T13:50:50+13:00 2006-02-04T13:50:50+13:00 http://www.steveshipway.org/forum/viewtopic.php?t=807&p=5965#p5965 <![CDATA[check_website and blackboard]]>
As far as plugins go, I'm not sure if I'm going to be developing check_website any further because webinject seems to do the same job and supports both Nagios and MRTG - and is more flexible, although harder to configure.

Webinject doesnt support javascript either, but is better at handling forms. Complex forms and framesets are better handled by sitescope.

Statistics: Posted by stevesh — Sat Feb 04, 2006 1:50 pm


]]>
2006-02-04T09:47:29+13:00 2006-02-04T09:47:29+13:00 http://www.steveshipway.org/forum/viewtopic.php?t=807&p=5962#p5962 <![CDATA[check_website and blackboard]]> Statistics: Posted by bpoyner — Sat Feb 04, 2006 9:47 am


]]>
2006-02-04T09:46:21+13:00 2006-02-04T09:46:21+13:00 http://www.steveshipway.org/forum/viewtopic.php?t=807&p=5961#p5961 <![CDATA[check_website and blackboard]]>
A co-worker noticed a posting on a mailing list that suggested using check_website for monitoring blackboard. What I actually want to do is perform a login and then make sure the page returned is sane. The problem is that blackboard uses some javascript-foo to create a md5 hash of a base64 encoding of the password, which is uses for the actual authentication. As it stands it seems like check_website is unable to do custom things like making such a hash. Do you have any suggestions, perhaps permitting a plugin feature for check_website? If you want to see the entire login page to go . Here is the javascript in question:

var _useChallenge = false;
function validate_form(form)
{
if ( form.user_id.value == "" || form.password.value == "" )
{
alert( "Please enter a username and password." );
return false;
}
//short-cut if challenge/response is disabled.
if ( !_useChallenge )
{
form.encoded_pw.value = base64encode( form.password.value );
form.password.value = "";
return true;
}

var passwd_enc = calcMD5(form.password.value);
var final_to_encode = passwd_enc + form.one_time_token.value;
form.encoded_pw.value = calcMD5(final_to_encode);
form.password.value = "";
return true;
}

Statistics: Posted by bpoyner — Sat Feb 04, 2006 9:46 am


]]>