This is indeed going to take a while, 11 days to be precise, if my math adds up. How about a different approach. Use something like this instead, create working devices only and start an autodiscovery on them?
# add the new device to the group with the template
$Group = Get-Group -Id <id of group>
# run Get-DeviceTemplate to get a list of templates
$Group | Add-Device -Name "$address" -Host "<a-test-server-that-is-pingable>" -Template "Generic Device (Ping Only)" -AutoDiscover
You could run the script every day via scheduled tasks instead of using the auto discovery, which ...well...doesn't scale properly here :D
PRTGapi |
Feature Requests |
WMI Issues |
SNMP Issues
Kind regards,
Stephan Linke, Tech Support Team
Add comment