Giter Site home page Giter Site logo

rframaldes / snmp-interfacegraph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scotepi/snmp-interfacegraph

0.0 0.0 0.0 26 KB

Simple PHP and Javascript page for drawing graphs based on interface usage from SNMP

License: GNU General Public License v3.0

PHP 33.14% HTML 66.86%

snmp-interfacegraph's Introduction

snmp-interfacegraph

Simple PHP and Javascript page for drawing graphs based on interface usage from SNMP

screenshot_2016-01-22_10-59-03

Instructions

  1. Install on a PHP server with php snmp enabled
  2. Configuring the $hosts array in snmpGet.php to include the hosts you want on your network to be able to monitor.
  3. If desiered you can change some variable in index.htm to change the graph length, type and interval
  4. Open your browser and point it index.htm
  5. Click on the host
  6. Clikc on the interface
  7. Watch your graph!

The script uses URL hashes to allow you to bookmark and frame in the pages for specific graphs. It works great with iFrames in a single pane of glass setup.

iFrame Example

<iframe src="//server/index.htm#hostname,ifnum,ifname" width="400" height="200" frameborder="0"></iframe>

<iframe src="//server/index.htm?hostname=myhost&interface=ifnum&name=ifname" width="400" height="200" frameborder="0"></iframe>

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.