mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 02:48:37 +00:00
Fix Smokeping without integration (#11548)
This commit is contained in:
parent
c48943550b
commit
598c8c0848
@ -120,7 +120,9 @@ class Smokeping
|
||||
|
||||
private function filenameToHostname($name)
|
||||
{
|
||||
$name = str_replace('.rrd', '', $name);
|
||||
return str_replace('_', '.', $name);
|
||||
if (Config::get('smokeping.integration') === true) {
|
||||
$name = str_replace('_', '.', $name);
|
||||
}
|
||||
return str_replace('.rrd', '', $name);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user