mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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.
19 lines
331 B
PHP
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';
|