Rubrik : Get basic cluster details with rkFramework.php


Background

A good example of using the rkFramework.php described in the previous article. This is showing how to call some functions to get some basic cluster info.

rkGetinfo.php

I have created this script to have a quick overview of a Rubrik cluster, version, nodes, IPs, SLAs, unmanaged object, cluster runway, last events etc ... very handy to quickly discover a new environment or simply check an existing one.

The script is available on GitHub. It requires two external files : the rkFramework.php (also available on GitHub) and a credentials.php file to point to the right cluster with the right access.

Once in action, you will see similar output :


Feel free to tweak the script as much as you love, so it fits your requirements.

Hope this helps!

Comments

What's hot ?

ShredOS : HDD degaussing with style

Wallbox : Get The Most Of It (with API)

Nutanix : CVM stuck into Phoenix