Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] cfgExplorer Object count errors #222

Open
CarlB-dev opened this issue Jul 13, 2023 · 1 comment
Open

[BUG] cfgExplorer Object count errors #222

CarlB-dev opened this issue Jul 13, 2023 · 1 comment

Comments

@CarlB-dev
Copy link

CarlB-dev commented Jul 13, 2023

While reviewing a customer's QKVIEW file, the Profiles and Monitors counts do not correspond with the total count of the "ltm profile " and "ltm monitor " strings that occur in the conf files.

System this was observed on is a v12.1.5.3 on an older 2000s appliance.
cfgExplorer output:
{
objectCount: 889,
sourceSize: 42982595,
objects: {
virtuals: 80,
profiles: 8, <-- Not accurate
policies: 7,
pools: 113,
irules: 2,
monitors: 3, <-- Not accurate
nodes: 91,
snatPools: 6,
dosProfiles: 1
},
sourceTmosVersion: '12.1.5.3',
parseTime: 2196.1374,
appTime: 29.3401,
fqdnTime: 0.211,
packTime: 0.9246
}

string "ltm profile " returns 209 Results across 5 bigip.conf files
string "ltm monitor " returns 98 Results across 5 bigip.conf files

@DumpySquare
Copy link
Member

We talked about the differences in how iHealth counts VS using stats somewhere in the qkview, which is not exactly the same number of virtual servers in the config files.

We also stumbled across a difference between the profiles and monitors. The following link to code, shows that code needs to be expanded to handle the different types of profiles and monitors and count all the children.
https://github.com/f5devcentral/f5-corkscrew/blob/bfddaf1307701c34e35d126c3be492e1ca65f6f5/src/objCounter.ts#L38

Opening an issue to track this enhancement in f5-corkscrew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants