New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class
570 views

Managment Pack Nginx not work

Jump to solution

We create a case for work Managment Pack Nginx, but the case was closed and was told to search for the answer in forum.

Not triggered Discovery, I will describe your problem step by step

Install RTSM package HPOprNginx.zip with errors (attached screenshots)

But in IT-Universe Manager CI Nginx not create.

Version Nginx 1.11.6

 

 

Labels (1)
Tags (1)
0 Likes
14 Replies
Highlighted
Absent Member.
Absent Member.

Hi,

so basically, the MP works and behaves correctly. But you need to upload the RTSM package differently:

Alternative way:

copy HPOprNginx.zip to C:\HPBSM\odb\conf\factory_packages\content

(or equivalent on Linux)

and run

C:\HPBSM\opr\bin>opr-upload-ucmdb-package.bat HPOprNginx.zip

 

 

View solution in original post

0 Likes
Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Thanks for the help. It worked!


[root@amber ~]#  ovdeploy -cmd "ovcodautil -dumpds NGINX" -host meret182
===
02/06/17 14:40:01|NGINX_AVAILABILITY_Id         |Nginx#meret182.ca.sbrf.ru|
02/06/17 14:40:01|AVAILABILITY                  |      1.00|
===
02/06/17 14:40:01|NGINX_Id                      |Nginx#meret182.ca.sbrf.ru|
02/06/17 14:40:01|RESPONSETIME                  |      0.03|
02/06/17 14:40:01|ACTIVECONNECTIONS             |      0.00|
02/06/17 14:40:01|REQPERCONNECTION              |      0.00|
02/06/17 14:40:01|REQPERSEC                     |      0.00|
02/06/17 14:40:01|CONNPERSEC                    |      0.00|
02/06/17 14:40:01|AVERAGEREQPERSEC              |      0.00|


Why metric data not collected?
TOTALREQCOUNT
ACCEPTEDCONNECTIONS
HANDLEDCONNECTIONS
READREQUEST
WRITEREQUEST
WAITREQUEST

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Did you do this step described in the nginx manual?

Note: Modify the Nginx Web Server Configuration File and add /nginx_status module that is

loaded as part of Nginx Web Server configuration. You must ensure that the nginx_status

module is loaded as part of Nginx Web Server configuration to retrieve the performance metrics

from Nginx Web Server.

Refer to the following example:

location /nginx_status {

stub_status on;

access_log off;

allow <Local IP address >;

deny all;

}

 

 

CP.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.