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:
Steps
1 |
Log in as the nsp user on the IP resource control server. |
2 |
Open a console window. |
3 |
Enter the following: bash$ cd /opt/nsp/configure/config ↵ |
4 |
Open the wsc-security.conf file using a plain-text editor such as vi. |
5 |
Modify the following section to read: websocket { enableEvents=false } |
6 |
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. |
7 |
Close the console window. End of steps |