Common Config Sources vs Legacy LM Config Sources
We use LM Config and have since day 1.
I’m wondering if any of you have migrated off the legacy LM Config sources and onto the “Common Config” method?
What sort of gaps in data did you have?
I’m sort of stuck on the idea of having to dump one for another or potentially have some that work only with legacy vs Common methods? Seems like it could be hard to manage.
Do you have any challenges today using the new way?
Shack
Posted 2 years ago·Last reply 2 years ago
1 comment
LM User
·2 years agoIt is hard to manage, but I’ve made some headway. There are still issues for me; I’ve got a long running ticket open with support about most of these issues:
Notice how they have “show running-config”, “show running-configuration”, and “show configuration” in there? Guess what returns the same thing on most Cisco devices? That’s because of command completion. However, it’s not the case for every Cisco device. Some devices don’t support command completion, so “show running-config” would fail while “show running-configuration” would succeed. The devs appear to have taken a shotgun approach method, attempting to capture every possible config in every possible situation without putting any “logic” in place (it’s not as if the company is called LogicMonitor” after all).
To rectify this, their solution is to have you put a property on the device that overrides this list. Their answer to the creation of duplicate instances is to have you override the work they built into the PropertySource. Instead, I just fixed the property source:
I did this after looking at the instances for all my devices and determining that the “show configuration” instance was never needed and that in every case that the “show running-configuration” and “show startup-configuration” instances were working, the shorter ones were also working. I could have added the property that overrode the values, but I would have then needed to make sure that the group where I applied the property contained the right devices, essentially duplicating the work that the AppliesTo on the PS was already doing.
I still have a ticket open to work out the rest of the bugs, the main one being that one a set of devices, i get the running-config showing up through the “interactive” CS, but not the other instances. Since the old CS did detect the other configs just fine, I want LM to figure out why the new one isn’t doing as well as the old one.