Start a Conversation

Solved!

Go to Solution

1560

May 18th, 2020 19:00

OME API - Discovery groups limitation ?

Hi, 

we have built automation around adding / removing the Devices into OME but as we adding more - currently have over 600 devices, we have bumped into some weird limitations. 

We have discovery group for each device.

When i run API to get all the discovery groups using postman

GET https://omehost/api/DiscoveryConfigService/DiscoveryConfigGroups

i dont receive all the discovery groups results - highest number is 179

I need to grab all the groups in order to get discovery group ID for specific device as the removal process /api/DiscoveryConfigService/Actions/DiscoveryConfigService.RemoveDiscoveryGroup requires discovery group ID 

Thanks

Marek

Moderator

 • 

790 Posts

May 26th, 2020 07:00

Hi Marek,

 

I got a reply. The software engineer reproduced it, it is correct that only the first 100 results are shown with

https://OME/api/DiscoveryConfigService/DiscoveryConfigGroups

To get more results you need to add something like this:

https://OME/api/DiscoveryConfigService/DiscoveryConfigGroups?$top=1002

My opinion on this (and I don't know anything about that API):
It seems to be a limitation in the API to keep the database traffic low. So if you need more, tell the API how much you wanna see.

Moderator

 • 

3.1K Posts

May 19th, 2020 01:00

Hi,

 

I might need more information about your situation. I'm in the midst of communicating with the OME experts.

 

What version of OME are you on? How many groups do you have currently? Do you have child group in the parent groups?

18 Posts

May 21st, 2020 01:00

Hello 

we are on the latest version OMEnt 3.3.1 build 12. 

We basically create discovery group for each device which add to OME - currently we are on 1000+ device means we have now 1002 discovery groups. 

There are no child / parent groups - they are all on  the same level. 

thanks

marek

 

18 Posts

May 21st, 2020 02:00

Hello

i have access to UI and i can see all 1002 discovery groups there - thats not an issue 

My problem is the API where i cant get more than 179 groups as a result of https://omehost/api/DiscoveryConfigService/DiscoveryConfigGroups

marek

 

Moderator

 • 

3.1K Posts

May 21st, 2020 02:00

Hi,

 

That's alot. I might need to check with the team if there is any limitation on displaying the groups in API.

 

Do you have access to the OMEnt UI, if you are able to view all groups there? If you manage to remove some groups, does the highest number is still 179?

18 Posts

May 23rd, 2020 19:00

Hello
correction to my previous post. Im getting only 100 discovery groups ( not 179 ) as i mentioned earlier.
regards
marek

Moderator

 • 

790 Posts

May 25th, 2020 02:00

Hi Marek,

 

I took over the case from Joey, I forwarded your information to our software guy and will let you know as soon as I got a response.

I will let you know if there is more information needed or what the next steps will be.

 

One thing I'd like you to do is sending me the systems service tag in a private message.

 

Best regards,

Stefan

18 Posts

May 25th, 2020 06:00

hi Stefan, thanks for taking over this. In regards of the service tag - do you want to have service tag of any of our system ? New OME is installed as an appliance and i cant find any service tag in there.
Marek

Moderator

 • 

790 Posts

May 26th, 2020 02:00

Hi Marek,

 

I need the ServiceTag from the system where you installed the appliance on. 

18 Posts

May 26th, 2020 18:00

Thanks Stefan, that helped to fix my problem
No Events found!

Top