Pfsense Status Gateways Json

Module retrieves pfSense 2.x Dashboard Gateway Status and Network Traffic Graphs data in JSON format
Alternatives To Pfsense Status Gateways Json
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Jsoncrack.com22,990
10 days ago44gpl-3.0TypeScript
⭐️ Transform data chaos into clarity with JSON Crack - the ultimate JSON visualization solution.
Protostuff1,827344988 months ago33March 11, 202273apache-2.0Java
Java serialization library, proto compiler, code generator
Jplot1,068
a month ago3September 13, 20219mitGo
iTerm2 expvar/JSON monitoring tool
Aws Security Viz586
a year ago176August 15, 20211mitRuby
Visualize your aws security groups.
Jseg349
a year ago15May 25, 20161JavaScript
A super simple, in-memory, JS graph database.
Json Graph Specification329
2 years ago1July 08, 20152otherPython
A proposal for representing graph structure (nodes / edges) in JSON.
Dagger Browser275
a year ago2February 05, 20202bsd-3-clauseTypeScript
Simple tool for browsing Dagger graphs generated via an SPI plugin
Dialogger256
7 years ago3JavaScript
A simple cross-platform dialogue graph editor.
Jsog2541344 years ago8March 11, 201512mitCoffeeScript
JavaScript Object Graph
Falcor Router Demo2325785 years ago3October 30, 20151JavaScript
A demonstration of how to build a Router for a Netflix-like application
Alternatives To Pfsense Status Gateways Json
Select To Compare


Alternative Project Comparisons
Readme

pfsense-status-gateways-json

Module retrieves pfSense 2.x Dashboard Gateway Status and Network Traffic Graphs data in JSON format.

"status" can be "force_down", "down", "loss" (for packet-loss warning), "delay" (for latency warning), or "okay" for online.

WARNING: This module bypasses the normal pfSense dashboard login, so it should be set with a different "key" of your choosing in the PHP code. The default is shown below:

http://pfSenseIP/status_gateways_json.php?key=pfsense

Since there is additional overhead to calculate data rates for each connection ("inKbps", "outKbps"), it can be optionally requested via an additional parameter as indicated below:

http://pfSenseIP/status_gateways_json.php?key=pfsense&rates=1

To install, simply change the "key" in the code below, then drop the status_gateways_json.php file into your pfSense "/usr/local/www" directory and you are set to go!

JSON output (&rates=1 version) should look something like this:

{
    "lan": {
        "inKbps": 188.36579043272,
        "outKbps": 2295.1290776905,
        "interface": "em0"
    },
    "wan": {
        "inKbps": 132.32223032712,
        "outKbps": 307.77712136859,
        "interface": "em1",
        "friendlyiface": "wan",
        "name": "GW_WAN",
        "status": "okay",
        "monitorip": "x.x.x.x",
        "sourceip": "x.x.x.x",
        "gatewayip": "x.x.x.x",
        "delay": "10.3ms",
        "loss": "0%"
    },
    "opt1": {
        "inKbps": 1690.5506271424,
        "outKbps": 197.42589503826,
        "interface": "em2",
        "friendlyiface": "opt1",
        "name": "GW_OPT1",
        "status": "okay",
        "monitorip": "x.x.x.x",
        "sourceip": "x.x.x.x",
        "gatewayip": "x.x.x.x",
        "delay": "25.5ms",
        "loss": "0%"
    }
}
Popular Json Projects
Popular Graph Projects
Popular Data Formats Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Php
Json
Graph
Dashboard
Gateway