VMware VSHIELD MANAGER 4.1.0 UPDATE 1 - API Manuel d'utilisateur Page 48

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 90
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 47
vShield API Programming Guide
48 VMware, Inc.
Managing the Connection to a Syslog Server
YoucanconnectavShieldEdgetoasyslogserverforvShieldEdgelogmanagement.
Forthetrafficstatisticsschema,see“SyslogSchema”onpage 85.
Post a Syslog Server Configuration
Example 5-62. Posting a Syslog Server Configuration
Request:
POST <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/syslog/config
<VShieldEdgeConfig>
<SyslogServerConfig>
<ipAddress>A.B.C.D</ipAddress>
.....
.....
</SyslogServerConfig>
</VShieldEdgeConfig>
Rules:
Youcanadduptotwosyslogservers.
Example:
POST /api/1.0/network/network-244/syslog/config
Content-Type: application/xml
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Host: localhost:9998
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Content-Length: 173
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?><VShieldEdgeConfig><SyslogServerConfig><ipAddress>10.112.196.123
</ipAddress></SyslogServerConfig></VShieldEdgeConfig>
Get the Current Syslog Server Configuration
Example 5-63. Getting the Running Syslog Server Configuration
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/syslog/config
Get Timestamps of Last 10 Syslog Server Configurations
Example 5-64. Getting Last 10 Syslog Server Configurations by Timestamp
Request:
GET <vshield_manager-uri>/api/1.0/network/<internal-portgroup-vc-moref-id>/syslog/snapshots
Vue de la page 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 89 90

Commentaires sur ces manuels

Pas de commentaire