4 Replies Latest reply on May 6, 2020 12:37 AM by KabirAli82

    How can monitor EMC via API with vROPS without any plugin or pak

    baber Expert

      Hi

       

      I was read this document about use API to monitor unity without install any plugin or pka file :

       

      https://vexpose.blog/2020/02/25/rest-api-and-dellemc-storage-part-3-unity/

       

      As i understand it used from a toll with name PostmanCanary

      I get this url  :    https://172.2.3.3/api/types/pool/instances

       

      and click on get finally show follow :

       

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

       









      <html xmlns="http://www.w3.org/1999/xhtml" lang="en">


      <head>

          <title>Unisphere</title>

          <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


          <link type="text/css" rel="stylesheet" href="/cas/css/emc_cas.css;jsessionid=E5263133AEACC33D01436397CF3960F4" />

          <script type="text/javascript" src="js/common_rosters.js"></script>

          <link rel="icon" href="/cas/favicon.ico" type="image/x-icon" />

          <style>

              #bg img {

                  position: fixed;

                  top: 0;

                  left: 0;

                  width: 100%;

                  height: 100%;

                  z-index: -1;

              }

          </style>

      </head>


      <body id="cas" onload="init();">






          <div align="center">


              <form id="fm1" class="fm-v clearfix" onSubmit="return disablePage()"

                  action="/cas/login;jsessionid=E5263133AEACC33D01436397CF3960F4?service=https%3a%2f%2f172.2.3.3%2fapi%2ftypes%2fpool%2finstances"

                  method="post">


                  <div class="LoginPage">

                      <div class="LoginMaskLayer" id="loginMask">



                          <div class="LoginProductName">Unisphere</div>


                          <div class="LoginFieldBoxArea">

                              <div class="row">







                                  <input id="username" name="username" class="inputField required" title="Unisphere user name" tabindex="1" placeholder="User Name" accesskey="u" type="text" value="" size="25" autocomplete="off"/>


                  </div>

                                  <div class="row">





                                      <input id="password" name="password" class="inputField required" title="Password associated with the user account" tabindex="2" placeholder="Password" type="password" value="" size="25" autocomplete="off"/>

                  </div>

                                  </div>


                                  <div class="ButtonRow">

                                      <div class="ButtonRowHack" id="buttonDivContainer">



                                          <input class="BtnLoginStyle" id="submit" name="submit" accesskey="l" value="Login" tabindex="4" type="submit" title="Log on to Unisphere">

                  </div>

                                      </div>


                                      <div class="LoginVerNum">Version 4.5.1</div>


                                      <div class="LoginCopyright">&copy; 2019 Dell Inc. or its subsidiaries. All Rights

                                          Reserved.</div>


                                      <div class="DellEMCLogo"></div>


                                      <div>

                                          <input type="hidden" name="lt" value="LT-3240988-O3dJ7SDACBD7TpWtDZim6zgy1EydRc-Unisphere" />

                                          <input type="hidden" name="execution" value="e1s1" />

                                          <input type="hidden" name="_eventId" value="submit" />

              </div>

                                      </div>

                                  </div>

              </form>

          </div>

          <script>

              function disablePage() {

          window.document.getElementById("buttonDivContainer").className += " spinner";

          window.document.getElementById("loginMask").style.opacity = .3;

          window.document.getElementById("submit").disabled = true;

          return true;

      }


          </script>




      </body>


      </html>

       

       

      How can use this for monitor unity with API ?