4 Replies Latest reply on Oct 2, 2017 8:19 PM by Pkmr

    How to create alerts to check hosts and VMs configuration using vROPs

    Ashish1 Novice

      Using vROPs I am planning to create a dashboard where I want to check hosts and VMs configuration. If the configuration is not matching with the required details mentioned by me then it should generate alert.

       

      Below are 4 examples for which I want to configure alerts:

      1. To check RX descriptor in host
        1. Connect to ESXi host CLI
        2. Execute command ethtool -g <vmnicX>
        3. From the command output verify Current Rx value is equal to 2048
      2. To check queue pairing in host
        1. Connect to ESXi host CLI
        2. Execute command vsish -e get /config/Net/intOpts/NetNetqRxQueueFeatPairEnable
        3. From the command output verify Current value param value is 0
      3. To check VM CPU reservation configuration
        1. Log in to ESXi host using vSphere client and go to "Edit VM Setting" option for VM
        2. Go to "Resource" tab and select CPU
        3. Verify that "Reservation" is full. It MUST  be equal to number of vCPU multiplied by processor speed
      4. To check VM memory shares configuration
        1. Log in to ESXi host using vSphere client and go to "Edit VM Setting" option for VM
        2. Go to "Resource" tab and select Memory
        3. Verify that "Shares" is High

       

      Questions:

      1. How to configure alerts for such VMs and hosts configuration validation?

      2. Can we run a script/command from vROPs which will execute on ESXi server, to check such configuration validation?

      3. Is there any alternative solution for this kind of work?

       

      How can I do this using VMware powerCLI?