I want to set up a traceroute sensor for external destinations like say for example, google.com. In the traceroute sensor settings, there is no option to specify URL.


Article Comments

Hi,
the traceroute sensor will always use its parent device as target. So you will have to create a device in PRTG which represents google.com and place the sensor on this device.
Best regards


Jun, 2013 - Permalink

Thanks a lot, Wolff. I have a few questions; 1). So, if I need to create the traceroute sensors for different external websites, I need to create a device for each of them? 2) . I go with the same procedure as adding a new device, only in the IPv4/DNS Name I enter www.google.com? 3). Is there no other way to create traceroute sensors for external websites under one device?


Jun, 2013 - Permalink

Hi, please see my answers below:
1). So, if I need to create the traceroute sensors for different external websites, I need to create a device for each of them?
Yes
2) . I go with the same procedure as adding a new device, only in the IPv4/DNS Name I enter www.google.com?
Yes
3). Is there no other way to create traceroute sensors for external websites under one device?
No I'm afraid this is not possible.


Jun, 2013 - Permalink

Perfect! I was able to add a traceroute to google. However, it just shows the number of hops. Is it possible to see the actual hops to determine which hop is having latency issues? Like you see in the tracert?


Jun, 2013 - Permalink

I'm afraid the sensor does only show the hop count and is not able to show the single hops. If you are in need to show the hops, you might use a own script and run the same with an EXE/Script Sensor.
EDIT: An example for a powershell script can be found here but it has to be adjusted.


Jun, 2013 - Permalink

I copied the script and saved it as .ps1 and added it to the /Custom Sensors/EXE sub-directory of the probe system's PRTG program directory. But, when I go to add sensor, that file isn't displayed for selection.


Jul, 2013 - Permalink

Was able to add in the custom sensor. But, it throws out the error Handle is invalid (0x6).


Jul, 2013 - Permalink

Please make sure that the Custom Sensor follows the 'rules' for the format of the return value and message

value:message

Further Details can be discerned in your very own PRTG under "Setup"->"PRTG API"->"Custom Sensors".
Please also consider implementing debug log output into the script, so that you can see where it might fail/break.


Jul, 2013 - Permalink