Search All Sites
Nagios Live WebinarsLet our experts show you how Nagios can help your organization.
Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.
Checks the avaibility of websites and interpretes the returncode according to RFC 2616. Works with proxies, proxy authentication. Can check password protected websites.
Opposite to check_url by yunus it uses NO system calls. Mainly for security reasons but a little bit for style.
It is based on libwww-perl and there is no need for system-calls.
The script support proxies with and without authentication via command line switches.
The script support checks for password protected websites via command line switches. You have to supply a user and a password.
This plugin is compatible with the Nagios plugin developer guidelines. Therefore a util.pm is needed and I supply an own one. The only difference to the one from the official plugin package is the contact address. You can use the original one. In that case the output from --help is not correct beecause there is a wrong contact. Thats all.
The documentation is within the plugin.
This plugin will not run from within the embedded perl of nagios 2.3 and higher due to the fact that embedded perl like on Apache has several restrictions. If you do not need the performance improvement it is easier not to use the embedded perl.
In case of using a proxy be sure that all error codes are forwarded. If the proxy displays a error page of itself you check this page instead of the page you wanna check.
For Nagios 2.X or 3.X do the following
#use lib "/usr/lib/nagios/ops_plugins" ;
needs to be replaced with
#use lib "/usr/local/nagios/libexec" ;
Fixed. The actual version do not use utils.pm. Therefore adaption of the path is obsolete.