I am looking to see what the ISP-assigned IP address of the remote computer that is running PRTG Network Monitor. I see the local network IP address assigned by the local router as reported by Network Monitor, but I am looking to discover what the public IP address is. Is there a sensor that would show this?
Is there a sensor that shows the ip address of the remote computer
Votes:
0
Best Answer
Votes:
0
I fitted Peters idea into a new custom sensor and added a few extra's:
PTF.ExternalIP
This sensor gets the ISP-assigned IP address of the Probe.
- If the IP has changed since the last scan, the sensor goes into a warning state.
- Proxy settings are automatically taken form your IE settings
Note: The IP address is obtained using www.whatismyip.com Their rules of engagement state that any automated process must not hit their site more than once every five minutes. So the scanning interval of this sensor must be set to five minutes or higher.
The sensor can be downloaded from this page
Created on Jun 20, 2011 11:00:07 AM
Last change on Aug 29, 2016 2:58:42 PM by
Erhard Mikulik [Paessler Support]
7 Replies
Votes:
0
Hello,
you can do that yourself by writing a batch-script or maybe Visual Basic, which parses the result of the 'ipconfig'-command, and then returns the IP to PRTG as the message part of the sensor result.
best regards.
Votes:
0
a little help:
Get_Public_IP.ps1
#Please read the rulez here http://www.whatismyip.com/faq/automation.asp $webrequest = [System.Net.WebRequest]::Create("http://automation.whatismyip.com/n09230945.asp") $webresponse = $webrequest.GetResponse() $requeststream = $webresponse.GetResponseStream() $stream = new-object System.IO.StreamReader $requeststream $result = [string]$stream.ReadToEnd()+":OK" write-host $result
Votes:
0
I fitted Peters idea into a new custom sensor and added a few extra's:
PTF.ExternalIP
This sensor gets the ISP-assigned IP address of the Probe.
- If the IP has changed since the last scan, the sensor goes into a warning state.
- Proxy settings are automatically taken form your IE settings
Note: The IP address is obtained using www.whatismyip.com Their rules of engagement state that any automated process must not hit their site more than once every five minutes. So the scanning interval of this sensor must be set to five minutes or higher.
The sensor can be downloaded from this page
Created on Jun 20, 2011 11:00:07 AM
Last change on Aug 29, 2016 2:58:42 PM by
Erhard Mikulik [Paessler Support]
Votes:
0
Use this website to show both internal and public IP address of your computer. http://whatismylocalip.com
you can read also some facts inside the site.
Votes:
0
The log will show the public ip address of the remote probe when it connects.
Votes:
0
Hi All,
Is this ExternalIP.exe sensor still working?
I am just getting this error instead of the returned IP address.
XML: The returned XML does not match the expected schema. (code: PE233) -- JSON: The returned JSON does not match the expected structure (Invalid JSON.). (code: PE231)
Thanks
Created on Mar 4, 2021 3:20:42 PM
Last change on Mar 4, 2021 5:58:28 PM by
Felix Wiesneth [Paessler Support]
Votes:
0
All Solved, I was using the EXEXML folder to store the ExternalIp.exe, it just needs to go into the EXE folder and Set placeholders as environment values needs to be set in the sensor settings
Add comment