mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
reengineering of port rrdfile. merged ifx (will notify existance of this via database).
****** YOU MUST RUN DISCOVERY OR "php fix-port-rrd.php" AFTER THIS ******* git-svn-id: http://www.observium.org/svn/observer/trunk@1656 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -226,9 +226,9 @@ echo("</td>");
|
||||
|
||||
if($graph_type == "etherlike")
|
||||
{
|
||||
$graph_file = $config['rrd_dir'] . "/" . $device['hostname'] . "/etherlike-". safename($interface['ifIndex']) . ".rrd";
|
||||
$graph_file = $config['rrd_dir'] . "/" . $device['hostname'] . "/port-". safename($interface['ifIndex']) . "-dot3.rrd";
|
||||
} else {
|
||||
$graph_file = $config['rrd_dir'] . "/" . $device['hostname'] . "/". safename($interface['ifIndex']) . ".rrd";
|
||||
$graph_file = $config['rrd_dir'] . "/" . $device['hostname'] . "/port-". safename($interface['ifIndex']) . ".rrd";
|
||||
}
|
||||
|
||||
if($graph_type && is_file($graph_file)) {
|
||||
|
Reference in New Issue
Block a user