How do I uninstall an On-Premise Poller

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 servers and in a Linux-based Kubernetes environment.
 
Windows:
  1. Go to Admin > On-Premise Poller and delete the On-Premise Poller from the Site24x7 web client.
  2. Log in to the machine on which the On-Premise Poller is installed and stop the On-Premise Poller service. 
  3. Navigate to the directory in which the On-Premise Poller is installed and open the bin folder.
  4. Run the file uninstallService.bat
  5. Go to the programs menu in Control Panel and uninstall the On-Premise Poller.   
What if the uninstallation for Windows fails or throws an error?
  1. Check for java processes running which are originating from the On-Premise poller installed directory
  2. Stop all the processes in the task manager.
  3. Navigate to the directory in which the On-Premise Poller is installed and open the bin folder.
  4. Run the file uninstallService.bat

Linux:
On a Linux server, it is sufficient to delete the installation directory to uninstall the Poller.
  1. Go to Admin > On-Premise Poller and delete the On-Premise Poller from the Site24x7 web client.
  2. Run the command sudo service site24x7-onpremise-poller uninstall
  3. Navigate to the directory in which the On-Premise Poller is installed.
  4. Run the command rm -r Site24x7OnPremisePoller
In a Linux-based Kubernetes environment
On-Premise Poller can be uninstalled either
  1. Using a file
  2. Using a command line 
Using a file
For Amazon's Elastic Kubernetes Service (EKS), Microsoft's Azure Kubernetes Service (AKS), and Google's Kubernetes Engine (GKE) distributions, execute the below command in the terminal of the Kubernetes environment to uninstall On-Premise Poller:
kubectl delete -f site24x7-poller-statefulset.yaml

For OpenShift distribution, execute the below command to uninstall On-Premise Poller:
oc delete -f site24x7-poller-statefulset.yaml

Using a command line
For EKS, AKS, and GKE distributions, execute the below command in the terminal of the Kubernetes environment to uninstall On-Premise Poller:
kubectl delete sts <poller-sts-name> -n <namespace>
Example: kubectl delete sts xxx-s247poller-sts -n default

kubectl delete svc <poller-svc-name> -n <namespace>
Example: kubectl delete svc site24x7-poller -n default

For OpenShift distribution, execute the below command to uninstall On-Premise Poller:
oc delete sts <poller-sts-name> -n <namespace>
Example: oc delete sts xxx-s247poller-sts -n default

oc delete svc <poller-svc-name> -n <namespace>
Example: oc delete svc site24x7-poller -n default

    • Related Articles

    • How to stop the On-Premise Poller if it is running even after uninstalling

      The default directories for installing the On-Premise Poller are: Windows: C:\Program Files(x86)\Site24x7OnPremisePoller Linux: /opt/Site24x7OnPremisePoller Refer here to know how to uninstall an On-Premise Poller. If the On-Premise Poller is running ...
    • Starting the On-Premise Poller as a service in Linux

      For Linux, it is suggested to start the On-Premise Poller as a service. Use the command below to start the On-Premise Poller as a service: /etc/init.d/site24x7-onpremise-poller start If the error ./StartServer.sh: Permission denied occurs while ...
    • 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 ...
    • Prerequisites for an On-Premise Poller to be assigned as a standby for another On-Premise Poller

      The On-Premise Poller that is being associated as standby On-Premise Poller must not be in a down or suspended state. The On-Premise Poller version should be 4.3.0 or above. The On-Premise Poller should not have any monitor associated with it. The ...
    • 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 ...