I'm wondering how long a discovered device that can't be inventoried will stay in the discovered list.
So in the user guide we have some examples of configuration of our modules in Inventory 5 Server.
For more advanced settings you can get these by running a specific command to get the entire server configuration output to an xml or txt file for example.
I advise caution and be careful with these advanced settings.
In a elevated command prompt you would simply run C:\Program Files\Snow Software\Snow Inventory\Server\snowserver.exe dmc > serverconfig.txt and you will have a txt file with all settings that are in use stored in that path.
For the discovery cleanup we've talked about we have the following:
<Module typeName="SnowSoftware.Inventory.Server.DiscoveryCleanupModule"> <Setter propertyName="Interval">"1.00:00:00"</Setter> <Setter propertyName="LifetimeLength">"7.00:00:00"</Setter> <Setter propertyName="IsEnabled">true</Setter> </Module>
So if you want to modify these settings you need to do add them to snowserver.config to override the default setting.
Simple edit the snowserver.config and add the settings I mentioned above with your modifications.
It needs to be included in the <ModuleConfiguration> tag.
So my configuration looks like this:
<ModuleConfiguration> <Module typeName="SnowSoftware.Inventory.Server.MasterServerModule"> <Setter propertyName="SnowLicenseManagerConfigurarionUri">"http://localhost:81/IDX/InventoryConfigUpdate.ashx"</Setter> </Module> <Module typeName="SnowSoftware.Inventory.Discovery2.AnnouncementsProcessingModule"> <Setter propertyName="IsEnabled">true</Setter> <Setter propertyName="BatchSize">0</Setter> <Setter propertyName="Interval">"00:00:05"</Setter> </Module> <Module typeName="SnowSoftware.Inventory.Server.DiscoveryCleanupModule"> <Setter propertyName="Interval">"1.00:00:00"</Setter> <Setter propertyName="LifetimeLength">"3.00:00:00"</Setter> <Setter propertyName="IsEnabled">true</Setter> </Module> </ModuleConfiguration>
The ModuleConfiguration needs to be in it's in own tag and can't be added within another tag such <Master>
As you can see I have 3 modules specified here, first for web applications,2nd for some modifications for the processing of discovery/announcement data(for testing) and then the last is our setting for CleanupModule.
Once done simply save and then restart the Snow Inventory Server 5 service.
If anything is unclear let me know and I'll explain things more clearly.
I am guessing you are talking about the Discovery option on Inventory 5 but it is not clear from your post.
I dont know the specific answer to your question, I hope someone else can provide that. But from our experience, I have never found out how long they will sit there, once we have completed our discovery we create deployments to the computers we want to manage, then we delete those that are no use to us, that way they no longer appear in out list as discovered devices.
Hi Martine, we have discovery cleanup functionality in place that runs in the background and will by default keep the discovery data for 7 days and after that clean it out.
This can be modified in the snowserver.config for Inventory Server and I can provide you the technical details if needed.
If the devices aren't removed from your active directory/network they will still be collected and populated in that list.
Could you please share technical details you've mentioned? I would like to configure Inventory Server 5 to clean discovery data after 1 day (same way as in Inventory 3 + Daily scan of AD Discovery) as our customers request, but could not find any information in Inventory 5 user guide on what XML elements to add.
Thank you in advance!
Thank you! This is exactly was I was looking for.I would also suggest adding description for dmc command into user guide, as latest document contains only an empty description for this useful feature.
Glad to hear that!
Thanks for the feedback, I will bring this up with the inventory team.
Because of the many computers & servers we have in test for only a few days this is exactly what I need.
A possibility to clean-up of the discovery list without changing things in the Active Directory.
Thank you very much!
Have a nice day!
Retrieving data ...