Skip to content

The simplest live system overview monitor that runs http checks directly from an in SVG thats for example exported from yEd. Add CHECK-tag to any HTTP/HTTPS endpoint to the SVG and thats it.

Notifications You must be signed in to change notification settings

sweco-semhul/SVGmonit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVGmonit, turn a system overview in SVG into a live network monitor

The simplest live system overview monitor that runs http checks directly from an in SVG thats for example exported from yEd. Add CHECK-tag to any HTTP/HTTPS endpoint to the SVG and thats it. Links added to the SVG will also be interactive and will be opened in new window. Small Node.js-server updating the SVG with status colors of i.e. a network link between two systems.

Today the only check is if the url returns 200 ok.

Example

Get started

  1. Draw a system overview in yEd
  2. On one or more elements under "Data" add "Description", CHECK|{URL} ex. CHECK|http://exemple.com
  3. Export to SVG-format
  4. Place in svg-img folder
  5. Update config.js
  6. npm install
  7. npm start

Docker secrets

Docker secrets can be used on the CHECK url in the SVG by adding {SOMETHING_APIKEY} then it will be replaced by the content in /run/secrets/SOMETHING_APIKEY

About

The simplest live system overview monitor that runs http checks directly from an in SVG thats for example exported from yEd. Add CHECK-tag to any HTTP/HTTPS endpoint to the SVG and thats it.

Topics

Resources

Stars

Watchers

Forks

Packages