Hi Team,
We have a heavy loaded NSX environment with more than 70 NSX Edges ( NSX LB and NSX ESG) , 35 DLR's .. 3000 DFW rules.. Current configuration of NSX Manger is 16vCPU and 32 GB ram .
There are in-house tools which are making API calls to NSX Manager and they are complaining that disabling/Enabling Pool Members on NSX LB is taking much more than time than it used to be .
Please help me on these . Can't find answers in Google or NSX API guide.
1. How can i find no. of API Calls to NSX Manager in one hour /day /week etc..
2. where are NSX API Logs in NSX Manager .
3. How can i find which API call had how much response time in the PAST..
Thanks
Tarun Gupta
Hi Tharun,
You can check below logs on NSX Manager:
/usr/appmgmt-webserver/logs/localhost_access_log.*
/usr/nsx-tcserver/logs/
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Hi Tharun,
You can check below logs on NSX Manager:
/usr/appmgmt-webserver/logs/localhost_access_log.*
/usr/nsx-tcserver/logs/
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Thanks a lot RShankar22,
I was able to find out some of the API calls being made to NSX Manager ,however if does not show who made those API calls..
ALl i see is like this
[root@annwprenx001 /usr/appmgmt-tcserver/logs]# more localhost_access_log.2019-09-15.txt
10.245.232.196 - - [15/Sep/2019:23:45:43 +0100] "GET /api/2.0/vdn/scopes HTTP/1.1" 200 4671 61
10.245.232.196 - - [15/Sep/2019:23:45:47 +0100] "GET /api/1.0/appliance-management/summary/components HTTP/1.1" 200 2187 4602
10.245.232.196 - - [15/Sep/2019:23:45:47 +0100] "GET /api/2.0/universalsync/configuration/role HTTP/1.1" 200 109 22
10.245.232.196 - - [15/Sep/2019:23:45:48 +0100] "GET /api/2.0/services/vsmconfig HTTP/1.1" 200 271 18
10.245.232.196 - - [15/Sep/2019:23:45:48 +0100] "GET /api/2.0/universalsync/configuration/nsxmanagers HTTP/1.1" 200 68 46
10.245.232.196 - - [15/Sep/2019:23:45:48 +0100] "GET /api/1.0/appliance-management/summary/system HTTP/1.1" 200 1105 782
10.245.232.196 - - [15/Sep/2019:23:45:48 +0100] "GET /api/2.0/services/vcconfig/status HTTP/1.1" 200 170 21
10.245.232.196 - - [15/Sep/2019:23:45:49 +0100] "GET /api/1.0/appliance-management/backuprestore/backups/ HTTP/1.1" 200 22612 276
10.245.232.196 - - [15/Sep/2019:23:45:50 +0100] "GET /api/1.0/appliance-management/backuprestore/backup/taskdetails HTTP/1.1" 200 171 10
10.245.232.196 - - [15/Sep/2019:23:45:50 +0100] "GET /api/1.0/appliance-management/system/syslogserver HTTP/1.1" 200 162 29
10.245.232.196 - - [15/Sep/2019:23:45:50 +0100] "GET /api/1.0/appliance-management/system/timesettings HTTP/1.1" 200 297 26
10.245.232.196 - - [15/Sep/2019:23:45:50 +0100] "GET /api/1.0/appliance-management/backuprestore/backupsettings HTTP/1.1" 200 563 10
10.245.232.196 - - [15/Sep/2019:23:45:58 +0100] "GET /api/4.0/firewall/globalroot-0/config HTTP/1.1" 200 5100490 7687
10.245.208.154 - - [15/Sep/2019:23:46:00 +0100] "GET /api/4.0/edges/edge-14/loadbalancer/config/pools/pool-23 HTTP/1.1" 200 1008 1196
It only says like " user " made the call.. how can i find who made the API call..
Thanks a lot for your support .