mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Fixed IPv6 host renaming (#7275)
* Fixed IPv6 host renaming * Added get_rrd_dir() and modified other files to use it where appropriate. * rrd_name() now uses the new function get_rrd_dir(), to make it simpler to modify the escaping in the future. * Wrong function name in rrdstep.php
This commit is contained in:
@@ -10,7 +10,7 @@ $dostack = 0;
|
||||
$printtotal = 0;
|
||||
$addarea = 1;
|
||||
$transparency = 33;
|
||||
$rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/app-nfs-stats-'.$app['app_id'].'.rrd';
|
||||
$rrd_filename = get_rrd_dir($device['hostname']).'/app-nfs-stats-'.$app['app_id'].'.rrd';
|
||||
$array = array(
|
||||
'io_read' => array('descr' => 'read','colour' => '2B9220',),
|
||||
'io_write' => array('descr' => 'write','colour' => 'B0262D',),
|
||||
|
||||
Reference in New Issue
Block a user