mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Added Extreme OS mapping to 'gen_rancid' (#7261)
This is based on git-rancid code base, seems to be mirrored in upstream.
This commit is contained in:
committed by
Neil Lathwood
parent
4683736fcf
commit
e3fab24e1c
@@ -42,6 +42,7 @@ $rancid_map['procurve'] = 'hp';
|
||||
$rancid_map['nxos'] = 'cisco-nx';
|
||||
$rancid_map['mikrotik'] = 'mikrotik';
|
||||
$rancid_map['screenos'] = 'netscreen';
|
||||
$rancid_map['xos'] = 'extreme';
|
||||
|
||||
foreach (dbFetchRows("SELECT `hostname`,`os`,`disabled`,`status` FROM `devices` WHERE `ignore` = 0 AND `type` != '' GROUP BY `hostname`") as $devices) {
|
||||
if (isset($rancid_map[$devices['os']])) {
|
||||
|
Reference in New Issue
Block a user