Websites, Forms and Transactions

Check form

Description:

Check form allows the user to submit forms using post and test the output for a string. This can be useful to test authentication boxes or any other forms that use the POST method. Check form can also test the response time of the form and produce timing information for Nagios performance monitoring.

Current Version

0.4

Last Release Date

2010-08-20

Compatible With

  • Nagios 2.x
  • Nagios 3.x

Owner

Tim

License

GPL


Project Files
Project Notes
check_form.pl -u -f -e (-c -w ) -u # url string to post form data against -e # string to query on the authenticated page -f # post string -c # the number of seconds to wait before a going critical -w # the number of seconds to wait before a flagging a warning -n do not follow redirection -d prints page contents (debugging info) -s prints status code (debugging info) e.g check_form.pl -u https://foobar.com -f "login=foo&password=bar" -e "Hello sweetie" -c 10 -w 3 -v Comments are very welcome
Reviews (2) Add a Review
any chance to pass user agent string?
by ideal2545, July 31, 2017

The app we use checks the browser and it returns 'browser not supported' - any chance you can add in a user agent string paramater?



a bug of State change
by maxidea, March 31, 2011

It was a useful script but one bug found. When we get a authentication failed , the "CRITICAL" will show on the message. But the state of Nagios was not changed! The state of Nagios was OK. So I hope it can be fixed at next release. Thanks!



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.3 (4)
Favorites
2
Views
105,981