VMware VSHIELD APP 1.0 - API Manuel d'utilisateur Page 57

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 132
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 131 132

Commentaires sur ces manuels

Pas de commentaire