Skip to content

Simple script (typescript) to retrieve, store and server, via a web interface, traffic counters from a MikroTik router.

License

Notifications You must be signed in to change notification settings

Tertiush/Mikrotik-Traffic-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mikrotik Traffic Monitor

Simple script to retrieve and store traffic counters and display these through a web interface. Storage is made simple through the use of JSON files, one file created per day. These are stored in a /data folder. The script polls the traffic counters every 5 seconds and persists the cumulative data to file every 60 seconds. The web interface is available on port 3000.

To use: Simply search the server.ts typescript file for ## where the Mikrotik router's IP, username and password is required.

About

Simple script (typescript) to retrieve, store and server, via a web interface, traffic counters from a MikroTik router.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published