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


Is it possible to add a sensor to multiple devices?

Votes:

1

Your Vote:

Up

Down

Hi,

I would like to know how can I add a sensor (a WMI Process sensor, for example) for all devices that is already discovered within a group.

Thank you very much.

devices multiple sensor

Created on Aug 27, 2010 6:36:15 PM by  Bruno Ruy (2) 2



22 Replies

Accepted Answer

Votes:

0

Your Vote:

Up

Down

The fastest method would be to clone the sensor in case:

Cloning is available for groups, devices, and sensors. Unlike the results when using the Create Device Template option, a cloned device will contain all objects of the original device, regardless of whether they bring about working sensors or not (which often depends on the settings of the cloned device).

The other option is to use a Device Template and Auto-Discovery to update existing devices with new sensors. You can use Multi-edit to perform a template-based auto-discovery on multiple devices at once.

Created on Aug 30, 2010 8:56:51 AM by  Patrick Hutter [Paessler Support] (7,164) 3 3

Last change on May 29, 2015 1:22:56 PM by  Luciano Lingnau [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi,

well, but it's possible to clone a sensor to only one device, isn't it? Is there a way to clone the sensor to more than one device or to one group (all devices within this group)?

Thank you

Created on Aug 31, 2010 5:03:12 PM by  Bruno Ruy (2) 2



Votes:

0

Your Vote:

Up

Down

Cloning is only possible on a 1:1-basis, which is why we recommend to use a Device Template (as suggested in the linked article) if you want to "copy" one (or more sensors) to several devices in one go.

Created on Aug 31, 2010 5:27:35 PM by  Torsten Lindner [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Does Device Template work for devices that is already created? If I'm not wrong, it will work (""copy" one (or more sensors) to several devices in one go") to devices that is not created yet, right? But I need to add a sensor to a group of devices thats is already created and is already being monitored.

Thank you very much.

Created on Aug 31, 2010 5:56:33 PM by  Bruno Ruy (2) 2



Votes:

0

Your Vote:

Up

Down

The Auto-Discovery and the Device Templates can be used with existing devices. You would configure the settings appropriately (choose the template for the Auto-Discovery in the Groups settings or on the individual devices) and then run the Auto-Discovery.

Created on Aug 31, 2010 5:59:01 PM by  Torsten Lindner [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Is this going to be added in PRTG 12? it would make things a lot easier and quicker.

Created on Sep 12, 2012 6:46:14 PM by  lundholmster (0)



Votes:

0

Your Vote:

Up

Down

Hi,
we are already on PRTG 12 but I'm afraid there are no changes. Sorry.
Best regards

Created on Sep 13, 2012 9:37:23 AM by  Konstantin Wolff [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Hi

I am also requesting to copy single sensor to multiply devices.

Karl

Created on Nov 27, 2012 9:58:15 AM by  karllinder (0)



Votes:

0

Your Vote:

Up

Down

Hi,
we we will put this on the wishlist for upcoming releases.
Best reagrds

Created on Nov 27, 2012 10:24:06 AM by  Konstantin Wolff [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Needed - yes please!

Created on Mar 28, 2013 11:22:33 PM by  Andrew (50) 1 1



Votes:

0

Your Vote:

Up

Down

You vote is counted.

Created on Mar 29, 2013 6:15:13 AM by  Aurelio Lombardi [Paessler Support]



Votes:

0

Your Vote:

Up

Down

* UP *

What about adding a sensor to multiple devices? Is it still not possible, my company is using PRTG v12.4 (I know it's getting old)?

I'm requested to add a customized pingsensor to several devices, each devices are in different area.

I am aware about the possibility to change settings to more then one sensor at the time, however I need to add this sensor to the devices...... that's where my problem started

Do you guys have an advice for me?

Regards

Matt

Created on Jun 12, 2014 3:27:30 PM by  mdurupt (0) 1



Votes:

0

Your Vote:

Up

Down

In your case you can go to the management tab and drag and drop the sensor that you customized onto the other devices and it will clone the sensor with your settings.

Created on Jun 13, 2014 1:51:28 PM by  Greg Campion [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Is this still on the wishlist? If so please add my vote.

Created on Dec 1, 2015 8:07:19 PM by  Wouter Hindriks (10) 1



Votes:

0

Your Vote:

Up

Down

plus one

Created on Jan 7, 2016 3:38:33 PM by  samfre (1) 1



Votes:

0

Your Vote:

Up

Down

+1

Created on Mar 30, 2016 6:40:36 AM by  Tom (0)



Votes:

9

Your Vote:

Up

Down

I do this pretty often, but in Powershell:

Import-Module "C:\Powershell\Modules\PRTG\PRTG.psm1"
$Devices = Get-prtgDevicesInGroup | where {$_.tags -contains "testtag"}
$Sensors = Get-prtgSensorInGroup | where {$_.id -eq "2047"}
Add-prtgSensorToDevice -DevicesScriptBlock {$Devices} -SensorScriptBlock {$Sensors}

More details in my site: https://thedomainiown.wordpress.com/prtg-related/adding-a-sensor-to-a-device/

Created on Mar 30, 2016 10:30:51 PM by  AndrewG (1,781) 2 2



Votes:

0

Your Vote:

Up

Down

@AndrewG: Just wanted to say great work on the PowerShell module for accessing the API. This just saved me a load of hassle adding a new sensor to dozens of devices, so a huge thank you for this!

I did have to make a small change to the call though because the -contains operator didn't seem to find the tags correctly. Using -like with wildcards instead worked a treat though. I also had to change the module a bit as we only use SSL for the PRTG admin website, so it didn't work until I did a find and replace in the module to change all the URLs to use the HTTPS URL instead.

Created on May 20, 2016 4:32:28 PM by  roadrunner12 (10)



Votes:

0

Your Vote:

Up

Down

Congrats to @AndrewG to his PS module and just to say that is very sad from Paessler that we're already in version 16 and this (basic) feature hasn't been implemented yet. I'm a big fan of PRTG and I recommend it to everyone, but this is a huge gap in a monitoring tool, very difficult to excuse...

Created on Oct 14, 2016 11:11:00 AM by  KoNXuRo (0)



Votes:

1

Your Vote:

Up

Down

@Roadrunn12, @KoNXuRo thanks for the feedback.

I have been not using PRTG for the last 6 months, but just got it approved at my current place of work, so the Powershell admin module should continue to grow.

Changing http to https should be a simple find and replace - I will place that in a variable when I get around to it. Thanks for the -like / -contains comment - This has caught me about before.

Also, I just updated the page and added a comment that explains how to add multiple HTTP sensors based on info from a txt file:

Created on Oct 18, 2016 11:08:04 PM by  AndrewG (1,781) 2 2

Last change on Oct 19, 2016 4:21:02 AM by  Luciano Lingnau [Paessler Support]



Votes:

0

Your Vote:

Up

Down

This should be a standard feature in PRTG, everything that leads to repetitive manual labor should be automatize-able. Especially if it affects hundreds of servers... It should not lead to rather not adding anything because of the huge amount of time involved, or having to revert to a third party work-around (thanks AndrewG though).

Paessler, please make it possible in multi edit for instance to add a sensor. (easy enough to find all WMI sensors with uptime as filter and then add a sensor from a list of available ones already added, or create on on the fly. Cloning one by one, as I have seen suggested on other KB articles is daft. In short, fix this. Thanks

Created on Sep 19, 2018 10:12:11 AM by  ahoppe (50) 1



Votes:

0

Your Vote:

Up

Down

Hello ahoppe,
thank you for your input.

One of the reasons why this isn't possible, is that while manually batch adding sensors is an improvement it is still not the 'optimal' solution. Even better than manually batch-adding sensors is relying on the auto-discovery process to do so. Using the Auto-Discovery with custom Device Templates allows for lots of flexibility with little manual work (after the initial setup).

Basically, you need to add one or more sensor(s) to a single device manually first to create the initial device template. Then, you can perform an auto-discovery with this very template on as many devices as you want. The result will be, these sensors (or sensor types) being deployed on all servers that you've selected to do the discovery on (You can use multi-edit to configure/discover multiple devices at once).

The template can have one or more sensors, so instead of having an "Uptime" template (that adds only this sensor) you could have a "webserver" template, that adds all relevant sensors in one go.

There are some caveats to the Auto-Discovery process that need to be taken into consideration: For example, if you chose to do this for the SNMP System Uptime sensor, a single sensor will be deployed every-time. However, if you do this for the SNMP Traffic Sensor, it will result on multiple sensors (on per active interface) on each device after the discovery, since each device may have one or more distinc interfaces and it is impossible for the auto-discovery to decide "which one is the most important one".

Best Regards,
Luciano Lingnau [Paessler Support]

Created on Sep 19, 2018 12:16:55 PM by  Luciano Lingnau [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.