VyOS devices suddenly appears as Vyatta devices #4486

Closed
sliddjur opened this Issue Sep 19, 2016 · 3 comments

Projects

None yet

2 participants

@sliddjur
sliddjur commented Sep 19, 2016 edited

DO NOT DELETE THIS INFORMATION.

Please read this information carefully.

  • Is your install up to date? Updating your install
    Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.
  • Please include all of the information between the ==== Version info: Commit SHA: 669a2d2b55040fc14961c1bb9cbe51641ef0adb4 DB Schema: 134 PHP: 5.5.14 MySQL: 10.0.22-MariaDB RRDTool: 1.4.7 SNMP: NET-SNMP version: 5.7.3
    section of ./validate.php.
  • If you would like us to add a new device then please provide the information asked for here
  • Please provide as much detail as possible.

On the 7th of september 01:10am CEST our devices changed reported OS in librenms from vyos to vyatta. This causes problems when feeding oxidized with os-info into groups.

From device/device=21/tab=logs/:

2016-09-07 01:10:46 System  OS Features -> VyOS 1.1.5
2016-09-07 01:10:25 System  Device OS changed vyos => vyatta
2016-09-07 01:10:25 System  Device Icon changed vyos => vyatta

From device/device=21/tab=overview/:

Vyatta VyOS 1.1.5
System Name vyosrouter001
Resolved IP 1.1.1.1
Operating System    Vyatta 1.1.5 (VyOS 1.1.5)
@murrant
Contributor
murrant commented Sep 19, 2016

I don't understand why the same OS is defined twice. We run discovery alphabetically now, that is why it changed...

I'd suggest using model_map in your oxidized config while we get this sorted.

model_map:
  vyatta: vyos
@sliddjur

@murrant thanks for tips, we are already doing that. It only tells oxidized to handle vyos os the same way as vyatta os.

The problem is that we have different auth on vyos and vyatta, so we need to have them set apart by different groups, which LibreNMS is supposed to do.

@murrant
Contributor
murrant commented Sep 19, 2016

Oh, ok. Good to know, thanks.

@murrant murrant referenced this issue Sep 19, 2016
Merged

fix: vyos discovery #4488

2 of 2 tasks complete
@laf laf closed this in #4488 Sep 19, 2016
@laf laf added a commit that referenced this issue Sep 19, 2016
@laf laf fix: vyos discovery fix #4486
fix: vyos discovery fix #4486
6c07e4d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment