Hi,

I have a list of ip's that i need to add, they only need to have ping sensor.

/Casper


Article Comments

Hello Casper,

The best approach to only monitor sensors of your choice might be device templates. You can create your very own device templates to apply the exact same sensors and settings to newly created devices. You can create a dummy device, only with the sensors of your interest and save the template with a right-click on the device name.

Afterwards, you can e.g. create a new group and choose
Settings | Device Type | Automatic sensor creation using specific device template(s) and mark the newly created template. Choose List of individual IPs and DNS names (IPv4) and enter your devices.

Best regards, Felix


Aug, 2017 - Permalink

I just created this custom sensor for the same task It's static but it works :)

$Result = 0 IF (test-connection -ComputerName 10.1.1.252 -count 1) { $Result = 252 } elseif (test-connection -ComputerName 10.1.1.253 -count 1) { $Result = 253 }

$v=[string]$Result+":OK" write-host $v


May, 2019 - Permalink