Skip to content

aaviator42/webmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

webmon.cmd

Simple batch file to monitor a web resource.

What does it do?

It repeatedly checks if a certain online resource is accessible. It assumes that any return code other than 0 from curl is an error, and logs it as such. The logfile is updated each time the error code changes.

It requires curl, which ships with modern versions of Windows 10 by default. If you don't have it, you can get it from https://curl.haxx.se/windows/

Setup

  1. Configure the URI and logfile at the top of the script.
  2. Run it
  3. Check logs
  4. That's it!

pingmon.cmd

Pretty much identical to webmon, but uses ping instead of curl. I use webmon to monitor web resources, and pingmon to monitor my internet connection, but obviously they can be used the other way around too, if you so wish.

About

Simple batch file to monitor a web resource

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published