Site Logon Simulator

Jason Long jlong at messiah.edu
Tue Jul 8 20:01:09 CEST 2003


It looks like the check_http plugin has some of that capability, but
personally I couldn't get it to work.

Theoretically, you could do something like this

check_http --url=http://hostname/login.asp
--post='username=john&password=secret' --string="Login successful"

This would simulate a "login" and check the result page to verify that the
user actually logged in.

Run check_http -h for information about what these parameters are supposed
to do. However, like I said, it didn't work for me. Perhaps I'm not using
them correctly or they haven't been implemented.

Jason Long



>>> Terry <td3201 at yahoo.com> 7/8/03 11:25:41 AM >>>
Hello,

Has anyone written a site logon simulator of some
sorts?  I want to have nagios log into a site with
some credentials, perform some URL hits, like a normal
user, and return a code based on that information. 
Make sense?  I am sure I could devote a day and write
one but dont want to reinvent the wheel.  :) 
Actually, it would take me a day to figure out how to
do it and a day to actually write it.....and I am a
bad programmer on top of all that.

Thanks!

=====
Terry

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com 


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 
_______________________________________________
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


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
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