<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>All,<BR><BR>I'm working on writing a perl plugin that
compares a known "good" copy of an html/asp/php/etc. document, to the page that
is currently being served. (i.e. compare
/usr/local/saved_pages/mydomain.com/index.php and <A
href="http://mydomain.com/index.php" target=_blank><FONT
color=#006699>http://mydomain.com/index.php</FONT></A>).<BR><BR>(I say this so
that if there is a similar plugin out there, someone may hopefully point me in
that direction).<BR><BR>My question/problem is that my idea was that I would
write a plugin script, and then pass options to it(read: safe and unsafe
URL's).<BR><BR>I thought I could just run something like this in the
services.cfg<BR><BR>define service{<BR>use generic-service ; Name of service
template to use<BR>host_name jholderDEV<BR>service_description
ASP_PAGE<BR>is_volatile 0<BR>check_period 24x7<BR>max_check_attempts
3<BR>normal_check_interval 5<BR>retry_check_interval 1<BR>contact_groups
test-admins<BR>notification_interval 120<BR>notification_period
24x7<BR>notification_options w,u,c,r<BR>check_command check_asp -s /safe.html -u
<A href="http://myserver.com/index.html" target=_blank><FONT
color=#006699>http://myserver.com/index.html</FONT></A><BR>}<BR><BR>and for each
additional page/application I wanted to check, I could just add this template
back in and change the check_command options.....<BR><BR>But apparently I'm
doing something wrong, because those values aren't being passed.<BR><BR>any
ideas?<BR><BR>-james
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ps. I tried googling for this and had no luck, and
when i tried to check the archives, sourceforge gave me an error. So i apologize
if this has been ocvered before.</FONT></DIV></BODY></HTML>