code: public function getMonitoring($period, $type)
      {
          return json_decode(self::getClient()->getMonitoring($this->getDomain(), $period, $type));
      }
docs: Get monitoring
  
  @param string $period "lastday" or "lastmonth" or "lastweek" or "lastyear" or "today"
  @param string $type "cpu:max" or "cpu:used" or "mem:max" or "mem:used" or "net:rx" or "net:tx"
  @return object