To get a VDB status on the Delphix engine as report

  • 0
  • 1
  • Question
  • Updated 1 week ago
  • Answered
Any way we can get the report to our mails listing the details of Engine Name, VD, Target server and the status UP/Down?
Photo of Anusha Gadiraju

Anusha Gadiraju

  • 152 Points 100 badge 2x thumb

Posted 1 month ago

  • 0
  • 1
Photo of Mouhssine SAIDI

Mouhssine SAIDI

  • 5,846 Points 5k badge 2x thumb

Hi Anusha,

You can relie on delphix API, dxtoolkit or delphixpy and pipe out the output to your email.

Dxoolkit and delphixpy have their own format for the output, you will have more flexible way for the format and content writing your own call API.

Regards,

Mouhssine

Photo of Tim Gorman

Tim Gorman, Delphix Field Services

  • 3,836 Points 3k badge 2x thumb
Official Response
Hi Anusha,

Personally, I would find a UNIX/Linux server with network access to all your Delphix engines, and use the CRON utility as a scheduler to periodically run a shell-script created to run the "dx_get_appliance" command from DxToolkit, then send the output to a list of email addresses using the standard UNIX/Linux "mailx" command.

You can download compiled distributions of DxToolkit for your OS platform (i.e. Windows, Mac, Linux, Solaris, AIX, etc) from HERE, or download the Perl source from the same webpage and run the Perl scripts directly.  Please review the documentation page HERE for information on download and setup.

Once DxToolkit is setup locally in your network, all manner of automation (such as scripting your current request) becomes much easier.

Hope this helps,

-Tim

Photo of Anusha Gadiraju

Anusha Gadiraju

  • 152 Points 100 badge 2x thumb


We don't have the pre-requisites met as per the DxToolKit.

Could you please let me know if the below is correct to get the runtime status



function getruntime
{

  result=$(curl -s -X POST -k https://${engine}/resources/json/delphix/source/
    -b ~/cookies.txt -H "Content-Type: application/json")
    list display=name,runtime.status -- Change

}