€cdocutils.nodes
document
q)q}q(U	nametypesq}q(X   infoqNX   list all zonesqNX   setupqNX   perform a tracerouteq	NX   zonesq
NX
   attributesqNuUsubstitution_defsq}qUparse_messagesq]qUcurrent_sourceqNU
decorationqNUautofootnote_startqKUnameidsq}q(hUinfoqhUlist-all-zonesqhUsetupqh	Uperform-a-tracerouteqh
UzonesqhU
attributesquUchildrenq]qcdocutils.nodes
section
q)q}q(U	rawsourceq U Uparentq!hUsourceq"XL   /Users/jamie/projects/php/php-opencloud/doc/services/monitoring/Zones.md.rstq#Utagnameq$Usectionq%U
attributesq&}q'(Udupnamesq(]Uclassesq)]Ubackrefsq*]Uidsq+]q,haUnamesq-]q.h
auUlineq/KUdocumentq0hh]q1(cdocutils.nodes
title
q2)q3}q4(h X   Zonesq5h!hh"h#h$Utitleq6h&}q7(h(]h)]h*]h+]h-]uh/Kh0hh]q8cdocutils.nodes
Text
q9X   Zonesq:…q;}q<(h h5h!h3ubaubh)q=}q>(h U h!hh"h#h$h%h&}q?(h(]h)]h*]h+]q@hah-]qAhauh/Kh0hh]qB(h2)qC}qD(h X   InfoqEh!h=h"h#h$h6h&}qF(h(]h)]h*]h+]h-]uh/Kh0hh]qGh9X   InfoqH…qI}qJ(h hEh!hCubaubcdocutils.nodes
paragraph
qK)qL}qM(h XÛ   A monitoring zone is a location that Rackspace Cloud Monitoring collects
data from. Examples of monitoring zones are "US West", "DFW1" or "ORD1".
It is an abstraction for a general location from which data is
collected.qNh!h=h"h#h$U	paragraphqOh&}qP(h(]h)]h*]h+]h-]uh/Kh0hh]qQh9XÛ   A monitoring zone is a location that Rackspace Cloud Monitoring collects
data from. Examples of monitoring zones are "US West", "DFW1" or "ORD1".
It is an abstraction for a general location from which data is
collected.qR…qS}qT(h hNh!hLubaubhK)qU}qV(h X–  An "endpoint," also known as a "collector," collects data from the
monitoring zone. The endpoint is mapped directly to an individual
machine or a virtual machine. A monitoring zone contains many endpoints,
all of which will be within the IP address range listed in the response.
The opposite is not true, however, as there may be unallocated IP
addresses or unrelated machines within that IP address range.qWh!h=h"h#h$hOh&}qX(h(]h)]h*]h+]h-]uh/Kh0hh]qYh9X–  An "endpoint," also known as a "collector," collects data from the
monitoring zone. The endpoint is mapped directly to an individual
machine or a virtual machine. A monitoring zone contains many endpoints,
all of which will be within the IP address range listed in the response.
The opposite is not true, however, as there may be unallocated IP
addresses or unrelated machines within that IP address range.qZ…q[}q\(h hWh!hUubaubhK)q]}q^(h XD   A check references a list of monitoring zones it should be run from.q_h!h=h"h#h$hOh&}q`(h(]h)]h*]h+]h-]uh/Kh0hh]qah9XD   A check references a list of monitoring zones it should be run from.qb…qc}qd(h h_h!h]ubaubeubh)qe}qf(h U h!hh"h#h$h%h&}qg(h(]h)]h*]h+]qhhah-]qihauh/Kh0hh]qj(h2)qk}ql(h X   Â Setupqmh!heh"h#h$h6h&}qn(h(]h)]h*]h+]h-]uh/Kh0hh]qoh9X   Â Setupqp…qq}qr(h hmh!hkubaubcdocutils.nodes
literal_block
qs)qt}qu(h XL   $zoneId = 'mzAAAAA';
$zone = $monitoringService->getMonitoringZone($zoneId);h!heh"h#h$Uliteral_blockqvh&}qw(U	xml:spaceqxUpreserveqyh+]h*]h(]h)]qz(Ucodeq{X   phpq|eh-]uh/Kh0hh]q}cdocutils.nodes
inline
q~)q}q€(h XL   $zoneId = 'mzAAAAA';
$zone = $monitoringService->getMonitoringZone($zoneId);h&}q(h(]h)]q‚Uotherqƒah*]h+]h-]uh!hth]q„h9XL   $zoneId = 'mzAAAAA';
$zone = $monitoringService->getMonitoringZone($zoneId);q……q†}q‡(h U h!hubah$Uinlineqˆubaubeubh)q‰}qŠ(h U h!hh"h#h$h%h&}q‹(h(]h)]h*]h+]qŒhah-]qhauh/Kh0hh]qŽ(h2)q}q(h X
   Attributesq‘h!h‰h"h#h$h6h&}q’(h(]h)]h*]h+]h-]uh/Kh0hh]q“h9X
   Attributesq”…q•}q–(h h‘h!hubaubcdocutils.nodes
table
q—)q˜}q™(h U h!h‰h"h#h$Utableqšh&}q›(h(]h)]h*]h+]h-]uh/Nh0hh]qœcdocutils.nodes
tgroup
q)qž}qŸ(h U h&}q (h+]h*]h(]h)]h-]UcolsKuh!h˜h]q¡(cdocutils.nodes
colspec
q¢)q£}q¤(h U h&}q¥(h+]h*]h(]h)]h-]UcolwidthKuh!hžh]h$Ucolspecq¦ubh¢)q§}q¨(h U h&}q©(h+]h*]h(]h)]h-]UcolwidthKuh!hžh]h$h¦ubh¢)qª}q«(h U h&}q¬(h+]h*]h(]h)]h-]UcolwidthK#uh!hžh]h$h¦ubh¢)q­}q®(h U h&}q¯(h+]h*]h(]h)]h-]UcolwidthKuh!hžh]h$h¦ubcdocutils.nodes
thead
q°)q±}q²(h U h&}q³(h(]h)]h*]h+]h-]uh!hžh]q´cdocutils.nodes
row
qµ)q¶}q·(h U h&}q¸(h(]h)]h*]h+]h-]uh!h±h]q¹(cdocutils.nodes
entry
qº)q»}q¼(h U h&}q½(h(]h)]h*]h+]h-]uh!h¶h]q¾hK)q¿}qÀ(h X   NameqÁh!h»h"h#h$hOh&}qÂ(h(]h)]h*]h+]h-]uh/K!h]qÃh9X   NameqÄ…qÅ}qÆ(h hÁh!h¿ubaubah$UentryqÇubhº)qÈ}qÉ(h U h&}qÊ(h(]h)]h*]h+]h-]uh!h¶h]qËhK)qÌ}qÍ(h X   DescriptionqÎh!hÈh"h#h$hOh&}qÏ(h(]h)]h*]h+]h-]uh/K!h]qÐh9X   DescriptionqÑ…qÒ}qÓ(h hÎh!hÌubaubah$hÇubhº)qÔ}qÕ(h U h&}qÖ(h(]h)]h*]h+]h-]uh!h¶h]q×hK)qØ}qÙ(h X	   Data typeqÚh!hÔh"h#h$hOh&}qÛ(h(]h)]h*]h+]h-]uh/K!h]qÜh9X	   Data typeqÝ…qÞ}qß(h hÚh!hØubaubah$hÇubhº)qà}qá(h U h&}qâ(h(]h)]h*]h+]h-]uh!h¶h]qãhK)qä}qå(h X   Methodqæh!hàh"h#h$hOh&}qç(h(]h)]h*]h+]h-]uh/K!h]qèh9X   Methodqé…qê}që(h hæh!häubaubah$hÇubeh$Urowqìubah$Utheadqíubcdocutils.nodes
tbody
qî)qï}qð(h U h&}qñ(h(]h)]h*]h+]h-]uh!hžh]qò(hµ)qó}qô(h U h&}qõ(h(]h)]h*]h+]h-]uh!hïh]qö(hº)q÷}qø(h U h&}qù(h(]h)]h*]h+]h-]uh!hóh]qúhK)qû}qü(h X   country\_codeh!h÷h"h#h$hOh&}qý(h(]h)]h*]h+]h-]uh/K#h]qþh9X   country_codeqÿ…r   }r  (h X   country\_codeh!hûubaubah$hÇubhº)r  }r  (h U h&}r  (h(]h)]h*]h+]h-]uh!hóh]r  hK)r  }r  (h X   Country Coder  h!j  h"h#h$hOh&}r	  (h(]h)]h*]h+]h-]uh/K#h]r
  h9X   Country Coder  …r  }r  (h j  h!j  ubaubah$hÇubhº)r  }r  (h U h&}r  (h(]h)]h*]h+]h-]uh!hóh]r  hK)r  }r  (h X   String longer than 2 charactersr  h!j  h"h#h$hOh&}r  (h(]h)]h*]h+]h-]uh/K#h]r  h9X   String longer than 2 charactersr  …r  }r  (h j  h!j  ubaubah$hÇubhº)r  }r  (h U h&}r  (h(]h)]h*]h+]h-]uh!hóh]r  hK)r  }r  (h X   ``getCountryCode()``r   h!j  h"h#h$hOh&}r!  (h(]h)]h*]h+]h-]uh/K#h]r"  cdocutils.nodes
literal
r#  )r$  }r%  (h j   h&}r&  (h(]h)]h*]h+]h-]uh!j  h]r'  h9X   getCountryCode()r(  …r)  }r*  (h U h!j$  ubah$Uliteralr+  ubaubah$hÇubeh$hìubhµ)r,  }r-  (h U h&}r.  (h(]h)]h*]h+]h-]uh!hïh]r/  (hº)r0  }r1  (h U h&}r2  (h(]h)]h*]h+]h-]uh!j,  h]r3  hK)r4  }r5  (h X   labelr6  h!j0  h"h#h$hOh&}r7  (h(]h)]h*]h+]h-]uh/K%h]r8  h9X   labelr9  …r:  }r;  (h j6  h!j4  ubaubah$hÇubhº)r<  }r=  (h U h&}r>  (h(]h)]h*]h+]h-]uh!j,  h]r?  hK)r@  }rA  (h X   LabelrB  h!j<  h"h#h$hOh&}rC  (h(]h)]h*]h+]h-]uh/K%h]rD  h9X   LabelrE  …rF  }rG  (h jB  h!j@  ubaubah$hÇubhº)rH  }rI  (h U h&}rJ  (h(]h)]h*]h+]h-]uh!j,  h]rK  hK)rL  }rM  (h X   StringrN  h!jH  h"h#h$hOh&}rO  (h(]h)]h*]h+]h-]uh/K%h]rP  h9X   StringrQ  …rR  }rS  (h jN  h!jL  ubaubah$hÇubhº)rT  }rU  (h U h&}rV  (h(]h)]h*]h+]h-]uh!j,  h]rW  hK)rX  }rY  (h X   ``getLabel()``rZ  h!jT  h"h#h$hOh&}r[  (h(]h)]h*]h+]h-]uh/K%h]r\  j#  )r]  }r^  (h jZ  h&}r_  (h(]h)]h*]h+]h-]uh!jX  h]r`  h9X
   getLabel()ra  …rb  }rc  (h U h!j]  ubah$j+  ubaubah$hÇubeh$hìubhµ)rd  }re  (h U h&}rf  (h(]h)]h*]h+]h-]uh!hïh]rg  (hº)rh  }ri  (h U h&}rj  (h(]h)]h*]h+]h-]uh!jd  h]rk  hK)rl  }rm  (h X   source\_ipsh!jh  h"h#h$hOh&}rn  (h(]h)]h*]h+]h-]uh/K'h]ro  h9X
   source_ipsrp  …rq  }rr  (h X   source\_ipsh!jl  ubaubah$hÇubhº)rs  }rt  (h U h&}ru  (h(]h)]h*]h+]h-]uh!jd  h]rv  hK)rw  }rx  (h X   Source IP listry  h!js  h"h#h$hOh&}rz  (h(]h)]h*]h+]h-]uh/K'h]r{  h9X   Source IP listr|  …r}  }r~  (h jy  h!jw  ubaubah$hÇubhº)r  }r€  (h U h&}r  (h(]h)]h*]h+]h-]uh!jd  h]r‚  hK)rƒ  }r„  (h X   Arrayr…  h!j  h"h#h$hOh&}r†  (h(]h)]h*]h+]h-]uh/K'h]r‡  h9X   Arrayrˆ  …r‰  }rŠ  (h j…  h!jƒ  ubaubah$hÇubhº)r‹  }rŒ  (h U h&}r  (h(]h)]h*]h+]h-]uh!jd  h]rŽ  hK)r  }r  (h X   ``getSourceIps()``r‘  h!j‹  h"h#h$hOh&}r’  (h(]h)]h*]h+]h-]uh/K'h]r“  j#  )r”  }r•  (h j‘  h&}r–  (h(]h)]h*]h+]h-]uh!j  h]r—  h9X   getSourceIps()r˜  …r™  }rš  (h U h!j”  ubah$j+  ubaubah$hÇubeh$hìubeh$Utbodyr›  ubeh$Utgrouprœ  ubaubeubh)r  }rž  (h U h!hh"h#h$h%h&}rŸ  (h(]h)]h*]h+]r   hah-]r¡  hauh/K+h0hh]r¢  (h2)r£  }r¤  (h X   Â List all zonesr¥  h!j  h"h#h$h6h&}r¦  (h(]h)]h*]h+]h-]uh/K+h0hh]r§  h9X   Â List all zonesr¨  …r©  }rª  (h j¥  h!j£  ubaubhs)r«  }r¬  (h X(   $zones = $service->getMonitoringZones();h!j  h"h#h$hvh&}r­  (hxhyh+]h*]h(]h)]r®  (h{X   phpr¯  eh-]uh/K0h0hh]r°  h~)r±  }r²  (h X(   $zones = $service->getMonitoringZones();h&}r³  (h(]h)]r´  Uotherrµ  ah*]h+]h-]uh!j«  h]r¶  h9X(   $zones = $service->getMonitoringZones();r·  …r¸  }r¹  (h U h!j±  ubah$hˆubaubhK)rº  }r»  (h Xg   Please consult the `iterator doc <docs/userguide/Iterators.md>`__ for
more information about iterators.h!j  h"h#h$hOh&}r¼  (h(]h)]h*]h+]h-]uh/K1h0hh]r½  (h9X   Please consult the r¾  …r¿  }rÀ  (h X   Please consult the h!jº  ubcdocutils.nodes
reference
rÁ  )rÂ  }rÃ  (h X.   `iterator doc <docs/userguide/Iterators.md>`__h&}rÄ  (UnameX   iterator docUrefurirÅ  X   docs/userguide/Iterators.mdh+]h*]h(]h)]h-]uh!jº  h]rÆ  h9X   iterator docrÇ  …rÈ  }rÉ  (h U h!jÂ  ubah$U	referencerÊ  ubh9X&    for
more information about iterators.rË  …rÌ  }rÍ  (h X&    for
more information about iterators.h!jº  ubeubeubh)rÎ  }rÏ  (h U h!hh"h#h$h%h&}rÐ  (h(]h)]h*]h+]rÑ  hah-]rÒ  h	auh/K5h0hh]rÓ  (h2)rÔ  }rÕ  (h X   Perform a tracerouterÖ  h!jÎ  h"h#h$h6h&}r×  (h(]h)]h*]h+]h-]uh/K5h0hh]rØ  h9X   Perform a tracerouterÙ  …rÚ  }rÛ  (h jÖ  h!jÔ  ubaubhs)rÜ  }rÝ  (h XÓ   $traceroute = $zone->traceroute(array(
    'target' => 'http://test.com',
    'target_resolver' => 'IPv4'
));

// How many hops?
echo count($traceroute);

// What was the first hop's IP?
echo $traceroute[0]->ip;h!jÎ  h"h#h$hvh&}rÞ  (hxhyh+]h*]h(]h)]rß  (h{X   phprà  eh-]uh/KCh0hh]rá  h~)râ  }rã  (h XÓ   $traceroute = $zone->traceroute(array(
    'target' => 'http://test.com',
    'target_resolver' => 'IPv4'
));

// How many hops?
echo count($traceroute);

// What was the first hop's IP?
echo $traceroute[0]->ip;h&}rä  (h(]h)]rå  Uotherræ  ah*]h+]h-]uh!jÜ  h]rç  h9XÓ   $traceroute = $zone->traceroute(array(
    'target' => 'http://test.com',
    'target_resolver' => 'IPv4'
));

// How many hops?
echo count($traceroute);

// What was the first hop's IP?
echo $traceroute[0]->ip;rè  …ré  }rê  (h U h!jâ  ubah$hˆubaubeubeubah U Utransformerrë  NUfootnote_refsrì  }rí  Urefnamesrî  }rï  Usymbol_footnotesrð  ]rñ  Uautofootnote_refsrò  ]ró  Usymbol_footnote_refsrô  ]rõ  U	citationsrö  ]r÷  h0hUcurrent_linerø  NUtransform_messagesrù  ]rú  Ureporterrû  NUid_startrü  KUautofootnotesrý  ]rþ  Ucitation_refsrÿ  }r   Uindirect_targetsr  ]r  Usettingsr  (cdocutils.frontend
Values
r  or  }r  (Ufootnote_backlinksr  KUrecord_dependenciesr  NUrfc_base_urlr	  Uhttp://tools.ietf.org/html/r
  U	tracebackr  ˆUpep_referencesr  NUstrip_commentsr  NUtoc_backlinksr  hÇUlanguage_coder  Uenr  U	datestampr  NUreport_levelr  KU_destinationr  NU
halt_levelr  KUstrip_classesr  Nh6NUerror_encoding_error_handlerr  Ubackslashreplacer  Udebugr  NUembed_stylesheetr  ‰Uoutput_encoding_error_handlerr  Ustrictr  Usectnum_xformr  KUdump_transformsr  NUdocinfo_xformr  KUwarning_streamr  NUpep_file_url_templater   Upep-%04dr!  Uexit_status_levelr"  KUconfigr#  NUstrict_visitorr$  NUcloak_email_addressesr%  ˆUtrim_footnote_reference_spacer&  ‰Uenvr'  NUdump_pseudo_xmlr(  NUexpose_internalsr)  NUsectsubtitle_xformr*  ‰Usource_linkr+  NUrfc_referencesr,  NUoutput_encodingr-  Uutf-8r.  U
source_urlr/  NUinput_encodingr0  U	utf-8-sigr1  U_disable_configr2  NU	id_prefixr3  U U	tab_widthr4  KUerror_encodingr5  UUTF-8r6  U_sourcer7  h#Ugettext_compactr8  ˆU	generatorr9  NUdump_internalsr:  NUsmart_quotesr;  ‰Upep_base_urlr<  Uhttp://www.python.org/dev/peps/r=  Usyntax_highlightr>  Ulongr?  Uinput_encoding_error_handlerr@  j  Uauto_id_prefixrA  UidrB  Udoctitle_xformrC  ‰Ustrip_elements_with_classesrD  NU_config_filesrE  ]Ufile_insertion_enabledrF  ˆUraw_enabledrG  KUdump_settingsrH  NubUsymbol_footnote_startrI  K UidsrJ  }rK  (hh=hjÎ  hhehhhh‰hj  uUsubstitution_namesrL  }rM  h$h0h&}rN  (h(]h+]h*]Usourceh#h)]h-]uU	footnotesrO  ]rP  UrefidsrQ  }rR  ub.