forked from librenms/librenms
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added session graphs for Barracuda NGFW (librenms#10102)
* devices: Corrected discovery object ID for Barracuda NGFW; Added fw session graphs * device: Added test data
- Loading branch information
1 parent
1f1a2fe
commit 8b4e430
Showing
7 changed files
with
6,777 additions
and
935 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
includes/html/graphs/device/barracuda_firewall_sessions.inc.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
$rrd_filename = rrd_name($device['hostname'], 'barracuda_firewall_sessions'); | ||
|
||
require 'includes/html/graphs/common.inc.php'; | ||
|
||
$ds = 'fw_sessions'; | ||
|
||
$colour_area = '9999cc'; | ||
$colour_line = '0000cc'; | ||
|
||
$colour_area_max = '9999cc'; | ||
|
||
#$graph_max = 1; | ||
$graph_min = 0; | ||
|
||
$unit_text = 'Sessions'; | ||
|
||
require 'includes/html/graphs/generic_simplex.inc.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.