Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load nodes didn't recognized ArubaOS Mobility Controller 8.10.0.9 (use aosw or Aaosw) and F5 Big-IP (use tmos) #3149

Open
JoeyChen-NTUT opened this issue May 1, 2024 · 1 comment

Comments

@JoeyChen-NTUT
Copy link

JoeyChen-NTUT commented May 1, 2024

my config as below, the oxidized isn't recognized and not list device
is any way to debug it? thanks

model_map:
cisco: ios
cisco: iosxe
aruba: Aaosw
aruba: aosw

$config['oxidized']['maps']['group']['os'][] = array('match' => 'ios', 'group' => 'cisco');
$config['oxidized']['maps']['group']['os'][] = array('match' => 'iosxe', 'group' => 'cisco');
$config['oxidized']['maps']['group']['os'][] = array('match' => 'Aaosw', 'group' => 'aruba');
$config['oxidized']['maps']['group']['os'][] = array('match' => 'aosw', 'group' => 'aruba');
$config['oxidized']['maps']['group']['os'][] = array('match' => 'tmos', 'group' => 'f5');

@JoeyChen-NTUT
Copy link
Author

JoeyChen-NTUT commented May 1, 2024

I found the answer myself

Librenms config should setting as below
$config['oxidized']['maps']['group']['os'][] = array('match' => 'ios', 'group' => 'cisco');
$config['oxidized']['maps']['group']['os'][] = array('match' => 'iosxe', 'group' => 'cisco');
$config['oxidized']['maps']['group']['os'][] = array('match' => 'f5', 'group' => 'f5');
$config['oxidized']['maps']['group']['os'][] = array('match' => 'panos', 'group' => 'paloalto');
$config['oxidized']['maps']['group']['os'][] = array('match' => 'arubaos', 'group' => 'aruba');

oxidized config should setting as below
model_map:
cisco: ios
f5: tmos
paloalto: panos
arubaos: aosw
groups:
cisco:
username:
password:
model: cisco
f5:
username:
password:
model: f5
paloalto:
username:
password:
model: paloalto
aruba:
username:
password:
model: arubaos

there's a lot of naming miss match to debug with between Librenms and oxidized
and F5 also miss much f5 and tmos or arubaos and aosw in Librenms

Librenms os type need follow definitions
https://github.com/librenms/librenms/tree/master/includes/definitions
and use model_map to mapping such like arubaos: aosw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant