Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check form mechanize allows you to fill in and submit a submit a form and then check the result for an expected string. This script uses mechanize to emulate a browser.
Current Version
0.1
Last Release Date
2010-09-07
Owner
Tim
License
GPL
Compatible With
usage: check_form_mech.py [-h] -u URL -f FORMNAME -n VALUES [-w WARNING] [-c CRITICAL] [-v] -e EXPECT
optional arguments: -h, --help show this help message and exit -u URL, --url URL url string e.g -u http://foobar.com -f FORMNAME, --formname FORMNAME name of the form e.g -f login -n VALUES, --values VALUES values for input e.g -n "login=foo&password=bar" -w WARNING, --warning WARNING time in seconds before warning e.g -w 5 -c CRITICAL, --critical CRITICAL time in seconds before critical e.g -c 10 -v, --verbose print out nagios timing information -e EXPECT, --expect EXPECT string to find on returned web page e.g -e "Hello Sweetie"
This is my first bit of python so if you want to point out my mistakes please do!
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!