Coder Social home page Coder Social logo

bagustesa / cacti-isp-billing Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 1.6 MB

Codes moved from Cacti Forum, moved here for archival. (and i hope we will actually ports this to Cacti Plugin Architecture compliant).

ApacheConf 0.01% PHP 72.74% Perl 27.24%

cacti-isp-billing's Introduction

95th Percentile Cacti ISP Billing Plugin

Disclaimer

This Repository is only for archival purpose, refer the original source for more information.

Notice

These code are left as is from the original source and the original owner (and developer) already left these code to their own.

Installation

These steps area available in pdf documentation in /docs (english) and /manjar (indonesian) directories. This guide assumes you are using -nix system especially Ubuntu Server 14.04.

  • Installing Cacti

There are several way to install Cacti, the easiest one is using LAMPP Applications Stack to provide HTTP + PHP + MySQL capabilities. To install LAMP Applications Stack in Ubuntu Server 14.04 you could use:

tasksel install lamp-server

Command above will present you with several parameter to configure, fortunately it's pretty user friendly. The next step is to install Cacti, just based on Cacti Documentation you could use this command:

apt-get install cacti

This command will solve dependencies for you and guide you through configuring Cacti. Several configuration done in the Command-Line Interface, while most of it done in Cacti's Web Interface. Just browse to http://localhost/cacti to configure path, password, etc.

  • Installing Plugin

The original plugin is not tightly coupled with Cacti's Plugin Architecture. So that it actually hooks into Cacti for configuration to access database and it reads .rrd files directly. Installation done by copying entire file to Cacti Site subdirectory, for instance make a directory called isp_billing.

usr/share/cacti/Site
                  |-cli
                  |-docs
                  |-images
                  ...
                  |-isp_billing //make a new directory to store all of this sources, if you download it in zip, you should extract it
                        ...
                        |-isp_billing.php
                        |-Readme.md
                  ...
                  |-resource
                  |-scripts

The next step is making sure that it have the same owner and permission with the rest of Cacti installation, you could use chmod for this. Also, make sure that isp_billing.php is added to $no_http_header_files variable in /site/include/global.php. That's it, to test whether you install it correctly you could make a 95th percentile graph and run this command:

php isp_billing.php -list

That command should prints all available 95th percentile graph and it's properties.

Read pdf in either /docs or /manjar if you need more information.

Repositories Mirror

Some people just don't like when i used Bitbucket (or GitHub), so, here we go.

Bitbucket: https://bitbucket.org/BagusTesa/cacti-isp-billing

GitHub: https://github.com/BagusTesa/Cacti-ISP-Billing

cacti-isp-billing's People

Contributors

bagustesa avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.