Files
librenms-librenms/html/includes/graphs/device/junos_jsrx_spu_sessions.inc.php
Andrew SteenandNeil Lathwood c5a8794f9b Added Juniper SRX Branch Session Graphing (#8815)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x ] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`

This was previously a pull request that was closed #8721 

Not sure why it was closed or if it was abandoned since the branch they had was deleted, but I just put everything back together along with some test data. Kudos to @centralscrutiniser for the code in the original request.
2018-06-13 21:15:43 +01:00

19 lines
331 B
PHP

<?php
$rrd_filename = rrd_name($device['hostname'], 'junos_jsrx_spu_sessions');
require 'includes/graphs/common.inc.php';
$ds = 'spu_flow_sessions';
$colour_area = '9999cc';
$colour_line = 'ff0000';
$colour_area_max = '9999cc';
$scale_min = '0';
$unit_text = 'SPU Flows';
require 'includes/graphs/generic_simplex.inc.php';