VMware NSX

 View Only
Expand all | Collapse all

monitor nsx edge process and service

  • 1.  monitor nsx edge process and service

    Posted Jun 15, 2017 02:47 AM

    Any one know how to monitor nsx edge process and service?



  • 2.  RE: monitor nsx edge process and service

    Broadcom Employee
    Posted Jun 15, 2017 05:06 AM

    Hi,

    NSX Manager Central CLI has the feature to monitor Edge.

    For example, the following commands are useful.

    This CLI can be executed by using REST API.

    ==========

    * Command sets

    NSXM> show edge

      all            Show all Edge Service Gateway Appliances

      EDGE-ID        Show Edge Service Gateway Information

      EDGE-ID.HA-ID  Show Edge Service Gateway Information with appliance

    NSXM> show edge edge-7

      <cr>

      version        Show version

      eventmgr       Show event manager statistics

      log            Show system logs

      ipset          Show ipset information

      nat            Show nat packet counters

      arp            Show arp cache

      firewall       Show firewall packet counters

      flowtable      Show flow table

      process        Edge Process Commands

      system         Edge System Commands

      messagebus     Edge Messagebus Commands

      configuration  Edge Configuration Commands

      interface      Edge Interface Command

      ip             Edge IP Commands

      service        Edge Service Commands

    ---

    * Edge Summary

    NSXM> show edge edge-7 (example)

    Id                       :edge-7

    Type                     :gatewayServices

    1)

    Name                     :ESG-FW-Test-0

    Size                     :compact

    Host                     :esxi-03.vapp.local

    Deploy Status            :true

    -----Services Configuration Status-----

    L2VPN                    :false

    Firewall                 :true

    DNS                      :true

    SSLVPN                   :true

    Routing                  :true

    HA                       :false

    Syslog                   :true

    Load Balancer            :true

    GSLB                     :false

    IPSEC                    :false

    DHCP                     :false

    NAT                      :true

    Bridges                  :false

    ---

    * Edge process list (example)

    NSXM> show edge edge-7 process list

    haIndex:              0

    %CPU %MEM    VSZ   RSZ STAT  STARTED     TIME COMMAND

    0.0  0.1   4244   728 Ss     Apr 28 00:01:08 init [3]

    0.0  0.0      0     0 S      Apr 28 00:00:00 [kthreadd]

    0.0  0.0      0     0 S      Apr 28 00:19:59 [ksoftirqd/0]

    0.0  0.0      0     0 S<     Apr 28 00:00:00 [kworker/0:0H]

    0.0  0.0      0     0 S      Apr 28 00:15:41 [rcu_sched]

    ...

    ==========

    Regards,

    Mizo.