mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
t # This is a combination of 11 commits.
More mibs needed from http://www.ieee802.org/1/files/public/MIBs/ Updated mib names Updated poller function and siklu call Updates for Siklu detection Removed one graph not supported Added rfOperationalFrequency graph Removed modulation graph Work on siklu support Siklu packets supports Last updates for Siklu support Updated more siklu support
This commit is contained in:
20
html/includes/graphs/device/siklu_rfinterfaceOctets.inc.php
Normal file
20
html/includes/graphs/device/siklu_rfinterfaceOctets.inc.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrdfilename = $config['rrd_dir'] . "/".$device['hostname']."/siklu-interface.rrd";
|
||||
|
||||
if (file_exists($rrdfilename)) {
|
||||
$rrd_options .= " COMMENT:'bps Now Ave Max \\n'";
|
||||
$rrd_options .= " DEF:rfInOctets=".$rrdfilename.":rfInOctets:AVERAGE ";
|
||||
$rrd_options .= " DEF:rfOutOctets=".$rrdfilename.":rfOutOctets:AVERAGE ";
|
||||
$rrd_options .= " LINE1:rfInOctets#00FF00:'In ' ";
|
||||
$rrd_options .= " GPRINT:rfInOctets:LAST:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfInOctets:MIN:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfInOctets:MAX:%0.2lf%s\\\l ";
|
||||
$rrd_options .= " LINE1:rfOutOctets#CC0000:'Out ' ";
|
||||
$rrd_options .= " GPRINT:rfOutOctets:LAST:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfOutOctets:MIN:%0.2lf%s ";
|
||||
$rrd_options .= " GPRINT:rfOutOctets:MAX:%0.2lf%s\\\l ";
|
||||
}
|
||||
|
Reference in New Issue
Block a user