How do I disable NSP websocket event notifications?

Purpose

Websocket-based events are used by some NSP functions. The following steps describe how to disable websocket event notifications, if required.

Note: The websocket connection used by the NSP may not function if a browser or any client is behind a proxy. Websocket communication through an entity between the websocket client and server, for example, a proxy server, firewall, or load balancer, is dependent on the entity configuration.

Note: The following RHEL CLI prompts in command lines denote the active user, and are not to be included in typed commands:

  • # —root user

  • bash$ —nsp user

Steps
 

Log in as the nsp user on the IP resource control server.


Open a console window.


Enter the following:

bash$ cd /opt/nsp/configure/config ↵


Open the wsc-security.conf file using a plain-text editor such as vi.


Modify the following section to read:

websocket {

enableEvents=false

 }


Enter the following to restart the web server:

Note: If the NSP deployment is redundant, you must perform the step on each IP resource control server.

systemctl restart nsp-tomcat ↵

The web server restarts, and websocket event notifications are disabled.


Close the console window.

End of steps