Nginx FAQs

Nginx FAQs

1. Errors faced while adding an Nginx server :

  1.  Unable to connect to the host / port : 
    • This happens when AppManager is unable to connect to the Nginx server. Please check for the following :
      • Are the specified host name and port correct? 
      • Is the Nginx server up and running at the location specified?
      • Is the Nginx server accessible from the machine where AppManager is installed?
    • If the Nginx server is reachable, please contact support for further troubleshooting. 
  2. The request had bad syntax or was impossible to be satisfied : 
    • Check if SSL has been enabled. If yes, check if the "is SSL enabled" field has been enabled.
  3. Check the authentication details : 
    • This error occurs when the authentication credentials provided are either missing or incorrect.
    • To provide the authentication credentials, enable the "Is Authentication required" option in the monitor configurations page and provide the credentials. 

2. Upon adding the Nginx server, why am I  getting a "Please configure the stub status module in Nginx server conf file" warning message?
  • The stub status module needs to be activated for AppManager to monitor the Nginx server. 
  • To enable the module in the Nginx server, please do as follows :
    • Navigate to '<NGINX_HOME>/confand in the 'nginx.conf' file present there, add the following code snippet within the scope of the server : 
                              location /nginx_status {
                                stub_status on;
                                access_log   off;
                                allow all;
                                 # deny all;

          • Related Articles

          • Script Monitor FAQs

            Common queries, errors and troubleshooting: 1. To execute scripts other than .bat /.vbs  in Windows and .sh / .bash in Linux: It is better to execute the script in the form of a command. Eg. To execute python script, you can use command py ...
          • RBM - FAQs

            1. I am unable to create a new RBM monitor. Go to  the Support tab and check the license Information. Verify if "EUM Add-on" option is enabled. If it is not enabled, contact to purchase/trial the Add-on since RBM requires the ...
          • General FAQs

            While adding the Web Transaction Monitor I get the message 'Service is not running. Web Transaction Agent may not have been deployed’. This happens even when I have deployed the agent in my application server. Check if the Web Transaction Agent is ...
          • REST API Monitor - FAQS

            1. What should I do when Basic Authentication fails in REST API monitor? Verify if the credentials provided in the Applications Manager are correct. Try if sending username and password in Authorization request header works Get an BASE-64 encoded ...
          • AWS Monitor Addition - FAQs

            Best Practices while adding an Amazon monitor in Applications Manager:  Provide proper 'Display name' for the Amazon monitor. Select the Amazon services you want to discover from the Amazon services drop box. By default, all the services will be ...