• 0

List of devices per collector and per site


Dominique
 Share

Question

Hello,

We have currently four sites A,B,C & D.

Each site has its own collectors (2,8,6,8) all our collectors are auto-balanced per site.

As we are putting in place SNMP Traps I would like to know if it is possible to have the list of devices persite?

Thanks,

Dom

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1
  • Administrators

I've had this DS hanging out in my portal for a while and never committed it to the repo nor my github. It's now on my github. Simply add your portal as a device and add the token with the appropriate property names. It'll create instance groups under the applied device, one group per Collector. Devices are created as instances under the Collector group it is assigned to (preferred collector).

image.png.76ed1500eab0e8dd993434c229cd9fe5.png

I also built this python script to automatically create dynamic resource groups. It creates Collector groups, with groups for each Collector in the group, then dynamically adds the devices.

image.png.308e552ff66bd39e83677fb22b23da07.png

Link to comment
Share on other sites

  • 1
  • Administrators

The python script that builds the dynamic groups shouldn't have any impact unless you're running it on the collector.  It makes a few GETs to find out what is present already and makes 1 call to create the parent group (if it doesn't already exist), 1 call per collector group to create the collector group groups, and 1 call per collector to create the collector group.  So, if you have 30 collectors across 3 groups, it makes up to 34 API calls.

The DS makes one API call for discovery and one for collection. 

All told, they should both be pretty lightweight.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share