Monitor UCS and using oxidized


#1

Hello,

I’ve recently added a UCS to libreNMS but having issues getting oxidized to work with it, I’m posting this under LibreNMS instead of oxidized because I think that the best solution would be if librenms can see the UCS as a UCS. Currently libreNMS recognizes the UCS as a device running NXOS. The major issue comes to oxidized, it sees the device as NXOS and runs incorrect commands when trying to grab the configuration.

====================================

Component Version
LibreNMS 1.51-55-ge599487
DB Schema 2019_02_10_220000_add_dates_to_fdb (132)
PHP 7.2.17-1+ubuntu16.04.1+deb.sury.org+3
MySQL 10.0.38-MariaDB-0ubuntu0.16.04.1
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3

====================================

[OK] Composer Version: 1.8.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Oxidized:
! show version
! System version: 4.0(2d)
! show inventory
! ^
! % Invalid Command at ‘^’ marker
! show running-config
^
% Invalid Command at ‘^’ marker

Currently I’m using the below configuration in oxidized where test is for the UCS, I’ve looked a little bit on overrides but unable to crack it.
model_map:
cisco: ios
test: ucs

groups:
  asa:
    username: username
    password: password
    vars:
      enable: password

  test:
    username: username
    password: password