Oxidized configs, quotes marks showing as "

I’ve noticed that oxidized configs, when displayed in the WebUI, replace the " with "

So, for example:

If I look up a config in Oxidized directly, part of the config output might look like:
snmp-server name "my-hostname"

If I look it up in https://server.com/device/device=134/tab=showconfig/
For the same config line, I get:
snmp-server name "my-hostname"

Now, this is not the end of the world, but it bugs me slightly.

Any ideas?

PS.
This happens in Chrome and Firefox

====================================
Component | Version
--------- | -------
LibreNMS  | 1.29-102-gc40825f
DB Schema | 199
PHP       | 7.0.18-0ubuntu0.16.04.1
MySQL     | 10.0.29-MariaDB-0ubuntu0.16.04.1
RRDTool   | 1.5.5
SNMP      | NET-SNMP 5.7.3
====================================

[OK]    Database connection successful
[OK]    Database schema correct

Anyone have any ideas on this one?

I did a bit more digging.

If write a script to manually go to the URL for the default config on Oxidized and pipe it to a text file the quotes are there correctly.

If I put that into a web browser, the quotes are there correctly.

But if use https://server.com/device/device=134/tab=showconfig/ quote marks are replaced with "

This is in the default “Show version” mode, if I select “Show Diff” then it correctly displays the quote marks!

I’m not sure where to look now.

bump… :wink:

I have seen the same thing.

Do you know how to fix it? :slight_smile:

1 Like

Nope, I was hoping you did. :frowning:

Ah :smile:

I’m not sure if it’s a problem with the way LNMS is displaying the Oxidized output, or with the way that Oxidized is supplying it…

This is probably the same as https://github.com/ytti/oxidized-web/issues/142

1 Like