<< Click to Display Table of Contents >> Navigation: Monitoring Tools > checkurl |
CheckURL verifies availability of a web page and can also check for content inside the page and/or verify the checksum of that page. CheckURL can also log its actions to the event log and supports web-based authentication for password-protected web pages.
CheckURL can:
•verify that a web page exists and is accessible
•alert if a TLS certificate expires in fewer than X days
•check if a particular text exists or does not exist in a web page
•verify that credentials for a web page work
•log all output to the event log or console
•automatically create checksums to be notified when the content of a web page changes
•login via a proxy login page
Checksum Monitoring
With checksum monitoring, CheckURL downloads the specified page and creates a SHA checksum which it stores in the registry (HKLM\Software\netikus.net\NTToolkit\CheckURL). Upon a subsequent check, CheckURL compares the current checksum with the previously stored checksum and notifies you when it has changed. You can optionally log results to the event log with the /evt switch (use CHECKSUM_CHANGE and CHECKSUM_EQUAL).
Content Monitoring
With content monitoring, CheckURL looks for a specific string in a page and notifies you whether the string has been found or not. You can optionally log results to the event log with the /evt switch (use TXT_FOUND and TXT_NOTFOUND).
Return Code (%ERRORLEVEL%)
CheckURL returns 0 when no errors have been encountered, and returns 1 if an error (e.g. unable to establish connection with web site) was encountered. Use event logging (/le) for detailed troubleshooting information.
Interface
Command-line
Files
checkurl.exe
Supported Platforms
Windows