Checking the accessibility of Site24x7 server from the On-Premise Poller

Checking the accessibility of Site24x7 server from the On-Premise Poller

Once you've installed the On-Premise Poller, perform the following actions to check if the On-Premise Poller can connect to Site24x7 servers. Ensure to allow access to the necessary ports.

Checking the accessibility of the domains plus.site24x7.com (.eu, .cn, .in, .net.au , .jp, .sa, .caplus2.site24x7.com (.eu, .cn, .in, .net.au , .jp, .sa, .ca):
  • If yes, your On-Premise Poller is connected to the Site24x7 server. If not, please check your network connectivity.
Steps to check the access, if you have installed using silent installation:
  • If you have installed your On-Premise Poller using silent installation, then enter the following command:
    wget plus.site24x7.com (.eu, .cn, .in, .net.au, .jp, .sa, .ca) 
  • If the On-Premise Poller is configured with a proxy, then enter the following command:
    wget -e use_proxy=yes -e https_proxy=proxy_host --proxy-user=proxy_username --proxy-password=proxy_password https://pluspoller.site24x7.com/ (.eu, .cn, .in, .net.au, .jp, .sa, .ca) 
    Here,
    replace proxy_host with your proxy host and port;
    replace proxy_username with your proxy user name;
    replace proxy_password with your proxy password.
Verify your accessibility with the response code 200.
Follow the same steps for the domain plus2.site24x7.com (.eu, .cn, .in, .net.au, .jp, .sa, .ca) by replacing the URL in the above commands.

Steps to check the access, if you have installed Site24x7 On-Premise Poller with proxy on a Windows machine:
Execute the following commands on the On-Premise Poller installed machine, using Powershell as an administrator for versions 5 and above:

$ProxyAddress = "http://proxy_url:proxy_port"
[system.net.webrequest]::defaultwebproxy = New-Object system.net.webproxy($ProxyAddress)
$CredCache = [System.Net.CredentialCache]::new()
$NetCreds = [System.Net.NetworkCredential]::new("username","password","domain")
$CredCache.Add($ProxyAddress, "Basic", $NetCreds)
[system.net.webrequest]::defaultwebproxy.credentials = $CredCache
[system.net.webrequest]::defaultwebproxy.BypassProxyOnLocal = $true 
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -uri "https://pluspoller.site24x7.com/" (.eu, .cn, .in, .net.au, .jp, .sa, .ca)

Here,
  • replace proxy_url with your proxy host IP and proxy_port with your proxy port.
    For example: $ProxyAddress = "http://192.168.100.100:3128/"
  • enter your proxy user name and proxy password in the place of username and password. Enter your domain name in the place of domain, if any, and an empty string if there is none.

For older versions of Powershell below 5, execute the commands on the On-Premise Poller installed machine as:


$ProxyAddress = "proxy_address" 
[system.net.webrequest]::defaultwebproxy = New-Object system.net.webproxy($ProxyAddress)
[System.Net.CredentialCache]$credentialCache = New-Object System.Net.CredentialCache
$credential = New-Object System.Net.NetworkCredential("username", "Password","domain")
$credentialCache.Add($ProxyAddress,"Basic",$credential)
[system.net.webrequest]::defaultwebproxy.credentials = $credentialCache
[system.net.webrequest]::defaultwebproxy.BypassProxyOnLocal = $true
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest -uri "https://pluspoller.site24x7.com/ (.eu, .cn, .in, .net.au, .jp, .sa, .ca)

Here,

  1. Replace proxy_address with your proxy host address
  2. For example: $ProxyAddress = "http://192.168.100.100:3128/
  3. Enter your proxy user name and proxy password in the place of username and password. Enter your domain name in the place of domain, if any, and an empty string if there is  none. 
You can check the PowerShell version using the command $PSVersionTable in the PowerShell console.

Verify your accessibility with the response code 200.


    • Related Articles

    • Configure proxy for an already installed On-Premise Poller

      Please follow the below steps for an On-Premise Poller installed in a Windows server: Go to the Run dialog box. Type in services.msc and press Enter. This will open Windows Services. Stop the service name SITE24X7_ONPREMISEMONITOR. i.e. Stop the ...
    • How secure is On-Premise Poller

      On-Premise Poller: Introduction On-Premise Poller, a lightweight agent, helps to monitor your internal network and resources behind a firewall or virtual private network (VPN). You can install On-Premise Poller in various branch offices within a ...
    • Troubleshooting steps for On-Premise Poller

      Prerequisites and basic details: Prerequisites for installing On-Premise Poller Necessary ports to allow access to the installed On-Premise Poller How secure is On-Premise Poller Amount of bandwidth consumed by the On-Premise Poller software Adding ...
    • How do I uninstall an On-Premise Poller

      The default directories for installing the On-Premise Poller are: Windows: C:\Program Files(x86)\Site24x7OnPremisePoller Linux: /opt/Site24x7OnPremisePoller Follow the steps given below to uninstall the On-Premise Poller from your Windows or Linux ...
    • Why is my On-Premise Poller not getting registered?

      Please find below the possible reasons for your On-Premise Poller not being registered: The most common cause is when your machine (where the agent is installed) might not be connected to the internet. Check if there are any connectivity issues with ...