Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check form
Current Version
0.4
Last Release Date
2010-08-20
Compatible With
- Nagios 2.x
- Nagios 3.x
Owner
License
GPL
Hits
106247
Files:
File | Description |
---|---|
check_form.pl | check_form.pl |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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
-u
-e
-f
-c
-w
-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)
byideal2545, July 12, 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?
bymaxidea, March 23, 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!
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!