mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Since Rancid 3, the separator is ; (#11688)
This commit is contained in:
@@ -57,7 +57,7 @@ foreach (dbFetchRows("SELECT `hostname`,`os`,`disabled`,`status` FROM `devices`
|
||||
if ($devices['disabled']) {
|
||||
$status = "down";
|
||||
}
|
||||
echo $devices['hostname'] . ':' . $rancid_map[$devices['os']] . ':' . $status . PHP_EOL;
|
||||
echo $devices['hostname'] . ';' . $rancid_map[$devices['os']] . ';' . $status . PHP_EOL;
|
||||
}
|
||||
}
|
||||
echo "# EOF " . PHP_EOL;
|
||||
|
Reference in New Issue
Block a user