Veritas Enterprise Vault 12 - Services / Tasks / MSMQ Counter

This Template Monitors the Basic functionality of Veritas Enterprise Vault 12 Systems (EV)

It should work as well on EV 11.0.1 however I have not tested the Powershell script on other Versions than 12.0.0 / 12.0.1 and 12.0.2

This Monitor Uses 10 Components

Prerequisites: You need WMI, Powershell and Performance Counters working (able to monitor)  on your Enterprise Vault server.

Credentials: You can specify any credential that is authorized to monitor Enterprise Vault in the EV role based administration (See the Add-EVRBARoleMember CMDLet in Enterprise Vault management console)

Monitored Components:

Enterprise Vault Services:

The Following Services of EV are monitored on their up/down status, CPU load, IOPS and memory used

- Enterprise Vault Admin Service

- Enterprise Vault Directory Service

- Enterprise Vault Indexing Service

- Enterprise Vault Shopping Service

- Enterprise Vault Storage Service

- Enterprise Vault Task Controller Service

Related Windows Services

The following related services are monitored on their up/down status CPU load, IOPS and memory used

- Microsoft IIS Service

- Microsoft Message Queuing Service

Performance Counters

The total count of all MSMQs is monitored. This monitor should give an example how one can monitor the individual counts of the Enterprise Vault Message Queues (A1 - A7 / R1 R2 / admin ...) The specific thresholds need to be determined by the EV-Admin. However during normal operation the queues are emptied very fast and not many items should stay in the queues for a long period of time.

Powershell Script to get the Task Status

This component returns the status of the Enterprise Vault Tasks. Be aware if you have more than 10 tasks running, only 10 will be displayed -> This is a restriciton of  the Solarwinds SAM Powershell Monitor

If you have any Questions feel free to contact me, I will try to answer as fast as possible.

Cheers,

Holger

  • Hi Dave,

    i guess that’s the missing „test run“.

    I uploaded the SAM-Template after I was fiddling around with it in my Lab-EV.

    it is expecting 8 Task Status Returns (the amount I had back in the days)

    you can Copy the Script Body and let it run in the PowerShell ISE on your EV Server to see if the script itself produces an output.

    Another thing is that you need to have rights in EV to get the task Status, are you using credentials that are authorized in EV? E.g. the EVSA or any User you added to the Power Admin Role in EV?

    cheers,

    Holger

  • Hi Holger,

    I have adjusted the script but I am now getting another error as follows:

    PowerShell script error. Scripting Error: Script does not contain the expected parameters or is improperly formatted. '0', '1', '2', '3', '4', '5', '6', '7' missing.

  • Hi Holger,

    That's great thanks. I will make the changes, test and let you know the results.

    Regards,

    Dave

  • EV not being installed on the default path "C:\Program Files (x86)\Enterprise Vault" is the key here. When you edit the script it should show you in the first few lines where it loads the Modules from:

    Import-Module "C:\Program Files (x86)\Enterprise Vault\Symantec.EnterpriseVault.PowerShell.AdminAPI.dll"

    Import-Module "C:\Program Files (x86)\Enterprise Vault\Symantec.EnterpriseVault.PowerShell.Core.dll"

    Import-Module "C:\Program Files (x86)\Enterprise Vault\Symantec.EnterpriseVault.PowerShell.IMAP.dll"

    Import-Module "C:\Program Files (x86)\Enterprise Vault\Symantec.EnterpriseVault.PowerShell.Monitoring.dll"

    you need to change the path to where your EV Installation is.

    also my knowledge "Import-Module "C:\Program Files (x86)\Enterprise Vault\Symantec.EnterpriseVault.PowerShell.IMAP.dll" can be deleted, as with EV12.3 this module was deprecated.

    Once you have edited the script, you need to "test run" the script once as it will adjust the output values to your amount of EV-Tasks.

    Since the Powershell Monitoring Capabilities of EV have improved a lot over the last releases I need to Update my Monitor here, so you might want to check here in the near future. I am currently consulting a Customer with EV and Solarwinds, so I can have "real life" monitoring results. It is always nicer to get Prod-Experience than the clean test-lab-results.

    Cheers,

    Holger

  • Hi HerrDoktor,

    Many thanks for your reply. We are running EV 12.4

    The default directory is on a different drive.

    Regards,

    Dave