VMware VSHIELD APP 1.0 - API Manual do Utilizador Página 57

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 132
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 56
VMware, Inc. 57
Chapter 5 vShield Edge Management
Example 5-37. Get DHCP statistics
Request:
GET https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/edge/statistics/dhcp
Network Interface Statistics
Youcanretrievetrafficstatus,includingexternalandinternalinterfaces,perinterface,VPNtoremotesubnets,
vShieldEdgetrafficprocessed,anddroppedcountersduetouserconfiguredfirewallrules.
Example 5-38. Get traffic statistics
Request:
GET https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/edge/statistics/interface
Get Service Status
Youcanretrievethestatusofvariousservices,where<svc>couldbe:
dhcpreturnsstatusofDHCPservice,upordowndependingontheEdgeappliance’sDHCPdaemon.
GET https://<vsm-ip>/api/2.0/networks/dvportgroup-63>/edge/dhcp/service
vpnreturnsstatusofVPNservice,upordowndependingontheEdgeappliance’sVPNdaemon.
GET https://<vsm-ip>/api/2.0/networks/dvportgroup-63>/edge/vpn/service
loadbalancerreturnsstatusofloadbalancerservice,dependingontheEdgeappliance’sdaemon.
GET https://<vsm-ip>/api/2.0/networks/dvportgroup-63>/edge/loadbalancer/service
Example 5-39. Get service status
Request:
GET https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/edge/<svc>/service
Debugging and Support
TohelpwithyourowndebuggingandtoprovideinformationforVMwaretechnicalsupport,APIsare
availabletoretrievevShieldlogsandgetstatisticsaboutEdgeservices.
Retrieve Technical Support Log
ThiscallprovidesthetechnicalsupportlogsfromvShieldEdge.Theseareoftenrequiredfordebugging
purposes.Thecallreturnsthelocationwherethecompressedlogfilesaredownloaded.
Example 5-40. Get support logs
Request:
GET https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/edge/techSupportLogs
Thetechnicalsupportlogisplacedinafile,howevertheRESTAPIhasnoprovisionfordownloadingit,and
wgetandcurldonothavepermissiontodownloadit,either .YoucanretrievethelogwithvShieldManager
byclickingSettings&Reports>Configuration>Support>[LogDownload]
Initiate.
Vista de página 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 131 132

Comentários a estes Manuais

Sem comentários