vnstat
Component ID
2039997
Component name
vnstat
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
A small module that displays vnstat data on a server, if available, in a JSON format. Exposes the json output of the PHP vnstat Frontend by Bjorge Dijkstra in a Drupal way. This might be more convenient than trying to write your own custom module to scrape the data from control panel pages or an API (if you're lucky) but want to be able to bill customers for usage in an automated fashion.
After configuring your API key, you just make requests to vnstat/monthly to get the monthly bandwidth recorded by vnstat so far.
Requires:
- Libraries API
- PHP vnstat Frontend (place in sites/all/libraries)
- vnstat on the server
Future feature(s):
- Session authentication (probably via Services API)
Supported by Sticky.
