PINGs

Ping is designed to analyze the availability of the host on the network.

Ping Management Requests:

addping - add a ping. Extra options:

  • k - user session ID;
  • id - the identifier of the element; if the identifier is absent, a new element of type 'ping' is created, otherwise the existing one is modified;
  • name - the name of the ping, no more than 63 characters;
  • period - the period of sending the ping to the host, the minimum value is 5;
  • rtt - the time between sending a request and receiving a reply (Round Trip Time), the minimum value is 1;
  • server - name or ip-address of the host, no more than 127 characters;
  • reset - the value "true" for this parameter resets the statistics accumulated by the element.


delping - delete the ping. Extra options are:

  • k -user session ID;
  • id - element ID.


getelement - read the element. Required parameters are:

  • k - user session ID;
  • id - element ID.

The response contains information about the element:

<element id="502001" module="2009" num="1" clas="devirt" type="ping" name="my_ping" state="normal" 
period
="57" rtt="12" server="google.com" ip="94.231.112.241" value="1.309" sent="1" received="1" status="Echo Reply" />