I have been struggling for some time to get my head around a problem I’m having getting oxidized to interface with Librenms.
Validate is good, curl to oxidized works. No firewall installed. Librenms works perfectly, oxidized gets the switch config and stores it in a git repository. I can read the repository and confirm that the switch configuration is correct. I haven’t tried versioning yet though.
The problem is, I open the switch device in Librenms, I now have a ‘Config’ tab but it comes back with an error:“We couldn’t retrieve the device information from Oxidized”. The only thing that looks wrong to me is I can’t get the Librenms YAML checker to work. My config is good on other YAML checkers. My config file always has the error: Tags support is not enabled. Enable the
“Yaml::PARSE_CUSTOM_TAGS” flag to use “!ruby/regexp” at line 13 (near “prompt: !ruby/regexp /^([\[email protected]]+[#>]\s?)$/”). I tried other configurations I found in searches and they also return the same error. I’m guessing it isn’t my oxidized config file that is the issue, but something else. My installation is based on the Ubuntu 18.04 OVA VM and updated to 1.67.
- [email protected]:~$ ./validate.php
- Component | Version
- --------- | -------
- LibreNMS | 1.67-8-g661a518de
- DB Schema | 2020_08_28_212054_drop_uptime_column_outages (173)
- PHP | 7.4.9
- Python | 3.6.9
- MySQL | 10.1.44-MariaDB-0ubuntu0.18.04.1
- RRDTool | 1.7.0
- SNMP | NET-SNMP 5.7.3
- [OK] Composer Version: 1.10.10
- [OK] Dependencies up-to-date.
- [OK] Database connection successful
- [OK] Database schema correct