I am attempting to not only monitor the number of hops, but also the IP addresses that are contained within. i know this is probably going to be a custom script but would like a little guidance in how this would be facilitated.
Any help and suggestions would be greatly appreciated
Regards
James
Article Comments
Hi James,
The sensor can not only check the number of hops, but also the route.
In the sensors settings page you can choose if the sensor should not only check the number of hops, but also the route by setting the "If route changes" option to warning or error. If one of the IP addresses in the route changes (compared to the last run of the sensor) the sensor will go into a warning or down state.
Note: in this case the warning or error is only visible until the next run of the sensor as by then the route will not have changed compared to the previous run.
Regards,
Mar, 2013 - Permalink
Hi, thank you for your replies
Can you elaborate on "as prtg needs numeric results to be processed as values for the channels the only way to implement this will be to concatenate the ip-addresses into a string and return this string as the result-text of the custom sensor. " for me please.
I understand in theory what you mean, but am i right in thinking i would need a custom sensor to run the tracert cmd and save the results to the logs of the probe?
ideally all i need is the hops in IP format piped to .txt once an hour?
Regards
James
Mar, 2013 - Permalink
Hello, James. Were you able to create a custom sensor for traceroute? I am also trying to create one. Please let me know.
Jul, 2013 - Permalink
Hi James,
as prtg needs numeric results to be processed as values for the channels the only way to implement this will be to concatenate the ip-addresses into a string and return this string as the result-text of the custom sensor.
This string will be displayed in PRTG as 'Last Message' but keep in mind that there is no way to trigger a notification on a change and you don't have historic data for the 'Last Message'-value.
Kind regards...
Mar, 2013 - Permalink