New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


How can I turn off Auto Discovery?

Votes:

0

Your Vote:

Up

Down

Hello,

Is it possible to turn off auto-discovery? After my PRTG installation, I run the auto-discovery. The auto-discovery works fine and finds all devices. So after the auto-discovery was finished, I deleted all the client workstations in PRTG, because I won`t monitor them. Yesterday the auto-discovery started automatically (I found no option to disable the auto-discovery) and all client workstations that I deleted are back. I don`t want to see all the client workstations. How can I configure PRTG so that these devices are not added?

Thank you.

Manuel Reimer

auto-discovery prtg scan

Created on Oct 15, 2010 8:16:42 AM by  Manuel Reimer (1) 1

Last change on Jul 4, 2018 11:53:51 AM by  Brandy Mauff [Paessler Support]



11 Replies

Accepted Answer

Votes:

0

Your Vote:

Up

Down

Automatic auto-discovery is set on group or device level. You can change it in your group's or device's settings, section Group Type or Device Type, setting Sensor Management.

The easiest way to disable auto-discovery for all devices is to use multi-edit: From the main menu in the PRTG web interface, select Devices | Device List, select all of your devices and click the settings symbol. You can then change Automatic device identification for all devices simultaneously and Save your settings.


Tip: You can disable the initial auto-discovery in a fresh PRTG installation. Simply run the installer in command prompt and add /NoInitialAutoDisco=1 as parameter.


Created on Oct 15, 2010 8:52:52 AM by  Daniel Zobel [Paessler Support]

Last change on Jul 5, 2018 2:17:09 PM by  Gerald Schoch [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hello,

is there any planning to build a "global switch" that the autodiscovery can be disabled? We use the PRTG in the company within multiple plants and sometimes colleagues from different plants use the autodiscovery.

It would be great if there is an global switch for me as Appllication Admin to disable this function global.

Thx! Regards Christoph

Created on Aug 1, 2016 11:58:28 AM by  ckaufinger (0)



Votes:

0

Your Vote:

Up

Down

As of right now, it's not planned to implement such a kill switch. It's probably easier to advise the colleagues to avoid autodiscoveries whenever possible :)

Created on Aug 1, 2016 12:11:50 PM by  Stephan Linke [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi,

unfortunately there are about 280 colleagues in the field. Sure there is the advice that they are not allowed to use this. But there is always some fluctuation or some new collegaues that don't know or simply don't care about this.

Can you please put this on a roadmap? I know that the priority would not be to high (maybe some other customers would also find this nice) but maybe it's not too much work to implement such a feature.

Thanks!

Created on Aug 1, 2016 2:22:41 PM by  ckaufinger (0)



Votes:

1

Your Vote:

Up

Down

Not a setting, but you can monitor the config file for devices / groups with an enabled auto discovery:

[string] $ConfigurationFilePath = ((Get-ItemProperty -Path "hklm:SOFTWARE\Wow6432Node\Paessler\PRTG Network Monitor\Server\Core" -Name "Datapath").DataPath) + "PRTG Configuration.dat"
   [xml] $configuration = New-Object -TypeName XML;
         $configuration.Load($ConfigurationFilePath)

[System.Collections.ArrayList]$ADEnabledGroups = @();
[System.Collections.ArrayList]$ADEnabledDevices  = @();

$Groups = ($configuration.SelectNodes("//group"))
$Devices = ($configuration.SelectNodes("//device"))

foreach($Device in $Devices){
    if($device.data.discoverytype.trim() -ne 0)
    { $ADEnabledDevices.Add($device.id); }
}

foreach($Group in $Groups){
    if($group.data.discoverytype.trim() -ne 0)
    { $ADEnabledGroups.Add($group.id); }
}

if($ADEnabledDevices.Count -eq 0)
{ $DeviceMsg = "No devices with AutoDiscovery found." }
else
{ $DeviceMsg = [string]::Format("Devices with AutoDiscovery found: {0} ({1})",$ADEnabledDevices.Count,$ADEnabledDevices -join ", ") }

if($ADEnabledGroups.Count -eq 0)
{ $GroupMsg = "No groups with AutoDiscovery found." }
else
{ $GroupMsg = [string]::Format("Groups with AutoDiscovery found: {0} ({1})",$ADEnabledGroups.Count,$ADEnabledGroups -join ", ") }

$Msg = [string]::Format("{0} | {1}",$GroupMsg,$DeviceMsg);
$Count = $ADEnabledGroups.Count + $ADEnabledDevices.Count;

Write-Host ([string]::Format("{0}:{1}",$Count,$Msg))

Note
Since the script checks the configuration, it will take 10 minutes until a configuration change (i.e. an activated auto discovery) will be noticed.


Note that you need to set a limit, preferrably to an upper error limit of 0. Save it to <PRTG>/Custom Sensors/EXE/find-autodiscoveries.ps1 and create a new EXE/Script sensor. Select the script and it should run. Will look somewhat like this:

Created on Aug 2, 2016 7:43:11 AM by  Stephan Linke [Paessler Support]

Last change on Nov 29, 2017 8:26:28 PM by  Sebastian Kniege [Paessler Support]



Votes:

0

Your Vote:

Up

Down

This original thread is really old, but what is the easiest way to turn off all of the auto-discovery options in the most recent version of PRTG (just installed PRTG Network Monitor 17.2.31.1977) and want to turn off everything so I can just manually define 3 sensors and use the free version. thanks

Mark

Created on May 17, 2017 3:13:26 PM by  quickslip (0)



Votes:

0

Your Vote:

Up

Down

Hi quickslip,

If you already installed PRTG, the best approach is to delete the Network Discovery group which will be automatically created due to the initial auto-discovery. Please note, that this will delete each sensor, device and group underneath, so it's only recommended in the very beginning.

If PRTG is not installed yet, you can run the installation file from the command line adding the parameter /NoInitialAutoDisco=1 to disable the intial auto-discovery. Please find an overview over all command line codes here.

Kind regards,
Sebastian

Created on May 18, 2017 11:16:09 AM by  Sebastian Kniege [Paessler Support]



Votes:

0

Your Vote:

Up

Down

In the script referenced in the knowledgebase (find-autodiscoveries.ps1) there is a code snippet:

foreach($Device in $Devices){ if($device.data.discoverytype.trim() -ne 0) { $ADEnabledDevices.Add($device.id); } }

My question is the return values for the discoverytype - I have looked extensively through the documentation to see if I can see what the possible return values are (possibly allowing a switch statement instead of a simple if) but they are nowhere that I can find.

Are the values simple 0 - autodiscovery off and 1- autodiscovery on ? What I am trying to do is tune the sensor so that it only shows me autodiscoveries that are ongoing (ie: no single run first discoveries).

Created on Nov 29, 2017 6:01:47 PM by  Darrin Domoney (0) 1

Last change on Nov 29, 2017 8:26:53 PM by  Sebastian Kniege [Paessler Support]



Votes:

0

Your Vote:

Up

Down

The script doesn't check for currently running, they're triggered for the corresponding object and are not stored in the config. You can just differentiate the various type of configured auto discovery types.


Kind regards,
Stephan Linke, Tech Support

Created on Nov 30, 2017 10:14:24 AM by  Stephan Linke [Paessler Support]



Votes:

0

Your Vote:

Up

Down

PRTG Will not add a global auto-discovery disable because then loads of people would use it to the 100 probe free limit. As it stands most echs have much more than that on their networks and therefore after the 30 day free trial your 100 free probes will be swamped and the license void. Lame.

Created on Nov 22, 2018 9:45:37 PM by  rod955i (0) 1



Votes:

0

Your Vote:

Up

Down

There is no default global auto discovery that runs all the time (apart from the Network Discovery group, which is deletable). The initial Auto Discovery is to enable all administrators installing PRTG have a quick start within their network without having to configure it all manually (and potentially forget about that disk sensor on the mail server).

Just to be clear, even that initial auto discovery can be disabled by simply pausing or deleting the Network Discovery group. The script I posted back then is to find Discoveries that were configured, but forgotten about.


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team

Created on Nov 23, 2018 7:01:43 AM by  Stephan Linke [Paessler Support]

Last change on Nov 23, 2018 7:28:19 AM by  Stephan Linke [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.