Icontem

JavaScript Monitor URL Changes: Display the status of accessing a URL in a page

Recommend this page to a friend!
  Info   View files Example   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-01-07 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 23 All time: 528 This week: 9Up
Version License JavaScript version Categories
url-monitor 1.0GNU General Publi...5HTML, Networking
Description Author

This object can display the status of accessing a URL in a page.

It takes a given URL and tries to send an HTTP request to retrieve its response status.

The object can display the status of the access to the URL by changing the CSS style of a given element of the current page changing the element class value from red to green is the status is OK.

The object can update the status continuously by polling the given URL in regular intervals of time within a given number of seconds.

  Performance   Level  
Name: Martin Latter <contact>
Classes: 3 packages by
Country: United Kingdom United Kingdom
Innovation award
Innovation award
Nominee: 2x

Winner: 2x

Details

URL Monitor

Provide visual URL monitoring for a dashboard.

[1]: https://tinram.github.io/images/urlmonitor.png ![url-monitor][1]

Examples

Using http://localhost/URL-Monitor/ as the file location.

1.

http://localhost/URL-Monitor/local.html

Monitor three local URLs generating different HTTP statuses in a set time period.

2.

http://localhost/URL-Monitor/remote.html

Monitor one remote URL.

Time Periods

Time periods can be easily changed.

The default polling is every 2 seconds (/js/x_loader.js files) over a 20 second error collection time period (/js/trafficlight.js [line 18]).

License

URL-Monitor is released under the GPL v.3.

  Files folder image Files  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (3 files)
Files folder imagestatus (2 files)
Accessible without login Plain text file LICENSE Example Example script
Accessible without login Plain text file local.html Example Example
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file remote.html Example Example

  Files folder image Files  /  css  
File Role Description
  Accessible without login Plain text file trafficlight.css Data Auxiliary data

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file local_loader.js Example Example script
  Accessible without login Plain text file remote_loader.js Example Example script
  Plain text file trafficlight.js Class Class source

  Files folder image Files  /  status  
File Role Description
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Plain text file index.php Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:23
This week:0
All time:528
This week:9Up