DX NetOps

  • 1.  VC AIM - VM Guest disk monitoring

    Posted Apr 28, 2017 12:09 PM
      |   view attached

    Hello

     

    I have Spectrum 10.2  with sysedge VC AIM to monitor VMware virtual Environment, and I looking for a way to change the threshold on "VM Guest Disk" monitoring table because the "Edit" buttons is not present (look at the attached screenshot)

    Does someone has a suggestion ?

     

     

     

    Thanks

     

    Antonello



  • 2.  Re: VC AIM - VM Guest disk monitoring

    Broadcom Employee
    Posted Apr 28, 2017 08:58 PM

    Hi Antonello,

     

    Change the vmvcAimConfigMonVMGuestDiskMonitor (.1.3.6.1.4.1.546.16.52.2.13.5.2.1.8) for each Virtual Machine to disable disk monitoring. Or change the Threshold values.

     

    a) Locate the following files under the C:\Program Files\CA\SystemEDGE\plugins\cavmvcaim\ directory:
    - cavmvcaim.server_esx001.acme.com.xml
    - cavmvcaim.server_esx002.acme.com.xml

    b) Edit the cavmvcaim.server_esx001.acme.com.xml (for example)

    c) Search for "<Monitor>2</Monitor>"

    You will find this entry for each Virtual Machine managed by the vCenter application:

    <table-row>
    <UID>69</UID>
    <ID>host-1333</ID>
    <Monitor>2</Monitor>
    <AlertCPUUsageWarnThresh>90</AlertCPUUsageWarnThresh>
    <AlertCPUUsageCritThresh>95</AlertCPUUsageCritThresh>
    <CPUAlert>3</CPUAlert>
    .
    .
    .
    </table-row>
    <table-row>
    <UID>100</UID>
    <ID>host-1758</ID>
    <Monitor>2</Monitor>
    <AlertCPUUsageWarnThresh>90</AlertCPUUsageWarnThresh>
    <AlertCPUUsageCritThresh>95</AlertCPUUsageCritThresh>
    <CPUAlert>3</CPUAlert>
    .
    .
    .
    </table-row>

    d1) To disable disk monitoring, change the value from 2 to 1 of the Monitor parameter for each Virtual Machine:

    <table-row>
    <UID>69</UID>
    <ID>host-1333</ID>
    <Monitor>1</Monitor>
    <AlertCPUUsageWarnThresh>90</AlertCPUUsageWarnThresh>
    <AlertCPUUsageCritThresh>95</AlertCPUUsageCritThresh>
    <CPUAlert>3</CPUAlert>
    .
    .
    .
    </table-row>
    <table-row>
    <UID>100</UID>
    <ID>host-1758</ID>
    <Monitor>1</Monitor>
    <AlertCPUUsageWarnThresh>90</AlertCPUUsageWarnThresh>
    <AlertCPUUsageCritThresh>95</AlertCPUUsageCritThresh>
    <CPUAlert>3</CPUAlert>
    .
    .
    .
    </table-row>


    d2) To change the threshold parameter, change the value of AlertCPUUsageWarnThresh and AlertCPUUsageCritThresh.

    <table-row>
    <UID>69</UID>
    <ID>host-1333</ID>
    <Monitor>2</Monitor>
    <AlertCPUUsageWarnThresh>70</AlertCPUUsageWarnThresh>
    <AlertCPUUsageCritThresh>80</AlertCPUUsageCritThresh>
    <CPUAlert>3</CPUAlert>
    .
    .
    .
    </table-row>
    <table-row>
    <UID>100</UID>
    <ID>host-1758</ID>
    <Monitor>2</Monitor>
    <AlertCPUUsageWarnThresh>70</AlertCPUUsageWarnThresh>
    <AlertCPUUsageCritThresh>80</AlertCPUUsageCritThresh>
    <CPUAlert>3</CPUAlert>
    .
    .
    .
    </table-row>


    e) Save the file.

    f) Stop/Start the SystemEDGE agent service.

     

    Thanks,

    Silvio



  • 3.  Re: VC AIM - VM Guest disk monitoring

    Posted May 05, 2017 06:00 PM

    Hi Silvio

     

    For testing I changed the attribute in this way:

     

     

    So now I have some disks that have disk usage over the thresholds but still I'm not receive any event or alarm about disk threshold exceeded

     

     

     

     

     

    regards

    Antonello



  • 4.  Re: VC AIM - VM Guest disk monitoring

    Broadcom Employee
    Posted May 06, 2017 10:35 AM

    Hi Antonello,

     

    Was the configuration file changed?

    Did the SpectroSERVER receive the trap from the SystemEDGE + vCenter AIM machine?



  • 5.  Re: VC AIM - VM Guest disk monitoring

    Posted May 09, 2017 06:57 AM

    Hi Silvio

     

    the Spectroserver is receiving the traps from SystemEDGE + vCenter AIM, for example this is one event received from sysedge+vc AIM regarding "vmvcAimStatVMGuestDiskAddedTrap"

     

     

     

     

    This is an extract of the configuration file

     

    <table-row>
          <UID>9116</UID>
          <VMID>vm-586</VMID>
          <DiskPath>/var/db</DiskPath>
          <DiskCapacity>42</DiskCapacity>
          <FreeSpace>41</FreeSpace>
          <Monitor>2</Monitor>
          <Alert>3</Alert>
          <DiskUsageWarnThresh>10</DiskUsageWarnThresh>
          <DiskUsageCritThresh>20</DiskUsageCritThresh>
        </table-row>

     

    regards

    Antonello



  • 6.  Re: VC AIM - VM Guest disk monitoring

    Posted Feb 27, 2019 10:08 AM

    Hi, Antonello

     

    There is a same issue in my environment , Spectrum 10.2.2 and SystemEdge 5.9, Now I can receive the other alarms,for example cpu usage、mem usage alarms. But I can't receive any alarm about vm guest disk threshold exceeded.

    Have you solved this problem? Can you share your solution?

     

    Thanks a lot 

    Chunming

     

     

    •  



  • 7.  Re: VC AIM - VM Guest disk monitoring

    Posted Nov 30, 2017 04:54 PM
      |   view attached

    I'm so happy I found this thread.  I'm looking for some similar information.  Did you ever make this work they way you wanted?

     

    I have a question about one of your responses for configuring the thresholds.  Where did you find the interface pictured below?

     

    Thanks

    Steve Moore



  • 8.  Re: VC AIM - VM Guest disk monitoring

    Posted Jul 20, 2018 06:56 AM

    Hi Steve,

     

    you can find the attributes by searching for the VCAIM application model. Then open the attribute editor and add a user defined attribute.

    Within the attribute selector window search for the attributes you need.

     

    Regards,

    Rene